This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Anthony Sottile
Recipients Anthony Sottile, miss-islington, taleinat, terry.reedy
Date 2021-01-25.16:29:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611592169.87.0.200127270914.issue43013@roundup.psfhosted.org>
In-reply-to
Content
> 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
History
Date User Action Args
2021-01-25 16:29:29Anthony Sottilesetrecipients: + Anthony Sottile, terry.reedy, taleinat, miss-islington
2021-01-25 16:29:29Anthony Sottilesetmessageid: <1611592169.87.0.200127270914.issue43013@roundup.psfhosted.org>
2021-01-25 16:29:29Anthony Sottilelinkissue43013 messages
2021-01-25 16:29:29Anthony Sottilecreate