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/2006-February/061036.html below:

[Python-Dev] str object going in Py3K

[Python-Dev] str object going in Py3K [Python-Dev] str object going in Py3KBill Janssen janssen at parc.com
Wed Feb 15 19:59:44 CET 2006
> If we go with two functions, I'd much rather hang them off of the file
> type object then add two new builtins.  I really do think file.bytes()
> and file.text() (a.k.a. open.bytes() and open.text()) is better than
> opentext() or openbytes().

+1.

The default behavior of the current open() in opening files as text is
particularly grating.  This would make things much clearer.

Bill
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