Message265658
Is it really a problem if the old value is deallocated? It sounds like a similar case to <https://bugs.python.org/issue26168#msg259242>, and would only be a problem if you passed a borrowed reference, and relied on the reference staying alive for another argument.
I do like the separate do_ignore() function in patch 4, but I don’t think it is worthwhile allocating a temporary tuple to save values in. The allocation can fail. Also, I understand do_mktuple() etc are recursive, so nested borrowed references would still be released before the outer do_ignore() function releases the outer tuple. |
|
Date |
User |
Action |
Args |
2016-05-16 02:06:24 | martin.panter | set | recipients:
+ martin.panter, mwh, rhettinger, shredwheat, serhiy.storchaka, josh.r, squidevil |
2016-05-16 02:06:24 | martin.panter | set | messageid: <1463364384.09.0.833259940298.issue26168@psf.upfronthosting.co.za> |
2016-05-16 02:06:24 | martin.panter | link | issue26168 messages |
2016-05-16 02:06:22 | martin.panter | create | |
|