On Thu, 31 Aug 2000, Greg Ewing wrote: > Peter Schneider-Kamp <nowonder@nowonder.de>: > > > As far as I know adding a builtin indices() has been > > rejected as an idea. > > But why? I know it's been suggested, but I don't remember seeing any > convincing arguments against it. Or much discussion at all. I submitted a patch to add indices() and irange() previously. See: http://sourceforge.net/patch/?func=detailpatch&patch_id=101129&group_id=5470 Guido rejected it: gvanrossum: 2000-Aug-17 12:16 I haven't seen the debate! But I'm asked to pronounce anyway, and I just don't like this. Learn to write code that doesn't need the list index! tim_one: 2000-Aug-15 15:08 Assigned to Guido for Pronouncement. The debate's been debated, close it out one way or the other. ping: 2000-Aug-09 03:00 There ya go. I have followed the style of the builtin_range() function, and docstrings are included. -- ?!ng
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