This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dgreiman
Recipients dgreiman
Date 2008-03-16.05:24:42
SpamBayes Score 0.070726745
Marked as misclassified No
Message-id <1205645085.91.0.398085675156.issue2297@psf.upfronthosting.co.za>
In-reply-to
Content
When python is invoked with -v or -vv under Windows, the process of
importing the codec for sys.stderr causes a message to be written to
stderr, which in turn causes the codec to be recursively imported. 
Sometimes the stack overflow exception is swallowed, other times it is
not.  The bug depends on the particular locale settings of the Windows
machine.

To reproduce: python_d.exe -v
and look for many repeated imports of encodings.<some codec>

Patch is attached.
History
Date User Action Args
2008-03-16 05:24:46dgreimansetspambayes_score: 0.0707267 -> 0.070726745
recipients: + dgreiman
2008-03-16 05:24:46dgreimansetspambayes_score: 0.0707267 -> 0.0707267
messageid: <1205645085.91.0.398085675156.issue2297@psf.upfronthosting.co.za>
2008-03-16 05:24:44dgreimanlinkissue2297 messages
2008-03-16 05:24:43dgreimancreate