[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


More information about the Python-Dev mailing list