[Python-checkins] r42651 - peps/trunk/pep-3000.txt

neal.norwitz python-checkins at python.org
Tue Feb 28 17:57:51 CET 2006


Author: neal.norwitz
Date: Tue Feb 28 17:57:49 2006
New Revision: 42651

Modified:
   peps/trunk/pep-3000.txt
Log:
Guido decided to remove slicing opcodes (from Jeremy's mail about slicing bugs
in the new AST).
Found some more MACROs to remove.


Modified: peps/trunk/pep-3000.txt
==============================================================================
--- peps/trunk/pep-3000.txt	(original)
+++ peps/trunk/pep-3000.txt	Tue Feb 28 17:57:49 2006
@@ -71,7 +71,7 @@
 * Cleanup the Py_InitModule() variants {,3,4} (also import and parser APIs)
 * Cleanup the APIs exported in pythonrun, etc.
 * Fix (or remove) {}.setdefault() [21]_
-* Some expressions will require paretheses that didn't in 2.x:
+* Some expressions will require parethenses that didn't in 2.x:
   - List comprehensions will require parentheses around the iterables.
     This will make list comprehensions more similar to generator comprehensions.
     [x for x in 1, 2] will need to be:  [x for x in (1, 2)]
@@ -87,13 +87,15 @@
 * ```x```: use ``repr(x)`` [2]_
 * The ``<>`` operator: use ``!=`` instead [3]_
 * Unbound methods [7]_
-* METH_OLDARGS
+* METH_OLDARGS, WITH_CYCLE_GC
 * __getslice__, __setslice__, __delslice__ [17]_
+* Remove slice opcodes and use slice objects
 * C APIs (see code):
   PyFloat_AsString, PyFloat_AsReprString, PyFloat_AsStringEx,
   PySequence_In, PyEval_EvalFrame, PyEval_CallObject,
   _PyObject_Del, _PyObject_GC_Del, _PyObject_GC_Track, _PyObject_GC_UnTrack
   PyString_AsEncodedString, PyString_AsDecodedString
+  PyArg_NoArgs, PyArg_GetInt
 
   typedefs: intargfunc, intintargfunc
 


More information about the Python-checkins mailing list