Alan Kennedy wrote: > We still don't get anything that sheds light on how the code I posted > is deficient.
who said that? > Why can't you just say "I made a mistake, I thought your code replaced > the builtin enumerate, but it doesnt"? I can read python code quite well, thank you. the point here (which was made in the context of this thread) is that the "unpythonic" solution isn't all that bad, especially if you prefer writing code that runs well on more than just the latest platforms. your fallback solution doesn't do that; it punishes old platforms, and doesn't even perform as well as an "unpythonic" solution on recent ones. that's not much of a problem for use cases where performance isn't all that important, but it's something that should be kept in mind. </F> -- http://mail.python.org/mailman/listinfo/python-list