[Python-Dev] Hard-to-find problem with set().test_c_api()

Guido van Rossum guido at python.org
Thu May 10 17:14:18 CEST 2007

Could anyone help me debug the following? This is in a debug build of
the trunk. I've been banging my head against the wrong wall for too
long to "see" the issue here... :-(

$ ./python -S -c "set('abc').test_c_api()"
[6872 refs]
Fatal Python error: ../Objects/stringobject.c:4971 object at
0xb7f66ca0 has negative ref count -606348326

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list