New submission from Amaury Forgeot d'Arc:
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"
----------
messages: 175210
nosy: amaury.forgeotdarc
priority: normal
severity: normal
status: open
title: SEGFAULT when setting type.__name__
type: crash
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16447>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com