diff options
author | Trent Nelson <trent.nelson@snakebite.org> | 2008-03-19 06:45:48 (GMT) |
---|---|---|
committer | Trent Nelson <trent.nelson@snakebite.org> | 2008-03-19 06:45:48 (GMT) |
commit | 39e307e224bae1e1bb0e236aba5e76515d220eec (patch) | |
tree | ff516404a0ed4fbc01f91b96201aa18fb5eafcf8 /PC/py.ico | |
parent | 8a5f8ca33b56db9af973d1f34a9b3df5271b56c0 (diff) | |
download | cpython-39e307e224bae1e1bb0e236aba5e76515d220eec.zip cpython-39e307e224bae1e1bb0e236aba5e76515d220eec.tar.gz cpython-39e307e224bae1e1bb0e236aba5e76515d220eec.tar.bz2 |
Issue2297: Fix a stack overflow in Windows caused by -v and -vv. 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.
Kudos to Douglas Greiman for reporting the issue and providing a patch and test case.
Diffstat (limited to 'PC/py.ico')
0 files changed, 0 insertions, 0 deletions