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] * String exceptions: use instances of an Exception class [2]_ [done]
* ``raise Exception, "message"``: use ``raise Exception("message")`` [12]_ * ``raise Exception, "message"``: use ``raise Exception("message")`` [12]_
[done]
* ```x```: use ``repr(x)`` [2]_ [done] * ```x```: use ``repr(x)`` [2]_ [done]
* The ``<>`` operator: use ``!=`` instead [3]_ [done] * The ``<>`` operator: use ``!=`` instead [3]_ [done]
* The __mod__ and __divmod__ special methods on float. [they should stay] [21]_ * The __mod__ and __divmod__ special methods on float. [they should stay] [21]_
* Drop unbound methods [7]_ [25]_ [done] * Drop unbound methods [7]_ [25]_ [done]
* METH_OLDARGS * METH_OLDARGS [done]
* WITH_CYCLE_GC [done] * WITH_CYCLE_GC [done]
* __getslice__, __setslice__, __delslice__ [#sequence-types]_; * __getslice__, __setslice__, __delslice__ [#sequence-types]_;
remove slice opcodes and use slice objects. remove slice opcodes and use slice objects. [done]
[Thomas Wouters is working on this in a branch]
* ``__oct__``, ``__hex__``: use ``__index__`` in ``oct()`` and ``hex()`` * ``__oct__``, ``__hex__``: use ``__index__`` in ``oct()`` and ``hex()``
instead. [done] instead. [done]
* ``__methods__`` and ``__members__`` [done] * ``__methods__`` and ``__members__`` [done]
@ -146,12 +146,11 @@ Atomic Types
* Remove distinction between int and long types; 'long' built-in type and * Remove distinction between int and long types; 'long' built-in type and
literals with 'L' or 'l' suffix disappear [1]_ [done] literals with 'L' or 'l' suffix disappear [1]_ [done]
* Make all strings be Unicode, and have a separate bytes() type [1]_ * Make all strings be Unicode, and have a separate bytes() type [1]_
The new string type will be called 'str'. The new string type will be called 'str'. See PEP 3137. [done]
[largely done, in py3k-struni branch]
* Return iterable views instead of lists where appropriate for atomic * Return iterable views instead of lists where appropriate for atomic
type methods (e.g. ``dict.keys()``, ``dict.values()``, type methods (e.g. ``dict.keys()``, ``dict.values()``,
``dict.items()``, etc.); iter* methods will be removed. [done] ``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. * Fix open() so it returns a ValueError if the mode is bad rather than IOError.
[done] [done]
@ -181,7 +180,7 @@ Built-in Namespace
To be removed: To be removed:
* ``apply()``: use ``f(*args, **kw)`` instead [2]_ [done] * ``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] * ``callable()``: just use hasattr(x, '__call__') (?) [2]_ [done]
* ``compile()``: put in ``sys`` (or perhaps in a module of its own) [2]_ * ``compile()``: put in ``sys`` (or perhaps in a module of its own) [2]_
* ``coerce()``: no longer needed [2]_ [done] * ``coerce()``: no longer needed [2]_ [done]
@ -218,9 +217,7 @@ To be removed:
``rfc822``, ``rfc822``,
[to do] [to do]
- ``mpz``, ``posixfile``, ``regsub``, ``rgbimage``, - ``mpz``, ``posixfile``, ``regsub``, ``rgbimage``,
``sha``, ``sha``, ``statcache``, ``sv``, ``TERMIOS``, ``timing`` [done]
``statcache``,
``sv``, ``TERMIOS``, ``timing`` [done]
- ``cfmfile``, ``gopherlib``, ``md5``, ``MimeWriter``, ``mimify`` [done] - ``cfmfile``, ``gopherlib``, ``md5``, ``MimeWriter``, ``mimify`` [done]
- ``cl``, ``sets``, ``xreadlines``, ``rotor``, ``whrandom`` [done] - ``cl``, ``sets``, ``xreadlines``, ``rotor``, ``whrandom`` [done]
+ Everything in lib-old [#pep4]_ [done] + Everything in lib-old [#pep4]_ [done]