A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-July/006477.html below:

[Python-Dev] [PEP204] Range Literals

[Python-Dev] [PEP204] Range Literals [Python-Dev] [PEP204] Range LiteralsBarry A. Warsaw bwarsaw@beopen.com
Fri, 14 Jul 2000 00:09:48 -0400 (EDT)
>>>>> "PP" == Paul Prescod <paul@prescod.net> writes:

    PP> Why disallow this:

    PP> fives=[0:maxint:5]

    PP> As Fred points out, we've already got the underlying object
    PP> implementation in the src!

    PP> MAL also pointed out that immutable objects (like xranges) can
    PP> be safely precomputed and reused.

    PP> Finally, whatever the answer is, it should probably be the
    PP> same as list comprehensions.

This is why you want a PEP, Paul!

-Barry



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4