|
From: Bruce S. <ba...@an...> - 2001-10-08 19:33:24
|
The current version of graph.py in CVS does indeed have the form apply( gvbars.__init__, (self,), args) So the problem seems to be how the Linux 1.5.2 distribution is put together. Bruce Sherwood ---------- Forwarded Message ---------- Date: Monday, October 08, 2001 3:11 PM -0400 From: David Scherer <dsc...@vy...> To: vis...@li... Subject: RE: [Visualpython-users] bug/typo in latest download (artifact of C)? > [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 > > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users ---------- End Forwarded Message ---------- |