Movatterモバイル変換
[0]ホーム
[Python-Dev] Re: Sets: elt in dict, lst.include
Neil Schemenauernas@arctrix.com
Tue, 30 Jan 2001 09:24:54 -0800
[Tim Peters on adding yet more syntatic sugar]> Available time is finite, and this isn't at the top of the list> of things I'd like to see (resuming the discussion of> generators + coroutines + iteration protocol comes to mind> first).What's the chances of getting generators into 2.2? Theimplementation should not be hard. Didn't Steven Majewski havesomething years ago? Why do we always get sidetracked on tryingto figure out how to do coroutines and continuations?Generators would add real power to the language and are simpleenough that most users could benefit from them. Also, it should bepossible to design an interface that does not preclude theaddition of coroutines or continuations later.I'm not volunteering to champion the cause just yet. I just wantto know if there is some issue I'm missing. Neil
[8]ページ先頭