SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 48 Python

PyErr_ProgramText(): Grrrrrr.

In a Windows debug build, trying to open a file using
an empty string as the name causes assertion death
inside MS's C runtime code.  We probably need to worm
around that in many places.  I'm worming around it here
to stop the new test_with.py from assert-dying in the
Windows debug build (it calls compile() with an empty
string for "the file name", which indirectly leads to
C-level code in Python trying to fopen("", "r")).
T
Tim Peters committed
a7444f47b21ac75cd6e4bb06b615b39cd7876fa2
Parent: 0023a2f