Message252834
| Author |
terry.reedy |
| Recipients |
markroseman, terry.reedy |
| Date |
2015-10-12.02:01:20 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1444615281.59.0.0663308776188.issue25254@psf.upfronthosting.co.za> |
| In-reply-to |
|
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015-10-12 02:01:21 | terry.reedy | set | recipients:
+ terry.reedy, markroseman |
| 2015-10-12 02:01:21 | terry.reedy | set | messageid: <1444615281.59.0.0663308776188.issue25254@psf.upfronthosting.co.za> |
| 2015-10-12 02:01:21 | terry.reedy | link | issue25254 messages |
| 2015-10-12 02:01:20 | terry.reedy | create | |
|