[issue16060] Double decref and dereferencing after decref in int()

Serhiy Storchaka report at bugs.python.org
Thu Sep 27 18:48:13 CEST 2012


Serhiy Storchaka added the comment:

> And indeed, the following code generates a segfault on my machine:

I was going to give similar example and assign crash type to issue, but on my machine it does not generate a segfault.

> The patch should probably include a regression test.

Someone borrowed Guido's time machine and have already done this test (see NonIntegral in Lib/test/test_int.py).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16060>
_______________________________________


More information about the Python-bugs-list mailing list