why no "do : until"?

Tim Peters tim.one at home.com
Mon Jan 8 21:57:32 EST 2001


[Norman Shelley (rrdn60)]
> So what has kept this proposal [for ... indexing ...] from seeing
> the light of day?

Guido actually implemented it a few years ago, but backed off when somebody
said they had a program that already used "indexing" as a vrbl name.
Keywords suck <wink>.  Before 2.0, Thomas Wouters implemented it again
without making "indexing" a keyword; that's Python patch #101138 on
SourceForge, and you can read its history there.

> It appears from your description that this would provide a nice
> speed increase.

Na, in real life it's pretty much a yawn.  Yes, it speeds up

    for i in range(len(a)):
        pass

enormously, but the more "pass" gets replaced with useful work, the less
significant the looping overhead.

> BTW, have you ever looked at fscript?
> http://csam.sps.mot.com/
> http://www.fscript.org./news.htm
> http://www.fscript.org./HighLevelOOP.pdf

Nope!  First link didn't resolve; the other two did.

> It appears to nicely marry Relational (its nice method of
> arbitrary queries without the OO nastiness of traversing) with OO.
> It would seem that Numeric.py might be a close starting point to
> designing/implementing Fscript's ideas in Python.

>From a quick glance, agreed that Numeric's users are the natural audience.
Guido will die before he allows

    A \ #+

as a way to spell "sum of all the elements in A", though.

heck-he-doesn't-even-like-"indexing"-and-that's-english<wink>-ly
    y'rs  - tim





More information about the Python-list mailing list