[Python-Dev] Call for defense of @decorators

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant