From cd0940e93acaf1cff4209d526c201617c38135d1 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 9 Dec 2007 15:29:34 +0000 Subject: [PATCH] Status update. --- pep-3100.txt | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pep-3100.txt b/pep-3100.txt index cb13b7d69..217ab7943 100644 --- a/pep-3100.txt +++ b/pep-3100.txt @@ -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]