[Python-checkins] r59440 - peps/trunk/pep-3100.txt
georg.brandl
python-checkins at python.org
Sun Dec 9 16:29:34 CET 2007
Author: georg.brandl
Date: Sun Dec 9 16:29:34 2007
New Revision: 59440
Modified:
peps/trunk/pep-3100.txt
Log:
Status update.
Modified: peps/trunk/pep-3100.txt
==============================================================================
--- peps/trunk/pep-3100.txt (original)
+++ peps/trunk/pep-3100.txt Sun Dec 9 16:29:34 2007
@@ -118,15 +118,15 @@
* String exceptions: use instances of an Exception class [2]_ [done]
* ``raise Exception, "message"``: use ``raise Exception("message")`` [12]_
+ [done]
* ```x```: use ``repr(x)`` [2]_ [done]
* The ``<>`` operator: use ``!=`` instead [3]_ [done]
* The __mod__ and __divmod__ special methods on float. [they should stay] [21]_
* Drop unbound methods [7]_ [25]_ [done]
-* METH_OLDARGS
+* METH_OLDARGS [done]
* WITH_CYCLE_GC [done]
* __getslice__, __setslice__, __delslice__ [#sequence-types]_;
- remove slice opcodes and use slice objects.
- [Thomas Wouters is working on this in a branch]
+ remove slice opcodes and use slice objects. [done]
* ``__oct__``, ``__hex__``: use ``__index__`` in ``oct()`` and ``hex()``
instead. [done]
* ``__methods__`` and ``__members__`` [done]
@@ -146,12 +146,11 @@
* Remove distinction between int and long types; 'long' built-in type and
literals with 'L' or 'l' suffix disappear [1]_ [done]
* Make all strings be Unicode, and have a separate bytes() type [1]_
- The new string type will be called 'str'.
- [largely done, in py3k-struni branch]
+ The new string type will be called 'str'. See PEP 3137. [done]
* Return iterable views instead of lists where appropriate for atomic
type methods (e.g. ``dict.keys()``, ``dict.values()``,
``dict.items()``, etc.); iter* methods will be removed. [done]
-* Make ``string.join()`` stringify its arguments? [18]_
+* Make ``string.join()`` stringify its arguments? [18]_ [NO]
* Fix open() so it returns a ValueError if the mode is bad rather than IOError.
[done]
@@ -181,7 +180,7 @@
To be removed:
* ``apply()``: use ``f(*args, **kw)`` instead [2]_ [done]
-* ``buffer()``: must die (use a bytes() type instead) (?) [2]_
+* ``buffer()``: must die (use a bytes() type instead) (?) [2]_ [done]
* ``callable()``: just use hasattr(x, '__call__') (?) [2]_ [done]
* ``compile()``: put in ``sys`` (or perhaps in a module of its own) [2]_
* ``coerce()``: no longer needed [2]_ [done]
@@ -218,9 +217,7 @@
``rfc822``,
[to do]
- ``mpz``, ``posixfile``, ``regsub``, ``rgbimage``,
- ``sha``,
- ``statcache``,
- ``sv``, ``TERMIOS``, ``timing`` [done]
+ ``sha``, ``statcache``, ``sv``, ``TERMIOS``, ``timing`` [done]
- ``cfmfile``, ``gopherlib``, ``md5``, ``MimeWriter``, ``mimify`` [done]
- ``cl``, ``sets``, ``xreadlines``, ``rotor``, ``whrandom`` [done]
+ Everything in lib-old [#pep4]_ [done]
More information about the Python-checkins
mailing list