divmod-dev team mailing list archive
-
divmod-dev team
-
Mailing list archive
-
Message #00293
[Bug 879941] Re: Unused variables aren't detected with destructuring assignment
I guess the point here is that *nothing* in the example is used. It is
intentional that:
x, y = 1, 2
return x
generates no warnings, but that seems to be a different case.
--
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for Pyflakes.
https://bugs.launchpad.net/bugs/879941
Title:
Unused variables aren't detected with destructuring assignment
Status in Pyflakes:
New
Bug description:
In the code:
def foo():
x, y = 1, 2
return 3
x and y are not shown as being unused.
To manage notifications about this bug go to:
https://bugs.launchpad.net/pyflakes/+bug/879941/+subscriptions
References