Zachary Ware <zachary.w...@gmail.com> added the comment:

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 :)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46819>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to