[Python-Dev] Call for defense of @decorators (original) (raw)

Bob Ippolito bob at redivi.com
Fri Aug 6 00:54:44 CEST 2004


On Aug 5, 2004, at 6:43 PM, Edward K. Ream wrote:

- The @ character is used in at least two tools (Leo, IPython), and this is being considered as something bad, but not a show stopper; I wonder how bad @ is, even for Leo. Is there any consensus or opinions about how many files will actually contain annotations? If there aren't many, people could change the delimiter for Leo directives from @ to @@ just for those files :-) Of course, Leo can't do this yet, but that's a nit...

I think the idea is that Leo should escape the program code sort of like SQL escapes quotes. What you have right now just sounds fragile.

@leo @@pythondecorator @leo

@leo @@perlarray

P.S. Oh yeah, just to make sure: @@ won't be valid in annotations, will it?

No.

-bob



More information about the Python-Dev mailing list