>> [...] >> 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 -- http://mail.python.org/mailman/listinfo/python-list