On Jan 24, 2008, at 20:32, Guido van Rossum wrote: > Some folks thought it would be cute to be able to write incomplete > code like this: > > class C: > def meth(self): ... > ... > > and have it be syntactically correct.
I think it would be been nice if "..." raised an NotYetImplemented exception if executed as a lone statement. Is that desirable and doable? BTW, Perl 6 also introduce the same feature and Larry calls it the "yadayadayada operator"[1]. Regards, Gisle > > PEP 3100 has the reference: > * ``...`` to become a general expression element [16]_ [done] > .. [16] python-3000 email > http://mail.python.org/pipermail/python-3000/2006-April/000996.html [1] http://dev.perl.org/perl6/doc/design/syn/S06.html _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com