[Python-Dev] new failing test -- test_compiler (original) (raw)
Tim Peters tim.peters at gmail.com
Sat Aug 7 22:56:46 CEST 2004
- Previous message: [Python-Dev] new failing test -- test_compiler
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Lib/test test_builtin.py, 1.33, 1.34
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Weird. The very first time PyString_InternInPlace() sees
"abcdfeghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"
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.
- Previous message: [Python-Dev] new failing test -- test_compiler
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Lib/test test_builtin.py, 1.33, 1.34
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]