Syntax error
hg
hg at nospam.org
Tue Apr 17 04:50:29 EDT 2007
Diez B. Roggisch wrote:
> 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
Not worth showing really, it's a screen dump so can't put it here but:
....
self.T_CARD_FOUND = 'PLEASE WAIT ...'
^
Syntax error
hg
More information about the Python-list
mailing list