Opened at 2020-09-15T18:35:11Z
Last modified at 2020-09-28T20:53:17Z
#3417 closed defect
Audit existing ported modules for del in for loops — at Initial Version
Reported by: | itamarst | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Support Python 3 |
Component: | unknown | Version: | n/a |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
` 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.
Note: See
TracTickets for help on using
tickets.