Message101175
| Author |
cben |
| Recipients |
cben, gpolo, kbk, mark |
| Date |
2010年03月16日.17:21:47 |
| SpamBayes Score |
6.4360494e-05 |
| Marked as misclassified |
No |
| Message-id |
<1268760109.72.0.901081011145.issue5594@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Editing a block of code from inside the config dialog (and storing it in the config file?) seems a bad idea because you lose all the power of the normal IDLE editor.
Instead, you should edit the startup code in the editor, save it to a file and point the IDLESTARTUP or PYTHONSTARTUP environment variable to it (http://docs.python.org/library/idle.html#startup).
[Unfortunately, these envvars currently don't work after restart; http://bugs.python.org/issue5233 has patches to fix that.]
What does make sense is having a way to set the startup file from the config dialog, instead of environment variables. I suspect nobody cares enough to implement this if you don't. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年03月16日 17:21:49 | cben | set | recipients:
+ cben, kbk, mark, gpolo |
| 2010年03月16日 17:21:49 | cben | set | messageid: <1268760109.72.0.901081011145.issue5594@psf.upfronthosting.co.za> |
| 2010年03月16日 17:21:48 | cben | link | issue5594 messages |
| 2010年03月16日 17:21:47 | cben | create |
|