Message265612
I'm not happy with pybuildvalue_leak3.patch. For failed keys it saves values with the same key (None). This means that old value can be deallocated before the end of building all dict.
Following patch collects all values after error in a tuple. This not only fixes the issue with building dict, but makes the code for building tuple, list and dict cleaner. It no longer contains the code for processing after error, it is moved in separate function. |
|
Date |
User |
Action |
Args |
2016-05-15 12:52:00 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mwh, rhettinger, shredwheat, martin.panter, josh.r, squidevil |
2016-05-15 12:52:00 | serhiy.storchaka | set | messageid: <1463316720.94.0.974904194751.issue26168@psf.upfronthosting.co.za> |
2016-05-15 12:52:00 | serhiy.storchaka | link | issue26168 messages |
2016-05-15 12:52:00 | serhiy.storchaka | create | |
|