• Trent Nelson's avatar
    Issue2297: Fix a stack overflow in Windows caused by -v and -vv. When python is… · 39e307e2
    Trent Nelson yazdı
    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.
    39e307e2
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgsvnexternals Loading commit data...
.hgtags Loading commit data...
INTBENCH Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
RELNOTES Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
runtests.sh Loading commit data...
setup.py Loading commit data...