Message175210
| 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:20 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc |
| 2012年11月09日 00:09:20 | amaury.forgeotdarc | set | messageid: <1352419760.39.0.728241030951.issue16447@psf.upfronthosting.co.za> |
| 2012年11月09日 00:09:20 | amaury.forgeotdarc | link | issue16447 messages |
| 2012年11月09日 00:09:20 | amaury.forgeotdarc | create |
|