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
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='https://github.com/serhiy-storchaka'closed_at=<Date2015-07-15.19:13:13.640>created_at=<Date2015-07-14.05:10:51.215>labels= ['type-bug', 'library']
title='Regression in timeit with multyline setup'updated_at=<Date2015-07-15.19:13:13.639>user='https://github.com/serhiy-storchaka'
$ ./python -m timeit -s "a = 1" -s "b = 2"
Traceback (most recent call last):
File "/home/serhiy/py/cpython-3.5/Lib/runpy.py", line 170, in _run_module_as_main"__main__", mod_spec)
File "/home/serhiy/py/cpython-3.5/Lib/runpy.py", line 85, in _run_codeexec(code, run_globals)
File "/home/serhiy/py/cpython-3.5/Lib/timeit.py", line 338, in <module>
sys.exit(main())
File "/home/serhiy/py/cpython-3.5/Lib/timeit.py", line 296, in main
t = Timer(stmt, setup, timer)
File "/home/serhiy/py/cpython-3.5/Lib/timeit.py", line 122, in __init__compile(setup +'\n'+ stmt, dummy_src_name, "exec")
File "<timeit-src>", line 2
b =2^IndentationError: unexpected indent
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: