A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-January/050806.html below:

[Python-Dev] Possible bug in codecs readline? It breaks lines apart.

[Python-Dev] Possible bug in codecs readline? It breaks lines apart. [Python-Dev] Possible bug in codecs readline? It breaks lines apart.Simon Percivall s.percivall at chello.se
Sun Jan 9 04:38:53 CET 2005
On 2005-01-09, at 04.11, Irmen de Jong wrote:
> Hello
> using current cvs Python on Linux, I observe this weird
> behavior of the readline() method on file-like objects
> returned from the codecs module:
>
> [...]
>
> See how it breaks certain lines in half?
> It only happens when a certain encoding is used, so regular
> file objects behave as expected. Also, readlines() works fine.
>
> Python 2.3.4 and Python 2.4 do not have this problem.
>
> Am I missing something or is this a bug? Thanks!

It looks like the readline method broke at revision 1.36 of codecs.py,
when it was modified, yes.

//Simon

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4