Should TemporaryFile() return a wrapper like NamedTemporaryFile()?
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.
On 3/29/07, Raghuram Devarakonda <draghuram@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
participants (1)
-
Raghuram Devarakonda