Re: Malformed big5 reading bug

2007-05-30 Thread Facundo Batista
tsuraan wrote: > Python enters some sort of infinite loop when attempting to read data from a > malformed file that is big5 encoded (using the codecs library). This > behaviour can be observed under Linux and FreeBSD, using Python 2.4 and 2.5. > A really simple example illustrating the bug follow

Malformed big5 reading bug

2007-05-29 Thread tsuraan
Python enters some sort of infinite loop when attempting to read data from a malformed file that is big5 encoded (using the codecs library). This behaviour can be observed under Linux and FreeBSD, using Python 2.4 and 2.5. A really simple example illustrating the bug follows: Python 2.4.4 (#1, M