← Back to team overview

divmod-dev team mailing list archive

[Bug 764627] Re: pyflakes complains about missing WindowsError on Unix

 

Hi Curtis,

Do you have any suggestion about how this bug should be solved?

Do you want to have it fixed in pocket-lint or in pyflakes?

What do you say about the changes from the attached branch?

Cheers,
Adi

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

Title:
  pyflakes complains about missing WindowsError on Unix

Status in Pocket-Lint:
  Triaged
Status in Pyflakes:
  New

Bug description:
  Since pyflakes website is down I am reporting this bug in LP.

  The undefined name WindowsError is raised by pyflakes when running on
  Unix systems.

  It would be nice if pyflakes would trust the developer that such code
  is only loaded on Windows and allow to check Windows specific Python
  code on  Unix.

  ----

  Please let me know if you thinks it is a valid problem.

  Also any advice about how to move this bug report upstream is much
  appreciated.

  ----

  I have also attached a pocket-lint branch that works around this
  problem.

  Cheers,



References