Message402681
> As I first mentioned in my post[1] on comp.lang.python, it seems possible to modify a dict while a lookup is ongoing, without causing the lookup to restart.
That's a bad practice. Python dict raises an exception in some cases: RuntimeError("dict mutated during update").
Detecting any change during a lookup would slow down, whereas dict performance is key in Python performance in general, since dict is used everywhere for Python namespaces.
I close the issue as "wont fix". |
|
Date |
User |
Action |
Args |
2021-09-26 21:17:13 | vstinner | set | recipients:
+ vstinner, gregory.p.smith, Rhamphoryncus |
2021-09-26 21:17:13 | vstinner | set | messageid: <1632691033.11.0.0393485142313.issue1736792@roundup.psfhosted.org> |
2021-09-26 21:17:13 | vstinner | link | issue1736792 messages |
2021-09-26 21:17:13 | vstinner | create | |
|