On Fri, Jul 19, 2002, Ka-Ping Yee wrote: > > I believe this is where the biggest debate lies: whether "for" should be > non-destructive. I realize we are currently on the other side of the > fence, but i foresee enough potential pain that i would like you to > consider the value of keeping "for" loops non-destructive. Consider for line in f.readlines(): in any version of Python. Adding iterators made this more convenient and efficient, but I just can't see your POV in the general case. -- Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/ Project Vote Smart: http://www.vote-smart.org/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4