[EMAIL PROTECTED] wrote: > additive = self.additive, > ^ > SyntaxError: invalid syntax > I'm using Windows XP and Python 2.4.1 > > Any ideas? O:-)
I had a similar problem with python 2.4.1. When I imported some module, I got a SyntaxError like you. But if I run the module directly, and not importing it, it works and dos not trigger any SyntaxError. As a workaround, I put a comment ( just a # can do ) at the end of the offending line, and I could then import the module without any problem. It is certainly a bug, and I think it is perhaps this one ( bug 1211639 ): http://sourceforge.net/tracker/index.php?func=detail&aid=1211639&group_id=5470&atid=105470 or this one ( bug 1200686 ): http://sourceforge.net/tracker/index.php?func=detail&aid=1200686&group_id=5470&atid=105470 -- http://mail.python.org/mailman/listinfo/python-list