← Back to team overview

divmod-dev team mailing list archive

[Bug 989203] [NEW] pyflakes native support for Python 3

 

Public bug reported:

Let's say you have this file:

#! /usr/bin/python
from __future__ import print_function
import sys
print('test', file=sys.stderr)

then pyflakes correct recognizes the print function and is happy.
However, let's say you change the first line to

#!/usr/bin/python3

and remove the future import.  Then pyflakes isn't so happy about the
print() function.

No doubt it's a considerable amount of work to support Python 3
directly, but at least with this bug we can track that effort.

** 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/989203

Title:
  pyflakes native support for Python 3

Status in Pyflakes:
  New

Bug description:
  Let's say you have this file:

  #! /usr/bin/python
  from __future__ import print_function
  import sys
  print('test', file=sys.stderr)

  then pyflakes correct recognizes the print function and is happy.
  However, let's say you change the first line to

  #!/usr/bin/python3

  and remove the future import.  Then pyflakes isn't so happy about the
  print() function.

  No doubt it's a considerable amount of work to support Python 3
  directly, but at least with this bug we can track that effort.

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


Follow ups

References