Message385639
> Anthony: removing 'set' from 'list(set(interable))' is wrong if 'set' were added to remove duplicates.
It's not removed, it's changed to a set comprehension (which was added in 2.7 and 3.0)
pyupgrade is very battle tested, having been run on pip, pytest, and many open source projects |
|
Date |
User |
Action |
Args |
2021-01-25 16:29:29 | Anthony Sottile | set | recipients:
+ Anthony Sottile, terry.reedy, taleinat, miss-islington |
2021-01-25 16:29:29 | Anthony Sottile | set | messageid: <1611592169.87.0.200127270914.issue43013@roundup.psfhosted.org> |
2021-01-25 16:29:29 | Anthony Sottile | link | issue43013 messages |
2021-01-25 16:29:29 | Anthony Sottile | create | |
|