Message102599
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. |
|
Date |
User |
Action |
Args |
2010-04-08 07:46:40 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, georg.brandl, Krauzi, ysj.ray |
2010-04-08 07:46:40 | amaury.forgeotdarc | set | messageid: <1270712800.02.0.451132656807.issue8336@psf.upfronthosting.co.za> |
2010-04-08 07:46:38 | amaury.forgeotdarc | link | issue8336 messages |
2010-04-08 07:46:38 | amaury.forgeotdarc | create | |
|