A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-April/044104.html below:

[Python-Dev] Re: PEP 318: Decorators last before colon

[Python-Dev] Re: PEP 318: Decorators last before colonSimon Percivall s.percivall at chello.se
Mon Apr 5 22:00:50 EDT 2004
On 2004-04-06, at 01.24, David Eppstein wrote:
>
> Ok, then how about
>     <decorator>
>     def ...
> ?
>
> '<' can't start an expression or statement currently, can it?

Yeah. I think that would look better. On the other hand ...

On 2004-03-31, at 17.42, Guido van Rossum wrote:
> Why does <...> look better than [...]?  To me, <...> just reminds me
> of XML, which is totally the wrong association.
>
> There are several parsing problems with <...>: the lexer doesn't see <
> and > as matched brackets, so you won't be able to break lines without
> using a backslash, and the closing > is ambiguous -- it might be a
> comparison operator.


More information about the Python-Dev mailing list

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