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

Guido van Rossum guido at python.org
Thu May 10 19:20:53 CEST 2007

Never mind, I found it via bisection of the offending function, and fixed it:
Committed revision 55227.


On 5/10/07, Guido van Rossum <guido at python.org> wrote:
> 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
> Aborted
> --
> --Guido van Rossum (home page: http://www.python.org/~guido/)

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

More information about the Python-Dev mailing list