Guido decided to remove slicing opcodes (from Jeremy's mail about slicing bugs

in the new AST).
Found some more MACROs to remove.
This commit is contained in:
Neal Norwitz 2006-02-28 16:57:49 +00:00
parent 53c1f1795e
commit c2c6013283
1 changed files with 4 additions and 2 deletions

View File

@ -71,7 +71,7 @@ Core language
* 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 @@ To be removed:
* ```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