[Python-Dev] new failing test -- test_compiler

Raymond Hettinger python at rcn.com
Sat Aug 7 13:01:26 CEST 2004


> the string's ob_refcnt field is not
> always
> "correct".  String interning messes with its value.  What occurred
here is
> that we mutated a string which had only one reference left -- that is,
one
> apart from the two that stringobject.c artificially removes to
ob_refcnt
> when
> interning.

Try adding a guard using s->ob_sstate.


Raymond



More information about the Python-Dev mailing list