PEP 260: simplify xrange()

Roman Suzi rnd at onego.ru
Tue Jun 26 14:47:28 EDT 2001


On Tue, 26 Jun 2001, Guido van Rossum wrote:

>PEP: 260
>Title: Simplify xrange()
>Version: $Revision: 1.1 $
>Author: guido at python.org (Guido van Rossum)
>Status: Draft
>Type: Standards Track
>Python-Version: 2.2
>Created: 26-Jun-2001
>Post-History: 26-Jun-2001
>
>Proposed Solution
>
>    I propose to strip the xrange() object to the bare minimum.  The
>    only retained sequence behaviors are x[i], len(x), and repr(x).

What about str(x)?


Sincerely yours, Roman Suzi
-- 
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Tuesday, June 26, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "It is better to be brief than boring." _/





More information about the Python-list mailing list