|
From: Ari H. <ahe...@an...> - 2001-10-08 19:15:21
|
On Mon, 8 Oct 2001, David Scherer wrote: > [Bruce writes] > > Maybe there's a bad copy of graph.py in our Linux distribution files? > > No. The SyntaxError below is caused by the use of the **args syntax, > which is not supported by Python 1.5.2. I don't know whether the Linux > distribution is supposed to run on 1.5.2 or not. If it is, this line > needs to be replaced, e.g. > > apply( gvbars.__init__, (self,), args) > > If not, the solution is to upgrade to a more recent version of Python. > > Dave > > > > gvbars.__init__(self, **args) > > > ^ > > > SyntaxError: invalid syntax Man. I seem to keep fixing this in CVS (possibly in multiple places) and it seems to keep creeping back in. We could move to python2 on Linux; it would mean a few modifications to the current packaging tools, but it could be done. Ari |