Arithmetic sequences in Python

Steven Bethard steven.bethard at gmail.com
Tue Jan 17 19:57:31 EST 2006


Gregory Petrosyan wrote:
> Hey guys, this proposal has already been rejected (it is the PEP 204).

No, this is a subtly different proposal.  Antoon is proposing *slice* 
literals, not *range* literals.  Note that "confusion between ranges and 
slice syntax" was one of the reasons for rejection of `PEP 204`_.  Which 
means that if Antoon really wants his proposal to go through, he 
probably needs to make sure that slice literals are clearly distinct 
from range literals.

.. _PEP 204: http://www.python.org/peps/pep-0204.html

STeVe




More information about the Python-list mailing list