[Python-checkins] python/nondist/peps pep-0000.txt, 1.331, 1.332 pep-0294.txt, 1.1, 1.2

rhettinger@users.sourceforge.net rhettinger at users.sourceforge.net
Tue Jun 28 10:00:15 CEST 2005


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

Modified Files:
	pep-0000.txt pep-0294.txt 
Log Message:
Reject 294's proposed updates to the "types" and "new" modules.
Instead, missing type names can be added to __builtin__ or sys.



Index: pep-0000.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0000.txt,v
retrieving revision 1.331
retrieving revision 1.332
diff -u -d -r1.331 -r1.332
--- pep-0000.txt	28 Jun 2005 07:39:09 -0000	1.331
+++ pep-0000.txt	28 Jun 2005 08:00:12 -0000	1.332
@@ -85,7 +85,6 @@
  S   280  Optimizing access to globals                 GvR
  S   286  Enhanced Argument Tuples                     von Loewis
  I   287  reStructuredText Docstring Format            Goodger
- S   294  Type Names in the types Module               Tirosh
  S   297  Support for System Upgrades                  Lemburg
  S   298  The Locked Buffer Interface                  Heller
  S   299  Special __main__() function in modules       Epler
@@ -201,6 +200,7 @@
  SR  281  Loop Counter Iteration with range and xrange Hetland
  SR  284  Integer for-loops                            Eppstein, Ewing
  SR  288  Generators Attributes and Exceptions         Hettinger
+ SR  294  Type Names in the types Module               Tirosh
  SR  295  Interpretation of multiline string constants Koltsov
  SR  296  Adding a bytes Object Type                   Gilbert
  SR  303  Extend divmod() for Multiple Divisors        Bellman
@@ -336,7 +336,7 @@
  I   291  Backward Compatibility for Standard Library  Norwitz
  SF  292  Simpler String Substitutions                 Warsaw
  SF  293  Codec Error Handling Callbacks               Dörwald
- S   294  Type Names in the types Module               Tirosh
+ SR  294  Type Names in the types Module               Tirosh
  SR  295  Interpretation of multiline string constants Koltsov
  SR  296  Adding a bytes Object Type                   Gilbert
  S   297  Support for System Upgrades                  Lemburg

Index: pep-0294.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0294.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- pep-0294.txt	23 Jun 2002 23:52:19 -0000	1.1
+++ pep-0294.txt	28 Jun 2005 08:00:12 -0000	1.2
@@ -3,10 +3,10 @@
 Version: $Revision$
 Last-Modified: $Date$
 Author: oren at hishome.net (Oren Tirosh)
-Status: Draft
+Status: Rejected
 Type: Standards track
 Created: 19-Jun-2002
-Python-Version: 2.3
+Python-Version: 2.5
 Post-History:
 
 
@@ -29,6 +29,21 @@
     PEP 4.
 
 
+Pronouncement
+
+    A centralized repository of type names was a mistake.  Neither the
+    "types" nor "new" modules should be carried forward to Python 3.0.
+
+    In the meantime, it does not make sense to make the proposed updates
+    to the modules.  This would cause disruption without any compensating
+    benefit.
+
+    Instead, the problem that some internal types (frames, functions,
+    etc.) don't live anywhere outside those modules may be addressed by
+    either adding them to __builtin__ or sys.  This will provide a
+    smoother transition to Python 3.0.
+    
+
 Rationale
 
     Using two sets of names for the same objects is redundant and



More information about the Python-checkins mailing list