[ python-Feature Requests-415692 ] smarter temporary file object
SourceForge.net
noreply at sourceforge.net
Mon Mar 19 19:53:30 CET 2007
Feature Requests item #415692, was opened at 2001-04-12 11:37
Message generated for change (Comment added) made by collinwinter
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: Python Library
Group: None
>Status: Closed
>Resolution: Accepted
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: Collin Winter (collinwinter)
Date: 2007-03-19 14:53
Message:
Logged In: YES
user_id=1344176
Originator: NO
Patch #1630118 checked in as r54439.
----------------------------------------------------------------------
Comment By: Dustin J. Mitchell (djmitche)
Date: 2007-01-07 15:36
Message:
Logged In: YES
user_id=7446
Originator: NO
Patch is at http://python.org/sf/1630118
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2007-01-02 23:52
Message:
Logged In: YES
user_id=6380
Originator: YES
I've reopened the issue for you. Do try to interest some other core
developer in reviewing your code, or it will take a long time... Thanks
for remembering!
----------------------------------------------------------------------
Comment By: Dustin J. Mitchell (djmitche)
Date: 2007-01-02 23: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 12: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