Terry J. Reedy added the comment:
No. Turning it on, I discovered why off is default. When it on, it sometimes
does surprising things on IDLE. For instance, print('x') is (usually) a
builtin and can not be stepped into. However, it calls
sys.stdout.write('x'+'\n'). Under Idle, user process sys.stdout is
PyShell.Pseudofile, so when source is checked, 'step' on a line with print
opens the file and highlights lines in the write method.
Step should ask before opening a file, and/or a 'smart step' is needed.
----------
resolution: -> not a bug
stage: test needed -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25254>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com