This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc
Date 2012-11-09.00:09:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352419760.39.0.728241030951.issue16447@psf.upfronthosting.co.za>
In-reply-to
Content
Following script crashes all versions of Python.  Cause is the "Py_DECREF(et->ht_name)" in type_set_name().

class Nasty(str):
    def __del__(self):
        C.__name__ = "other"
class C(object):
    pass
C.__name__ = Nasty("abc")
C.__name__ = "normal"
History
Date User Action Args
2012-11-09 00:09:20amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc
2012-11-09 00:09:20amaury.forgeotdarcsetmessageid: <1352419760.39.0.728241030951.issue16447@psf.upfronthosting.co.za>
2012-11-09 00:09:20amaury.forgeotdarclinkissue16447 messages
2012-11-09 00:09:20amaury.forgeotdarccreate