[issue17328] Fix reference leak in dict_setdefault() in case of resize failure

2013-03-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1a589001d752 by Benjamin Peterson in branch '3.3': fix possible setdefault refleak (closes #17328) http://hg.python.org/cpython/rev/1a589001d752 New changeset fac46cf6af3f by Benjamin Peterson in branch 'default': merge 3.3 (#17328) http://hg.python

[issue17328] Fix reference leak in dict_setdefault() in case of resize failure

2013-03-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. This is 3.3+ only issue as far as I understand. -- nosy: +benjamin.peterson versions: -Python 2.6, Python 2.7, Python 3.2 ___ Python tracker __

[issue17328] Fix reference leak in dict_setdefault() in case of resize failure

2013-03-01 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +serhiy.storchaka stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17328] Fix reference leak in dict_setdefault() in case of resize failure

2013-03-01 Thread Stefan Behnel
New submission from Stefan Behnel: While writing the patch for issue 17327, I noticed that there is a double reference leak in dict_setdefault() under the rare condition that resizing fails. I'm not 100% sure that it's ok to move the increfs behind the resizing, but considering that the resizi