Add new additions/removals to PEP 3100.

This commit is contained in:
Georg Brandl 2007-06-11 18:44:47 +00:00
parent 79617dfee4
commit 5129f81bdd
1 changed files with 3 additions and 0 deletions

View File

@ -130,6 +130,8 @@ To be removed:
* __getslice__, __setslice__, __delslice__ [#sequence-types]_; * __getslice__, __setslice__, __delslice__ [#sequence-types]_;
remove slice opcodes and use slice objects. remove slice opcodes and use slice objects.
[Thomas Wouters is working on this in a branch] [Thomas Wouters is working on this in a branch]
* ``__oct__``, ``__hex__``: use ``__index__`` in ``oct()`` and ``hex()``
instead. [done]
* C APIs (see code): * C APIs (see code):
PyFloat_AsString, PyFloat_AsReprString, PyFloat_AsStringEx, PyFloat_AsString, PyFloat_AsReprString, PyFloat_AsStringEx,
PySequence_In, PyEval_EvalFrame, PyEval_CallObject, PySequence_In, PyEval_EvalFrame, PyEval_CallObject,
@ -178,6 +180,7 @@ Built-in Namespace
argument; suggested use is for objects like float where calling ``__int__()`` argument; suggested use is for objects like float where calling ``__int__()``
has data loss, but an integral representation is still desired? [8]_ has data loss, but an integral representation is still desired? [8]_
* Exception hierarchy changes [#pep352]_ [done] * Exception hierarchy changes [#pep352]_ [done]
* Add a ``bin()`` function for a binary representation of integers [done]
To be removed: To be removed: