Guido van Rossum added the comment:

Here's a better fix, which also fixes the similar code path in
GenericSetAttr().  As a bonus, I reviewed all uses of
_PyObject_GetDictPtr() and found one questionable place where the dict
at *dictptr was DECREF'ed before that location was set to NULL.  I think
we're better off setting it to NULL and *then* DECREF'ing the dict.

----------
resolution: fixed -> 
versions: +Python 2.5, Python 2.6

_____________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1303614>
_____________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to