You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not that anyone asked me, but if that commit were a PR I was reviewing, I'd also have added tests for
(*a, *b), c= ... # should trigger a message
((*a, b), *c), *d= ... # shouldn't trigger a message
And I'm pretty sure the second test would fail, because the fix as written seems to hardcode exactly one level of traversal and then revert to the old buggy behavior.
Steps to reproduce
Here's some legal python code:
For example, this can be used to unpack the complicated return value from socket.getaddrinfo.
Current behavior
Running pylint on the above code reports E0112: too-many-star-expressions:
Expected behavior
Don't report this error on valid code.
pylint --version output
The text was updated successfully, but these errors were encountered: