A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/047476.html below:

[Python-Dev] Re: Re: Decorators: vertical bar syntax

[Python-Dev] Re: Re: Decorators: vertical bar syntaxBob Ippolito bob at redivi.com
Tue Aug 10 00:10:35 CEST 2004
On Aug 9, 2004, at 5:50 PM, Fernando Perez wrote:

> I feel like I've said as much as is reasonable on this topic, so I'll 
> probably
> shut up and wait for something to happen.  I'll then see if IPython 
> needs
> fixing to live in a post-decorators world or not, and work accordingly.

Wouldn't it be reasonable to just change the magic character that 
IPython (and maybe even Leo) uses from '@' to ':', '=', or '/'?   As 
far as I know, it's practically[1] never valid Python to start a line 
with any of these symbols (this list of not definitive, of course).  
'/' has the advantage, for IPython, that it's easy to type (no shift 
involved, at least on my US keyboard) and should be familiar to many 
people as a "command" character from IRC clients, searching in vim and 
less, etc.

[1] It can be done with a backslash line continuation or in a 
multi-line docstring, but I wouldn't really consider that the beginning 
of a line in the practical sense...

-bob
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