A RetroSearch Logo

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

Search Query:

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

[Python-Dev] [PEP204] Range Literals

[Python-Dev] [PEP204] Range Literals [Python-Dev] [PEP204] Range LiteralsMoshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Sat, 15 Jul 2000 19:10:03 +0300 (IDT)
On Sat, 15 Jul 2000, Thomas Wouters wrote:

> There is also the question regarding (::) and generators. Should I finish
> the PEP for the sake of that ?

I think we decided we don't need those. The only reason people need
generators is for extra efficiency in 

for i in range(10^6):
	if i==5:
		break

But the compiler can do that for the [::] version, since it's
non-overridable.

About the refactoring: my advice is to refactor first, and ask questions
later <0.6 wink> -- after you mess with the code, just moving a function
around takes about 3 seconds.

(I'd put it in listobject.c first -- but just pick a place)







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