[issue5283] setting __class__ in __del__ is bad. mmkay. negative ref count! kaboom!

Amaury Forgeot d'Arc report at bugs.python.org
Tue Feb 17 20:04:44 CET 2009

Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Yes, the wrong type is DECREF'd when the object is deallocated.
Patch attached.

keywords: +needs review, patch
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file13123/del_changes_class.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list