[Python-Dev] Lockstep iteration - eureka! (original) (raw)

Ken Manheimer klm@digicool.com
Wed, 9 Aug 2000 18:05:57 -0400 (EDT)


On Wed, 9 Aug 2000, Just van Rossum wrote:

PEP: 1716099-3 Title: Index-enhanced sequence iteration [...] It adds an optional clause to the 'for' statement:

for indexing in : ... [...] Disadvantages: It will break that one person's code that uses "indexing" as a variable name.

  It creates a new 'for' variant, increasing challenge for beginners 
  (and the befuddled, like me) of tracking the correct syntax.

I could see that disadvantage being justified by a more significant change

Ken klm@digicool.com