[Python-checkins] r55909 - peps/trunk/pep-3100.txt

georg.brandl python-checkins at python.org
Mon Jun 11 20:44:51 CEST 2007


Author: georg.brandl
Date: Mon Jun 11 20:44:47 2007
New Revision: 55909

Modified:
   peps/trunk/pep-3100.txt
Log:
Add new additions/removals to PEP 3100.


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


More information about the Python-checkins mailing list