Some Python 2.1 ideas

Thomas Wouters thomas at
Sun Dec 24 06:42:52 EST 2000

On Sun, Dec 24, 2000 at 11:43:36AM +0100, Peter Schneider-Kamp wrote:

> Can you detail the 'for i in <x> .. <y>' proposal?

It's just syntactic sugar (with an opening for some optimization internally)

  for i in range(<x>, <y>)

or, *perhaps*,

  for i in range(<x>, <y>+1)

Guido and usability studies would have to determine which is best :-)

Thomas Wouters <thomas at>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!

More information about the Python-list mailing list