Public bug reported:

With the attached example file, pyflakes reports

pf.py:6: redefinition of unused 'connect' from line 3
pf.py:6: redefinition of unused 'PARSE_DECLTYPES' from line 3
pf.py:6: redefinition of unused 'PARSE_COLNAMES' from line 3

They're not redefinitions, but fallbacks in case defining them the first
time fails.  I don't know if there's a way to catch this, but it's worth
noting.

** Affects: pyflakes
     Importance: Undecided
         Status: New


** Tags: except import redefinition try

-- 
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for Pyflakes.
https://bugs.launchpad.net/bugs/916264

Title:
  Cascading try/except imports report duplicates

Status in Pyflakes:
  New

Bug description:
  With the attached example file, pyflakes reports

  pf.py:6: redefinition of unused 'connect' from line 3
  pf.py:6: redefinition of unused 'PARSE_DECLTYPES' from line 3
  pf.py:6: redefinition of unused 'PARSE_COLNAMES' from line 3

  They're not redefinitions, but fallbacks in case defining them the
  first time fails.  I don't know if there's a way to catch this, but
  it's worth noting.

To manage notifications about this bug go to:
https://bugs.launchpad.net/pyflakes/+bug/916264/+subscriptions

-- 
Mailing list: https://launchpad.net/~divmod-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~divmod-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to