This might be stating the obvious, but have you detabbed your text, if you are using spaces?
On 28/03/2007, at 8:18 PM, hg wrote: > hg wrote: > >> Hi, >> >> I'v been facing some very strange errors lately: >> >> one example: >> >> def __init__(self): >> .... >> import my_info >> some_text = my_info.T_SOME_TEXT >> ^ syntax error >> >> >> I manage to get rid of that one by moving the import on top of my >> file. >> >> Note: Python 2.4.1 under Windows >> >> >> Any clue ? >> >> Thanks, >> >> hg > > > PS: > > and I also get some even weirder studd such as an error on line 374 > when I > add a print on line 65 > > I'm using pydev + pydev ext > > hg > > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list