>> 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. ... hg> PS:
hg> and I also get some even weirder studd such as an error on line 374 hg> when I add a print on line 65 I think you're going to have to post a bit more of your code and some actual tracebacks if people are to understand what the problem is. For example, we can't tell what the relationship is in your code between lines 65 and 374 without actually seeing the code. I could look at those lines in an arbitrary bit of my own code, but i doubt it would help. Maybe not all of your code, but a few lines of code around the suspect points. Skip -- http://mail.python.org/mailman/listinfo/python-list