Status update.

This commit is contained in:
Georg Brandl 2007-12-09 15:29:34 +00:00
parent a710a2504c
commit cd0940e93a
1 changed files with 7 additions and 10 deletions

View File

@ -118,15 +118,15 @@ To be removed:
* 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 @@ Atomic Types
* 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 @@ Built-in Namespace
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 @@ To be removed:
``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]