[Python-Dev] Reserved Characters

Jim J Jewett jimjjewett at yahoo.com
Fri Aug 20 21:10:58 CEST 2004

Python does not currently reserve any characters 
for user extensions.

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.

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

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

"""Python will not use '!' except as part of '!='
"""The '?' character is reserved for the user."""


Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.

More information about the Python-Dev mailing list