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

[Python-Dev] Reserved Characters

[Python-Dev] Reserved Characters"Martin v. Löwis" martin at v.loewis.de
Fri Aug 20 22:12:10 CEST 2004
Jim J Jewett wrote:
> One of the objections to @decorators is that it 
> will cause problems for applications that used 
> '@', simply because of it was one of only three 
> characters that *might* be available.

I personally believe that the set of characters
available to programming languages will extend beyond
us-ascii sooner or later. So the number of available
characters is several thousand.

> Newer String interpolation will also use up '$', 
> which leaves only '?'.

That is not true. $ will have a special meaning only
inside string literals. It can be put into string
literals already, so the lexical rules don't change
at all with that change.

> Is it time to reserve a character to the user, or
> at least to reserve some in certain contexts?  

I don't think so. People who desire to put additional
stuff into Python files should use Python comments.
Indeed, #! already has a special meaning on some systems.

Regards,
Martin
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