'as' is becoming a keyword in Python
Status: Beta
Brought to you by:
jbors
pymedia/player.py uses a variable called 'as', but this
is becoming a keyword in Python 2.6, and no longer
executes in the latest copy of Python from Subversion:
Traceback (most recent call last):
File "/toc/home/edemaine/bin/photos", line 44, in
<module>
import pymedia
File
"/toc/home/edemaine/Packages/lib/python2.6/site-packages/pymedia/__init__.py",
line 27, in <module>
from player import Player
File
"/toc/home/edemaine/Packages/lib/python2.6/site-packages/pymedia/player.py",
line 734
as= vs= None
^
SyntaxError: invalid syntax
Changing all occurrences of 'as' to 'AS' (for example)
in that file fixes the problem.