You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
timeit accepts -c/--clock and -t/--time without any functionality #90085
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2021-11-29.14:15:45.584>labels= ['library', '3.10', '3.11']
title='timeit accepts -c/--clock and -t/--time without any functionality'updated_at=<Date2021-11-29.14:15:45.584>user='https://github.com/malemburg'
but the options -c and -t are not used in the subsequent code.
This can lead to situations where if you mistype e.g. -s as -c, you get completely wrong results (see https://bugs.python.org/issue45902 for an example).
Activity
malemburg commentedon Nov 29, 2021
From the code:
but the options -c and -t are not used in the subsequent code.
This can lead to situations where if you mistype e.g. -s as -c, you get completely wrong results (see https://bugs.python.org/issue45902 for an example).
pythongh-90085: Remove vestigial -t and -c timeit options
gh-90085: Remove vestigial -t and -c timeit options (#94941)
JelleZijlstra commentedon Oct 7, 2022
Thanks for the fix @hauntsaninja!
Merge branch 'main' into typewatch
Merge branch 'main' into urllibnonet
pythongh-90085: Remove vestigial -t and -c timeit options (python#94941)