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

[Python-Dev] Attribute strings?

[Python-Dev] Attribute strings? [Python-Dev] Attribute strings?Guido van Rossum guido at python.org
Sun Aug 8 23:04:11 CEST 2004
> Has anyone suggested the following?

Not AFAIK.

> Create a new kind of string, _not_ a docstring, to hold annotations, etc.
> 
> """@annotate whatever""" or even ""@" whatever"""

The first is a valid string literal now, and thus gets the same fate
as [decorators] -- lots of people get very uncomfortable at the
ambiguity of assigning a new meaning to something that was legal
syntax before (even if it was meaningless).

The second is not a valid string literal now -- doesn't that cause the
same problems for Leo as @decorators?

--Guido van Rossum (home page: http://www.python.org/~guido/)
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