Syntax error
Diez B. Roggisch
deets at nospam.web.de
Tue Apr 17 11:43:45 EDT 2007
hg wrote:
> Hi,
>
> I've had this problem in the past and still cannot fully understand.
>
> I latelly passed my source code in Wing IDE wihch asked be to resolve
> tab/space/CRLF conflicts and I said yes (initially the code was developped
> under Linux ... and now all source got tabs replaced by spaces and all EOL
> when switched to Windows CR/LF)
>
> I sent a new release of the software, tested here first, to the customer
> who got a syntax error on a line which visibly did not have any error.
>
> retyping that line by and made the error jump around the file like crazy.
>
> I had the customer comment out the first two lines of the file:
>
> """
> #!/bin/env python
> # -*- coding: iso-8859-15 -*-
> """
>
> ... and the problem disappeared.
>
> I am at a loss.
>
> Any clue ?
Without a stacktrace? It's spring, not crystal ball season.
Diez
More information about the Python-list
mailing list