[Python-Dev] Reserved Characters (original) (raw)

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?

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

-jJ


Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush



More information about the Python-Dev mailing list