[Python-Dev] Re: PEP 318: Decorators last before colon (original) (raw)
Simon Percivall s.percivall at chello.se
Mon Apr 5 22:00:50 EDT 2004
- Previous message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Next message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2004-04-06, at 01.24, David Eppstein wrote:
Ok, then how about 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.
- Previous message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Next message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]