Message412448
Presumably _PyDict_Next is also suspect. Even the advertised "safe" calls to PyDict_SetItem() for existing keys would be a trigger. Calling clear() in either __eq__ or __hash__ would suffice.
If the next loops are the culprint, the new challenge is figuring out how to fix it without wrecking code clarity and performance (and having to deprecate PyDict_Next() which is part of the stable ABI). |
|
Date |
User |
Action |
Args |
2022-02-03 16:42:14 | rhettinger | set | recipients:
+ rhettinger, serhiy.storchaka, Dennis Sweeney |
2022-02-03 16:42:14 | rhettinger | set | messageid: <1643906534.15.0.576271807029.issue46615@roundup.psfhosted.org> |
2022-02-03 16:42:14 | rhettinger | link | issue46615 messages |
2022-02-03 16:42:14 | rhettinger | create | |
|