Message363403
Serhiy: Why is dict.copy() not thread safe?
if what you say of list(dict) being safe, iterating over that and looking up the keys would work. But all of this is entirely non-obvious to the reader of the code. all of these _look_ like they should be safe.
We should make dict.copy() safe and document the guarantee as such as that one could at least be explained when used for that purpose. |
|
Date |
User |
Action |
Args |
2020-03-04 23:00:59 | gregory.p.smith | set | recipients:
+ gregory.p.smith, amaury.forgeotdarc, eric.araujo, meador.inge, python-dev, eric.snow, Erik.Tollerud, serhiy.storchaka, psimons, tomdzk |
2020-03-04 23:00:59 | gregory.p.smith | set | messageid: <1583362859.53.0.304421114261.issue13487@roundup.psfhosted.org> |
2020-03-04 23:00:59 | gregory.p.smith | link | issue13487 messages |
2020-03-04 23:00:59 | gregory.p.smith | create | |
|