Important
This PEP has been withdrawn.
×
It isobsolete.All new feature requests should either go to thePython bug trackerfor very simple requests or theIdeas Discourse category foreverything else. The rest of this document is retained for historicalpurposes only.
This PEP contains a list of feature requests that may be consideredfor future versions of Python. Large feature requests should not beincluded here, but should be described in separate PEPs; however alarge feature request that doesn’t have its own PEP can be listed hereuntil its own PEP is created. SeePEP 0 for details.
This PEP was created to allow us to close bug reports that are reallyfeature requests. Marked as Open, they distract from the list of realbugs (which should ideally be less than a page). Marked as Closed,they tend to be forgotten. The procedure now is: if a bug report isreally a feature request, add the feature request to this PEP; markthe bug as “feature request”, “later”, and “closed”; and add a commentto the bug saying that this is the case (mentioning the PEPexplicitly). It is also acceptable to move large feature requestsdirectly from the bugs database to a separate PEP.
This PEP should really be separated into four different categories(categories due to Laura Creighton):
possibly divided into:
- BDFL would really like to see some code!
- BDFL is never going to be enthusiastic about this, butwill work it in when it’s easy.
The following will fail –eval("["*50 +"]"*50) – becausethe parser has a hard-coded limit on stack size. This limit shouldbe raised or removed. Removal would be hard because the currentcompiler can overflow the C stack if the nesting is too deep.
Hang using files named prn.txt, etchttps://bugs.python.org/issue481171
marshal.load*().https://bugs.python.org/issue210674
There are two issues here: first, becauseread_lines_to_outerboundary() uses readline() it is possible that alarge amount of data will be read into memory for a binary fileupload. This should probably look at the Content-Type header of thesection and do a chunked read if it’s a binary type.
The second issue was related to the self.lines attribute, which wasremoved in revision 1.56 of cgi.py (see also):
str() or__str__() return a Unicode string object. Or a different function–ustr() has been proposed. Or something…http://sf.net/patch/?func=detailpatch&patch_id=101527&group_id=5470
Iwonderifitwouldbeagoodideatohaveanewkindoftemporaryfilethatstoreddatainmemoryunless:-Thedataexceedssomesize,or-Somebodyasksforafileno.Thenthecgimodule(andotherapps)couldusethisthinginauniformway.
Proposal:
https://bugs.python.org/issue665572,http://bugs.debian.org/175590
https://mail.python.org/pipermail/python-dev/2002-April/023165.html
https://mail.python.org/pipermail/python-dev/2002-May/024346.html
https://mail.python.org/pipermail/python-dev/2002-May/023926.htmlhttps://bugs.python.org/issue558745
https://bugs.python.org/issue210821
See this bug report for a specific suggestion that will allow aBorland C++ builder application to interact with a python.dll buildwith MSVC.
https://mail.python.org/pipermail/python-dev/2004-January/041790.html
Source:https://github.com/python/peps/blob/main/peps/pep-0042.rst
Last modified:2024-04-14 20:08:31 GMT