python/nondist/peps pep-3000.txt,1.18,1.19
![](https://secure.gravatar.com/avatar/b929d7a47a24393ffa010de48f10e27a.jpg?s=120&d=mm&r=g)
Update of /cvsroot/python/python/nondist/peps In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25340 Modified Files: pep-3000.txt Log Message: Create new "Atomic Types" section and add mention of removal of basestring.find and friends. Index: pep-3000.txt =================================================================== RCS file: /cvsroot/python/python/nondist/peps/pep-3000.txt,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- pep-3000.txt 6 Aug 2005 23:13:59 -0000 1.18 +++ pep-3000.txt 27 Aug 2005 18:27:33 -0000 1.19 @@ -73,8 +73,8 @@ * Unbound methods [7]_ -Built-ins -========= +Built-in Namespace +================== * Make built-ins return an iterator where appropriate (e.g. ``range()``, ``zip()``, etc.) @@ -100,6 +100,15 @@ * ``xrange()``: use ``range()`` instead [1]_ +Atomic Types +============ + +To be removed: + +* ``basestring.find()`` and ``basestring.rfind()``; use ``basestring.index()`` + or ``basestring.rindex()`` in a try/except block [15]_ + + Standard library ================ @@ -155,7 +164,10 @@ http://mail.python.org/pipermail/python-dev/2005-April/053060.html .. [14] python-dev email ("PEP 8: exception style") - http://mail.python.org/pipermail/python-dev/2005-August/055190.html + http://mail.python.org/pipermail/python-dev/2005-August/055190.html + +.. [15] python-dev email (Remove str.find in 3.0?) + http://mail.python.org/pipermail/python-dev/2005-August/055705.html Copyright
participants (1)
-
bcannon@users.sourceforge.net