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

Raghuram Devarakonda draghuram at gmail.com
Thu Mar 29 20:45:07 CEST 2007


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
code.

Thanks,
Raghu.


More information about the Python-Dev mailing list