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/2013-March/124781.html below:

[Python-Dev] cpython: Closes issue 17467. Add readline and readlines support to

[Python-Dev] cpython: Closes issue 17467. Add readline and readlines support to [Python-Dev] cpython: Closes issue 17467. Add readline and readlines support toAntoine Pitrou solipsis at pitrou.net
Wed Mar 20 01:26:33 CET 2013
On Wed, 20 Mar 2013 01:22:58 +0100 (CET)
michael.foord <python-checkins at python.org> wrote:
> http://hg.python.org/cpython/rev/684b75600fa9
> changeset:   82811:684b75600fa9
> user:        Michael Foord <michael at voidspace.org.uk>
> date:        Tue Mar 19 17:22:51 2013 -0700
> summary:
>   Closes issue 17467. Add readline and readlines support to unittest.mock.mock_open

Wasn't it possible to re-use an existing implementation (such as
TextIOBase or StringIO) rather than re-write your own?

(it's not even obvious your implementation is correct, BTW. How about
universal newlines?)

Regards

Antoine.


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