Message287285
Okay, if there is no way to test this with certainty, tests may be omitted.
Why res == 0 is added? If PyDict_SetItem() triggers recursive calling of _PyObjectDict_SetItem() which calls PyDict_SetItem() it may be possible that the first PyDict_SetItem() is failed while the dict is changed by the second PyDict_SetItem() and CACHED_KEYS(tp) becomes outdated. |
|
Date |
User |
Action |
Args |
2017-02-08 08:42:35 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, methane, xiang.zhang, audric |
2017-02-08 08:42:35 | serhiy.storchaka | set | messageid: <1486543355.47.0.808074932138.issue29438@psf.upfronthosting.co.za> |
2017-02-08 08:42:35 | serhiy.storchaka | link | issue29438 messages |
2017-02-08 08:42:35 | serhiy.storchaka | create | |
|