[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3417: Audit existing ported modules for del in for loops
Tahoe-LAFS
trac at tahoe-lafs.org
Tue Sep 15 18:35:11 UTC 2020
#3417: Audit existing ported modules for del in for loops
----------------------+----------------------------------
Reporter: itamarst | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Support Python 3
Component: unknown | Version: n/a
Keywords: | Launchpad Bug:
----------------------+----------------------------------
```
for k in d.keys():
if something(x): del d[x]
```
is a bug in Python 3.
Easiest way to catch potential places this might be an issue is probably
to run futurize on all ported modules, and then look at diffs.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3417>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list