Message65661
| Author | amaury.forgeotdarc |
|---|---|
| Recipients | Leo, amaury.forgeotdarc |
| Date | 2008-04-21.09:57:32 |
| SpamBayes Score | 0.0069802613 |
| Marked as misclassified | No |
| Message-id | <1208771853.8.0.46466471043.issue2665@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I reproduced the problem.
- "python.exe idle.py" works (with many warnings)
- "pythonw.exe idle.py" fails
pythonw.exe is a Windows (i.e. not a console) application, so sys.stderr
points to an invalid file descriptor; printing lot of warnings raises an
exception when the file tries to flush()...
As an immediate workaround, you may delete everything in the directory named
c:/Documents and Settings/%USERNAME%/.idlerc
or if you feel it, add the missing entries in the file config-highlight.cfg.
I'll try to correct this problem for python2.5: replace
sys.stderr.write(warning)
with
try:
sys.stderr.write(warning)
except IOError:
pass |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-04-21 09:57:34 | amaury.forgeotdarc | set | spambayes_score: 0.00698026 -> 0.0069802613 recipients: + amaury.forgeotdarc, Leo |
| 2008-04-21 09:57:33 | amaury.forgeotdarc | set | spambayes_score: 0.00698026 -> 0.00698026 messageid: <1208771853.8.0.46466471043.issue2665@psf.upfronthosting.co.za> |
| 2008-04-21 09:57:33 | amaury.forgeotdarc | link | issue2665 messages |
| 2008-04-21 09:57:32 | amaury.forgeotdarc | create | |