Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment:

Indeed, every function of the API is consistent in this aspect, success or 
failure should not make a difference in reference counts.  Do you have an 
evidence of the contrary?

Note that it's possible that because of the failure, some argument is stored in 
an exception (maybe indirectly, through the traceback which contains active 
frames and their local variables), which increases its reference count. 
Clearing the exception should release the reference.

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8336>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to