- Add proposal for categorization according to Laura.
- Use sf redirector URLs.
This commit is contained in:
parent
7417257094
commit
74271e0dcd
109
pep-0042.txt
109
pep-0042.txt
|
@ -26,6 +26,29 @@ Introduction
|
||||||
also acceptable to move large feature requests directly from the bugs
|
also acceptable to move large feature requests directly from the bugs
|
||||||
database to a separate PEP.
|
database to a separate PEP.
|
||||||
|
|
||||||
|
This PEP should really be separated into four different categories
|
||||||
|
(categories due to Laura Creighton):
|
||||||
|
|
||||||
|
1. BDFL rejects as a bad idea. Don't come back with it.
|
||||||
|
|
||||||
|
2. BDFL will put in if somebody writes the code. (Or at any rate,
|
||||||
|
BDFL will say 'change this and I will put it in' if you show up
|
||||||
|
with code.)
|
||||||
|
|
||||||
|
(possibly divided into:
|
||||||
|
|
||||||
|
2a) BDFL would really like to see some code!
|
||||||
|
|
||||||
|
2b) BDFL is never going to be enthusiastic about this, but
|
||||||
|
will work it in when it's easy.
|
||||||
|
)
|
||||||
|
|
||||||
|
3. If you show up with code, BDFL will make a pronouncement. It
|
||||||
|
might be ICK.
|
||||||
|
|
||||||
|
4. This is too vague. This is rejected, but only on the grounds
|
||||||
|
of vagueness. If you like this enhancement, make a new PEP.
|
||||||
|
|
||||||
|
|
||||||
Core Language / Builtins
|
Core Language / Builtins
|
||||||
|
|
||||||
|
@ -33,13 +56,13 @@ Core Language / Builtins
|
||||||
uses internally. Apparently mxTools has a sizeof function that
|
uses internally. Apparently mxTools has a sizeof function that
|
||||||
returns the size of the object struct itself.
|
returns the size of the object struct itself.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110835&group_id=5470
|
http://www.python.org/sf/210835
|
||||||
|
|
||||||
- Add C API functions to help Windows users who are building
|
- Add C API functions to help Windows users who are building
|
||||||
embedded applications where the FILE * structure does not match
|
embedded applications where the FILE * structure does not match
|
||||||
the FILE * the interpreter was compiled with.
|
the FILE * the interpreter was compiled with.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110821&group_id=5470
|
http://www.python.org/sf/210821
|
||||||
|
|
||||||
See this bug report for a specific suggestion that will allow a
|
See this bug report for a specific suggestion that will allow a
|
||||||
Borland C++ builder application to interact with a python.dll
|
Borland C++ builder application to interact with a python.dll
|
||||||
|
@ -53,13 +76,13 @@ Core Language / Builtins
|
||||||
current compiler can overflow the C stack if the nesting is too
|
current compiler can overflow the C stack if the nesting is too
|
||||||
deep.
|
deep.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=115555&group_id=5470
|
http://www.python.org/sf/215555
|
||||||
|
|
||||||
- Non-accidental IEEE-754 support (Infs, NaNs, settable traps, etc).
|
- Non-accidental IEEE-754 support (Infs, NaNs, settable traps, etc).
|
||||||
Big project.
|
Big project.
|
||||||
|
|
||||||
pickle lacks float('inf')
|
pickle lacks float('inf')
|
||||||
http://sf.net/tracker/index.php?func=detail&aid=445484&group_id=5470&atid=355470
|
http://www.python.org/sf/445484
|
||||||
|
|
||||||
- Windows: Trying to create (or even access) files with certain magic
|
- Windows: Trying to create (or even access) files with certain magic
|
||||||
names can hang or crash Windows systems. This is really a bug in the
|
names can hang or crash Windows systems. This is really a bug in the
|
||||||
|
@ -67,7 +90,7 @@ Core Language / Builtins
|
||||||
the symptoms are very confusing.
|
the symptoms are very confusing.
|
||||||
|
|
||||||
Hang using files named prn.txt, etc
|
Hang using files named prn.txt, etc
|
||||||
http://sf.net/tracker/index.php?func=detail&aid=481171&group_id=5470&atid=355470
|
http://www.python.org/sf/481171
|
||||||
|
|
||||||
|
|
||||||
Standard Library
|
Standard Library
|
||||||
|
@ -76,19 +99,19 @@ Standard Library
|
||||||
This is a reminder to people that more regression tests are
|
This is a reminder to people that more regression tests are
|
||||||
needed.
|
needed.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&group_id=5470&bug_id=110819
|
http://www.python.org/sf/210819
|
||||||
|
|
||||||
- The urllib module should support proxies which require
|
- The urllib module should support proxies which require
|
||||||
authenication. See SourceForge bug #110619 for information:
|
authenication. See SourceForge bug #110619 for information:
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110619&group_id=5470
|
http://www.python.org/sf/210619
|
||||||
|
|
||||||
- Use objects with attributes in place of tuples of values for
|
- Use objects with attributes in place of tuples of values for
|
||||||
return values in several places in the library. Two specific
|
return values in several places in the library. Two specific
|
||||||
APIs which could use this treatment include os.stat() and
|
APIs which could use this treatment include os.stat() and
|
||||||
os.statvfs(); see SourceForge bug #111481:
|
os.statvfs(); see SourceForge bug #111481:
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=111481&group_id=5470
|
http://www.python.org/sf/211481
|
||||||
|
|
||||||
which shows very specifically why this approach is better than
|
which shows very specifically why this approach is better than
|
||||||
the tuple approach: additional attributes can be added as needed
|
the tuple approach: additional attributes can be added as needed
|
||||||
|
@ -99,7 +122,7 @@ Standard Library
|
||||||
boundaries by copying the file over and removing the original.
|
boundaries by copying the file over and removing the original.
|
||||||
Linux is one system that requires this treatment.
|
Linux is one system that requires this treatment.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=112317&group_id=5470
|
http://www.python.org/sf/212317
|
||||||
|
|
||||||
- signal handling doesn't always work as expected. E.g. if
|
- signal handling doesn't always work as expected. E.g. if
|
||||||
sys.stdin.readline() is interrupted by a (returning) signal
|
sys.stdin.readline() is interrupted by a (returning) signal
|
||||||
|
@ -108,7 +131,7 @@ Standard Library
|
||||||
changes would have to applied to all places that can do blocking
|
changes would have to applied to all places that can do blocking
|
||||||
interruptable I/O. So it's a big project.
|
interruptable I/O. So it's a big project.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110599&group_id=5470
|
http://www.python.org/sf/210599
|
||||||
|
|
||||||
- Ensure that all .py files in the std library use 4-space indents and
|
- Ensure that all .py files in the std library use 4-space indents and
|
||||||
no hard tabs. This was actually a PEP200 precondition for the
|
no hard tabs. This was actually a PEP200 precondition for the
|
||||||
|
@ -116,45 +139,45 @@ Standard Library
|
||||||
tabnanny not complain. Tim Peters will do this now, but, since about
|
tabnanny not complain. Tim Peters will do this now, but, since about
|
||||||
250 files are affected, will wait until after 2.0final is released.
|
250 files are affected, will wait until after 2.0final is released.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=114557&group_id=5470
|
http://www.python.org/sf/214557
|
||||||
|
|
||||||
- Port the Python SSL code to Windows.
|
- Port the Python SSL code to Windows.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110683&group_id=5470
|
http://www.python.org/sf/210683
|
||||||
|
|
||||||
- Extend Windows utime to accept directory paths.
|
- Extend Windows utime to accept directory paths.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=114245&group_id=5470
|
http://www.python.org/sf/214245
|
||||||
|
|
||||||
- Extend copy.py to class, module & function types.
|
- Extend copy.py to class, module & function types.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=114553&group_id=5470
|
http://www.python.org/sf/214553
|
||||||
|
|
||||||
- Better checking for bad input to marshal.load*().
|
- Better checking for bad input to marshal.load*().
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=114754&group_id=5470
|
http://www.python.org/sf/214754
|
||||||
|
|
||||||
- Generalize eval to accept any mapping objects for locals and globals.
|
- Generalize eval to accept any mapping objects for locals and globals.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=115126&group_id=5470
|
http://www.python.org/sf/215126
|
||||||
|
|
||||||
- Add a portable implementation of time.strptime() that works in
|
- Add a portable implementation of time.strptime() that works in
|
||||||
clearly defined ways on all platforms.
|
clearly defined ways on all platforms.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=115146&group_id=5470
|
http://www.python.org/sf/215146
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=112244&group_id=5470
|
http://www.python.org/sf/212244
|
||||||
|
|
||||||
- rfc822.py should be more lenient than the spec in the types of
|
- rfc822.py should be more lenient than the spec in the types of
|
||||||
address fields it parses. Specifically, an invalid address of
|
address fields it parses. Specifically, an invalid address of
|
||||||
the form "From: Amazon.com <delivers-news2@amazon.com>" should
|
the form "From: Amazon.com <delivers-news2@amazon.com>" should
|
||||||
be parsed correctly.
|
be parsed correctly.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110678&group_id=5470
|
http://www.python.org/sf/210678
|
||||||
|
|
||||||
- cgi.py's FieldStorage class should be more conservative with
|
- cgi.py's FieldStorage class should be more conservative with
|
||||||
memory in the face of large binary file uploads.
|
memory in the face of large binary file uploads.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110674&group_id=5470
|
http://www.python.org/sf/210674
|
||||||
|
|
||||||
There are two issues here: first, because
|
There are two issues here: first, because
|
||||||
read_lines_to_outerboundary() uses readline() it is possible
|
read_lines_to_outerboundary() uses readline() it is possible
|
||||||
|
@ -166,17 +189,17 @@ Standard Library
|
||||||
The second issue was related to the self.lines attribute, which
|
The second issue was related to the self.lines attribute, which
|
||||||
was removed in revision 1.56 of cgi.py (see also):
|
was removed in revision 1.56 of cgi.py (see also):
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=119806&group_id=5470
|
http://www.python.org/sf/219806
|
||||||
|
|
||||||
- urllib should support proxy definitions that contain just the
|
- urllib should support proxy definitions that contain just the
|
||||||
host and port
|
host and port
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110849&group_id=5470
|
http://www.python.org/sf/210849
|
||||||
|
|
||||||
- urlparse should be updated to comply with RFC 2396, which
|
- urlparse should be updated to comply with RFC 2396, which
|
||||||
defines optional parameters for each segment of the page.
|
defines optional parameters for each segment of the page.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110834&group_id=5470
|
http://www.python.org/sf/210834
|
||||||
|
|
||||||
- The exceptions raised by pickle and cPickle are currently
|
- The exceptions raised by pickle and cPickle are currently
|
||||||
different; these should be unified (probably the exceptions
|
different; these should be unified (probably the exceptions
|
||||||
|
@ -188,7 +211,7 @@ Standard Library
|
||||||
and then do the usual %HH conversion. But this is not the only
|
and then do the usual %HH conversion. But this is not the only
|
||||||
one!
|
one!
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=116716&group_id=5470
|
http://www.python.org/sf/216716
|
||||||
|
|
||||||
- There should be a way to say that you don't mind if str() or
|
- There should be a way to say that you don't mind if str() or
|
||||||
__str__() return a Unicode string object. Or a different
|
__str__() return a Unicode string object. Or a different
|
||||||
|
@ -204,35 +227,35 @@ Standard Library
|
||||||
- Killing a thread from another thread. Or maybe sending a
|
- Killing a thread from another thread. Or maybe sending a
|
||||||
signal. Or maybe raising an asynchronous exception.
|
signal. Or maybe raising an asynchronous exception.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=121115&group_id=5470
|
http://www.python.org/sf/221115
|
||||||
|
|
||||||
- The debugger (pdb) should understand packages.
|
- The debugger (pdb) should understand packages.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110631&group_id=5470
|
http://www.python.org/sf/210631
|
||||||
|
|
||||||
- The cmath library should be rewritten in Python.
|
- The cmath library should be rewritten in Python.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110838&group_id=5470
|
http://www.python.org/sf/210838
|
||||||
|
|
||||||
- Could use a more comprehensive email module. (But then again,
|
- Could use a more comprehensive email module. (But then again,
|
||||||
that may be better done as a 3rd party project.)
|
that may be better done as a 3rd party project.)
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=121208&group_id=5470
|
http://www.python.org/sf/221208
|
||||||
|
|
||||||
- every built-in function or method (including all core
|
- every built-in function or method (including all core
|
||||||
extensions) that accepts a string, dict, or list, should also
|
extensions) that accepts a string, dict, or list, should also
|
||||||
accept a UserString, UserDict, or UserList. (The latter two
|
accept a UserString, UserDict, or UserList. (The latter two
|
||||||
should more generally accept all mappings, all sequences.)
|
should more generally accept all mappings, all sequences.)
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=132493&group_id=5470
|
http://www.python.org/sf/232493
|
||||||
|
|
||||||
- Fatter math module docs and docstrings.
|
- Fatter math module docs and docstrings.
|
||||||
|
|
||||||
http://sf.net/tracker/?func=detail&aid=426539&group_id=5470&atid=105470
|
http://www.python.org/sf/426539
|
||||||
|
|
||||||
- New math module radians() and degrees() functions.
|
- New math module radians() and degrees() functions.
|
||||||
|
|
||||||
http://sf.net/tracker/?func=detail&aid=426539&group_id=5470&atid=105470
|
http://www.python.org/sf/426539
|
||||||
|
|
||||||
- Jim Fulton suggested the following:
|
- Jim Fulton suggested the following:
|
||||||
|
|
||||||
|
@ -246,7 +269,7 @@ Standard Library
|
||||||
Then the cgi module (and other apps) could use this thing in a
|
Then the cgi module (and other apps) could use this thing in a
|
||||||
uniform way.
|
uniform way.
|
||||||
|
|
||||||
http://sf.net/tracker/?func=detail&aid=415692&group_id=5470&atid=355470
|
http://www.python.org/sf/415692
|
||||||
|
|
||||||
- Jim Fulton pointed out that binascii's b2a_base64() function
|
- Jim Fulton pointed out that binascii's b2a_base64() function
|
||||||
restricts the length of its input to 57 characters for no good
|
restricts the length of its input to 57 characters for no good
|
||||||
|
@ -264,7 +287,7 @@ Standard Library
|
||||||
- possibly special-case None as the delimiter string to avoid
|
- possibly special-case None as the delimiter string to avoid
|
||||||
adding the pad bytes too???
|
adding the pad bytes too???
|
||||||
|
|
||||||
http://sf.net/tracker/?func=detail&aid=415694&group_id=5470&atid=355470
|
http://www.python.org/sf/415694
|
||||||
|
|
||||||
|
|
||||||
Tools
|
Tools
|
||||||
|
@ -273,26 +296,26 @@ Tools
|
||||||
be done properly, scripts will have to be run in a separate
|
be done properly, scripts will have to be run in a separate
|
||||||
process.
|
process.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110841&group_id=5470
|
http://www.python.org/sf/210841
|
||||||
|
|
||||||
- Python could use a GUI builder.
|
- Python could use a GUI builder.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110820&group_id=5470
|
http://www.python.org/sf/210820
|
||||||
|
|
||||||
- IDLE's key bindings should be revised. Some of the advertised
|
- IDLE's key bindings should be revised. Some of the advertised
|
||||||
bindings don't even work!
|
bindings don't even work!
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110659&group_id=5470
|
http://www.python.org/sf/210659
|
||||||
|
|
||||||
- IDLE has deep problems running threaded programs. Re-architect.
|
- IDLE has deep problems running threaded programs. Re-architect.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=121963&group_id=5470
|
http://www.python.org/sf/221963
|
||||||
|
|
||||||
- Would be nice if IDLE showed which structure was being closed upon
|
- Would be nice if IDLE showed which structure was being closed upon
|
||||||
typing one of "})]". Heck, a string too, for that matter.
|
typing one of "})]". Heck, a string too, for that matter.
|
||||||
The bug report also says something about TAB I didn't grok.
|
The bug report also says something about TAB I didn't grok.
|
||||||
|
|
||||||
http://sf.net/tracker/?func=detail&aid=404444&group_id=5470&atid=105470
|
http://www.python.org/sf/404444
|
||||||
|
|
||||||
|
|
||||||
Building and Installing
|
Building and Installing
|
||||||
|
@ -300,14 +323,14 @@ Building and Installing
|
||||||
- You should be able to configure and build Python with a
|
- You should be able to configure and build Python with a
|
||||||
cross-compiler.
|
cross-compiler.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=110836&group_id=5470
|
http://www.python.org/sf/210836
|
||||||
|
|
||||||
- Modules/makesetup should make sure the 'config.c' file it
|
- Modules/makesetup should make sure the 'config.c' file it
|
||||||
generates from the various Setup files, is valid C. It currently
|
generates from the various Setup files, is valid C. It currently
|
||||||
accepts module names with characters that are not allowable in
|
accepts module names with characters that are not allowable in
|
||||||
Python or C identifiers.
|
Python or C identifiers.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=116326&group_id=5470
|
http://www.python.org/sf/216326
|
||||||
|
|
||||||
- There's a name conflict on case insensitive filesystems (in
|
- There's a name conflict on case insensitive filesystems (in
|
||||||
particular Mac OSX) between the directory "Python" and the key
|
particular Mac OSX) between the directory "Python" and the key
|
||||||
|
@ -316,7 +339,7 @@ Building and Installing
|
||||||
causes the binary to be *installed* as python.exe). What should
|
causes the binary to be *installed* as python.exe). What should
|
||||||
be the solution?
|
be the solution?
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=122215&group_id=5470
|
http://www.python.org/sf/222215
|
||||||
|
|
||||||
- Building from source should not attempt to overwrite the
|
- Building from source should not attempt to overwrite the
|
||||||
Include/graminit.h and Parser/graminit.c files, at least for
|
Include/graminit.h and Parser/graminit.c files, at least for
|
||||||
|
@ -324,12 +347,12 @@ Building and Installing
|
||||||
or snapshots. Some people find this a problem in unusual build
|
or snapshots. Some people find this a problem in unusual build
|
||||||
environments.
|
environments.
|
||||||
|
|
||||||
http://sf.net/bugs/?func=detailbug&bug_id=119221&group_id=5470
|
http://www.python.org/sf/219221
|
||||||
|
|
||||||
- There should be at least an option to build Python as a shared
|
- There should be at least an option to build Python as a shared
|
||||||
library.
|
library.
|
||||||
|
|
||||||
http://sf.net/tracker/index.php?func=detail&aid=400938&group_id=5470&atid=305470
|
http://www.python.org/sf/400938
|
||||||
|
|
||||||
|
|
||||||
Local Variables:
|
Local Variables:
|
||||||
|
|
Loading…
Reference in New Issue