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/2007-March/072396.html below:

[Python-Dev] Should TemporaryFile() return a wrapper like NamedTemporaryFile()?

[Python-Dev] Should TemporaryFile() return a wrapper like NamedTemporaryFile()? [Python-Dev] Should TemporaryFile() return a wrapper like NamedTemporaryFile()?Raghuram Devarakonda draghuram at gmail.com
Thu Mar 29 23:28:38 CEST 2007
On 3/29/07, Raghuram Devarakonda <draghuram at gmail.com> wrote:
> Hi,
>
> I am looking into the issue http://python.org/sf/1615275 (suggested by
> Neal) and added a comment there. I would appreciate it if some one can
> check it out and comment on it. Basically, I am wondering if
> TemporaryFile()  should return a wrapper instance (with "file" member)
> just like  NamedTemporaryFile(). It shouldn't effect any existing code
> (unless I am missing something) but should help in cross-platform

On second thoughts, this change will break existing usages such as
array.tofile(TemporaryFile()).

Raghu
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