A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-August/027971.html below:

[Python-Dev] Re: tempfile.py

[Python-Dev] Re: tempfile.py [Python-Dev] Re: tempfile.pyZack Weinberg zack@codesourcery.com
Fri, 16 Aug 2002 12:54:34 -0700
On Wed, Aug 14, 2002 at 08:59:44AM -0400, Guido van Rossum wrote:
> The mkstemp() function in the rewritten tempfile has an argument with
> a curious name and default: binary=True.  This caused confusion (even
> the docstring in the original patch was confused :-).  It would be
> much easier to explain if this was changed to text=False.  That is, to
> deviate from the default mode, i.e. use text mode, you'll have to
> write mkstemp(text=True) rather than mkstemp(binary=False).

I see you've already done this, but in any case I do think it's a good
idea.

zw



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