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 zach.ware
Recipients cooperlees, ncoghlan, yselivanov, zach.ware
Date 2022-02-22.18:02:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645552971.43.0.92687494069.issue46819@roundup.psfhosted.org>
In-reply-to
Content
But `suppress` takes varargs; from `suppress`'s perspective, there is no difference between `suppress()` and `l=[];suppress(*l)`.  There would be a difference at the AST level, but trying to find it within `suppress` to issue a warning seems unfeasible.  Certainly possible for a linter, though :)
History
Date User Action Args
2022-02-22 18:02:51zach.waresetrecipients: + zach.ware, ncoghlan, yselivanov, cooperlees
2022-02-22 18:02:51zach.waresetmessageid: <1645552971.43.0.92687494069.issue46819@roundup.psfhosted.org>
2022-02-22 18:02:51zach.warelinkissue46819 messages
2022-02-22 18:02:51zach.warecreate