__future__ imports must occur at the beginning of the file

Bug #72182 reported by Jason Ribeiro
4
Affects Status Importance Assigned to Milestone
urwid (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When installing python-urwid in edgy:

Selecting previously deselected package python-urwid.
(Reading database ... 360069 files and directories currently installed.)
Unpacking python-urwid (from .../python-urwid_0.9.4-1_all.deb) ...
Setting up python-urwid (0.9.4-1) ...
Compiling /var/lib/python-support/python2.5/urwid/graphics.py ...
  File "/var/lib/python-support/python2.5/urwid/graphics.py", line 27
    from __future__ import nested_scopes
SyntaxError: from __future__ imports must occur at the beginning of the file

see http://docs.python.org/ref/future.html

Revision history for this message
Jason Ribeiro (jrib) wrote :

The latest tarball from http://excess.org/urwid/ (0.9.7.1) seems to have corrected this syntax error already

Revision history for this message
Kai Kasurinen (kai-kasurinen) wrote :

Thanks for the bug report.

I'm closing this bug because it has been fixed in Feisty.

If you need a fix for this bug in Edgy, please follow the
instructions in the "How to request new packages" section of the
Backports wiki page:
        https://wiki.ubuntu.com/UbuntuBackports

Changed in urwid:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.