Strange problem when running python code

Fredrik Lundh fredrik at pythonware.com
Tue Apr 4 14:59:33 EDT 2006


"ishtar2020" wrote:

> Sometimes a receive strange Syntax Errors from parts of code that
> worked perfectly minutes ago. What's even more puzzling is that those
> errors are pointed to another part of the module when I do some random,
> innofensive changes in the code (like inserting a line or deleting some
> comments). Sometimes those changes are enough to make the error
> dissapear.

Python 2.4.1 has a bug where this can happen if you're 1) using coding
directives, and 2) your module is relatively large.

I suggest upgrading to 2.4.3.

</F>






More information about the Python-list mailing list