Logo
Explore Help
Sign In
ada/cpython
0
0
Fork 0
You've already forked cpython
mirror of https://github.com/AdaCore/cpython.git synced 2026-02-12 12:57:15 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
d5e2b6f3bcef9fea744bef331ad7278052223f11
cpython/Python/pythonrun.c
Trent Nelson 39e307e224 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.
2008-03-19 06:45:48 +00:00

49 KiB
Raw Blame History

View Raw
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Page: 614ms Template: 53ms
English
English
Licenses API