Petri Lehtinen pe...@digip.org added the comment:
The patch is not correct: modelobj must not be decref'd, because it has been
inserted to the args tuple with the reference-stealing 'N' format. args is
later decref'd in function's cleanup code after finally:.
--
keywords: -after
Changes by Petri Lehtinen pe...@digip.org:
--
keywords: +after moratorium, needs review, patch
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13017
___
Changes by Stefan Krah stefan-use...@bytereef.org:
--
title: Resource is not released before returning from the functiion -
pyexpat.c: refleak
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13017
Changes by Stefan Krah stefan-use...@bytereef.org:
--
components: +Extension Modules
stage: - patch review
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13017
___