Small Problem P 2.4 (line>2048 Bytes)

Walter Dörwald walter at livinglogic.de
Wed Dec 15 09:35:46 EST 2004


>> [...]
>> After search, I had found that the problem come from a "long line" (more
>> than 2048 caracters), with begin :
>>         mappingcharmaj = { chr(97):'A', chr(98):'B', chr(99):'C', ...
>> 
>> And, if I "break" in multiples lines, the problem is solved.

This sounds like bug http://www.python.org/sf/1076985
"Incorrect behaviour of StreamReader.readline leads to crash".

Are you using a PEP 263 coding header for your script?

Bye,
   Walter Dörwald
   




More information about the Python-list mailing list