← Back to team overview

divmod-dev team mailing list archive

[Bug 879941] [NEW] Unused variables aren't detected with destructuring assignment

 

Public bug reported:

In the code:

def foo():
    x, y = 1, 2
    return 3

x and y are not shown as being unused.

** Affects: pyflakes
     Importance: Undecided
         Status: New

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


Follow ups

References