Public bug reported:

pyflakes in Ubuntu is 0.7.3-2 but in Debian it is 0.8.1-1.  We should
sync the sid to trusty, as it fixes a number of problems, most
importantly, it honors text encodings in the -*- coding -*- line for
Python 3 source files.  This will fix an FTBFS for gdebi.

It will also fix compatibility with Python 3.4, the default Python 3
version in trusty.  This is a leaf package with minimal reverse-depends
so the risk of upgrade is low (but there are no known
incompatibilities).  It builds and installs just fine, and is lintian
clean.

>From upstream:

0.8.1 (2014-03-30):
  - Detect the declared encoding in Python 3.
  - Do not report redefinition of import in a local scope, if the
    global name is used elsewhere in the module.
  - Catch undefined variable in loop generator when it is also used as
    loop variable.
  - Report undefined name for `(a, b) = (1, 2)` but not for the general
    unpacking `(a, b) = func()`.
  - Correctly detect when an imported module is used in default arguments
    of a method, when the method and the module use the same name.
  - Distribute a universal wheel file.

0.8.0 (2014-03-22):
  - Adapt for the AST in Python 3.4.
  - Fix caret position on SyntaxError.
  - Fix crash on Python 2.x with some doctest SyntaxError.
  - Add tox.ini.
  - The `PYFLAKES_NODOCTEST` environment variable has been replaced with the
    `PYFLAKES_DOCTEST` environment variable (with the opposite meaning).
    Doctest checking is now disabled by default; set the environment variable
    to enable it.
  - Correctly parse incremental `__all__ += [...]`.
  - Catch return with arguments inside a generator (Python <= 3.2).
  - Do not complain about `_` in doctests.
  - Drop deprecated methods `pushFunctionScope` and `pushClassScope`.

** Affects: pyflakes (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1300366

Title:
  [FFe] upgrade to pyflakes 0.8.1

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to