Small Problem P 2.4 (line>2048 Bytes)

Walter Dörwald walter at
Wed Dec 15 15:35:46 CET 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
"Incorrect behaviour of StreamReader.readline leads to crash".

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

   Walter Dörwald

More information about the Python-list mailing list