[Python-Dev] new failing test -- test_compiler
tim.peters at gmail.com
Sat Aug 7 22:56:46 CEST 2004
Weird. The very first time PyString_InternInPlace() sees
it's *already* marked as SSTATE_INTERNED_MORTAL . So
PyString_InternInPlace() just returns, without adding it to the
interned dict. The error we get later is inevitable then.
This happens while compile.c's PyCode_New is doing its "Intern
selected string constants" loop.
PyString_InternInPlace() is the only thing that marks a string as
being in the SSTATE_INTERNED_MORTAL state, is it's A Mystery how this
string got so marked. Unless it's a wild store.
More information about the Python-Dev