[Python-checkins] python/nondist/peps pep-0042.txt,1.77,1.78

rhettinger@users.sourceforge.net rhettinger at users.sourceforge.net
Sun Jun 19 09:37:06 CEST 2005


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24848

Modified Files:
	pep-0042.txt 
Log Message:
Miscellaneous updates to PEP 42

* Builtin that determines an object's size in bytes.  This is much more
  intractable than it would seem.  Allocating a single object may result
  in a large block being requested from the O/S and never being returned
  until shutdown.

* Test suite.  This was a useless entry and more applicable before huge
  efforts were expended to improve testing coverage.

* Four-space tabs.  This was fixed-up a long time ago.  Since then,
  a whitespace czar routinely comes along correct subsequent transgressions.

* Generalized eval.  This was done for Py2.4.

* Generalizing builtins to accept UserDict, UserList, sequences etc.
  This is somewhat out-of-date with the introduction of subclassable
  builtin types and the iterator interface.




Index: pep-0042.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0042.txt,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- pep-0042.txt	26 May 2004 16:17:39 -0000	1.77
+++ pep-0042.txt	19 Jun 2005 07:37:03 -0000	1.78
@@ -52,12 +52,6 @@
 
 Core Language / Builtins
 
-    - A builtin function that returns the number of bytes an object
-      uses internally.  Apparently mxTools has a sizeof function that
-      returns the size of the object struct itself.
-
-      http://www.python.org/sf/210835
-
     - The parser should handle more deeply nested parse trees.
 
       The following will fail -- eval("["*50 + "]"*50) -- because the
@@ -95,12 +89,6 @@
 
 Standard Library
 
-    - The test suite is incomplete (and probably always will be).
-      This is a reminder to people that more regression tests are
-      needed.
-
-      http://www.python.org/sf/210819
-
     - The urllib module should support proxies which require
       authenication.  See SourceForge bug #210619 for information:
 
@@ -122,14 +110,6 @@
 
       http://www.python.org/sf/210599
 
-    - 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
-      release of 2.0b1, but got misinterpreted as the weaker condition that
-      tabnanny not complain.  Tim Peters will do this now, but, since about
-      250 files are affected, will wait until after 2.0final is released.
-
-      http://www.python.org/sf/214557
-
     - Extend Windows utime to accept directory paths.
 
       http://www.python.org/sf/214245
@@ -142,10 +122,6 @@
 
       http://www.python.org/sf/214754
 
-    - Generalize eval to accept any mapping objects for locals and globals.
-
-      http://www.python.org/sf/215126
-
     - rfc822.py should be more lenient than the spec in the types of
       address fields it parses.  Specifically, an invalid address of
       the form "From: Amazon.com <delivers-news2 at amazon.com>" should
@@ -207,13 +183,6 @@
 
       http://www.python.org/sf/210631
 
-    - every built-in function or method (including all core
-      extensions) that accepts a string, dict, or list, should also
-      accept a UserString, UserDict, or UserList.  (The latter two
-      should more generally accept all mappings, all sequences.)
-
-      http://www.python.org/sf/232493
-
     - Jim Fulton suggested the following:
 
         I wonder if it would be a good idea to have a new kind of



More information about the Python-checkins mailing list