On Mon, Feb 2, 2015 at 5:11 PM, Chris Barker - NOAA Federal <chris.barker@noaa.gov> wrote:
Please go read PEP 204, as Nick suggested. It would be nice if there was more Kongo as to why it was rejected, but it was, indeed, rejected.

I also recall a lot of drawn out threads about more compact syntax for a for loop over integers, such as making the integer object iterable:

for I in 10:
    pass

Which were also all rejected. 

Unless someone comes up with a compelling argument that something has changed, it seems this conversation has been had already.



My syntax is not identical to the syntax proposed there, and in was chosen, in part, to avoid some of the issues that were responsible for its rejection. 

The reasons given for rejection were "open issues" and "some confusion between ranges and slice syntax". 

For the latter, part of my reason for using parentheses instead of brackets is to avoid potential confusion.  So without knowing what specific confusion was being referred to I can't say whether this complaint is relevant or not.

For the open issues, all of the issues are either no longer relevant in python 3 or are not applicable to my proposed syntax.  The first is fixed by the python 3 range type, the fourth is fixed by the elimination of the long type in python 3, and the second, third, and fifth are not relevant to my proposed syntax (in fact I chose parentheses instead of brackets partly to avoid ambiguities and complications like these).