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-July/045834.html below:

[Python-Dev] -1 on @[decorator]

[Python-Dev] -1 on @[decorator] [Python-Dev] -1 on @[decorator]Hannu Krosing hannu at tm.ee
Fri Jul 2 02:37:29 CEST 2004
On R, 2004-07-02 at 03:25, Edward C. Jones wrote:
> There are three 7-bit ASCII characters not used in Python: "@", "$", and 
> "?". Please don't waste one of them for the special purpose of decorators:
> 
>     @[staticmethod]
>     def fun(args):
>         ...
> 
> To me "@" says "not python". I use it in templates that generate Python 
> code.
> 
> -1 for "@" in decorators.

a nice backward-compatible notation would be
#[staticmethod]#

but I'm sure that someone is using that in his templates ;)

---------------
Hannu


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