Debian Testing: Warning: 'with' will become a reserved keyword in Python 2.6
Bug #496162 reported by
Angel Guzman Maeso
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Tivion |
Fix Released
|
High
|
Angel Guzman Maeso |
Bug Description
Originally from -Defero- on http://
--------
/usr/share/
Traceback (most recent call last):
File "tivion.py", line 33, in <module>
import utils as u
File "/usr/share/
with open(self.
^
SyntaxError: invalid syntax
Note: Maybe a problem with python 2.5 and support for python 2.6
python --version
*Python 2.5.4*
description: | updated |
Changed in tivion: | |
assignee: | nobody → Angel Guzman Maeso (shakaran) |
importance: | Undecided → High |
milestone: | none → tivion-0.0.3 |
status: | New → Confirmed |
Changed in tivion: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Angel,
I pushed a development branch (lp:~stefano-karapetsas/tivion/tivion-debian) to support python 2.5 in Tivion (the big difference between Debian and Ubuntu).
I solved the "with" syntax error and the process terminate problem (Popen.terminate is only in python 2.6).
Also I created an "unstable" folder to package Tivion for Debian (Debian has not mplayer-gui).