spurious syntax error when updating to 2.4 ?

2005-07-21 Thread Simon Dahlbacka
Hi, I'm doing some preparation for a hopefully upcoming transition to python 2.4 (from 2.3.4) on winxp platform However, I'm getting SyntaxErrors in files that worked fine in 2.3, it tells me that e.g. newLanguage.language = languageElement[0].firstChild.data.encode(ascii) this line is broken

Re: spurious syntax error when updating to 2.4 ?

2005-07-21 Thread Simon Dahlbacka
Replying to self, it seems to be related to https://sourceforge.net/tracker/index.php?func=detailaid=1163244group_id=5470atid=105470 (Syntax error on large file with MBCS encoding) even though my files had # -*- coding: ascii -*- However, if I removed this explicit ascii encoding then I did not