[ python-Feature Requests-415692 ] smarter temporary file object

SourceForge.net noreply at sourceforge.net
Wed Jan 3 05:30:45 CET 2007


Feature Requests item #415692, was opened at 2001-04-12 10:37
Message generated for change (Comment added) made by djmitche
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=415692&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Guido van Rossum (gvanrossum)
Assigned to: Nobody/Anonymous (nobody)
Summary: smarter temporary file object

Initial Comment:
Jim Fulton suggested the following:

I wonder if it would be a good idea to have a new kind
of temporary file that stored data in memory unless: 
 
  - The data exceeds some size, or 
 
  - Somebody asks for a fileno. 
 
Then the cgi module (and other apps)  could use this
thing in a uniform way. 


----------------------------------------------------------------------

Comment By: Dustin J. Mitchell (djmitche)
Date: 2007-01-02 22:30

Message:
Logged In: YES 
user_id=7446
Originator: NO

I have a potential implementation for this, intended to be included in
Lib/tempfile.py.  Because the issue is closed, I can't attach it.  Let's
see if posting to the issue will open that option up.

Dustin

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-08-09 11:51

Message:
Logged In: YES 
user_id=6380

Thank you.

I've moved this feature request to PEP 42, "Feature Requests".


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=415692&group_id=5470


More information about the Python-bugs-list mailing list