Greg Ewing wrote: > I can't remember seeing any particular objection -- just > a matter of inertia, I think (i.e. nice to have but not > compelling enough to spur the BDFL to accept it). This certainly summarises my reason for criticising it. It's application to a basic 'command parsing' scenario was a useful case I hadn't thought of, though: >>> commands = line.split() for line in commandFile.readlines() >>> for command, *args in commands do: func_table[command](*args) However, the slicing based alternative is fairly readable, too and if the BDFL says the interpreter changes needed to support the feature are too drastic, I'm willing to believe him :) Regards, Nick. -- Nick Coghlan | Eugene, Oregon Email: ncoghlan at email.com | USA
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