Message412494
Raised the priority back to normal.
I agree with Dennis's observation that PyDict_Next is safe, provided it's used as intended: it returns borrowed references, but to things that absolutely are legitimate at the time. In the presence of mutations, *what* it returns isn't defined at all, but I don't see a way for it to blow up (unless its caller screws up by believing it owns the references). It doesn't assume anything about the structure of the dict across calls. |
|
Date |
User |
Action |
Args |
2022-02-04 05:42:31 | tim.peters | set | recipients:
+ tim.peters, rhettinger, serhiy.storchaka, Dennis Sweeney |
2022-02-04 05:42:31 | tim.peters | set | messageid: <1643953351.07.0.715857697446.issue46615@roundup.psfhosted.org> |
2022-02-04 05:42:31 | tim.peters | link | issue46615 messages |
2022-02-04 05:42:30 | tim.peters | create | |
|