[Python-3000] Ellipsis Literal
Gisle Aas
gisle at activestate.com
Fri Jan 25 16:47:13 CET 2008
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
More information about the Python-3000
mailing list