Proposal: allow '?' and '!' in identifiers

Tim Rowe digitig at cix.co.uk
Tue Mar 6 13:17:00 EST 2001


In article <96sp4s$ni7$1 at news.mathworks.com>, jmarshal at mathworks.com 
(Joshua Marshall) wrote:

> Introducing some strange behavior with '!' may very well not be worth
> it.  However, while adding '?' as a legal identifier character does
> not make the Python more expressive, it can make Python programs more
> self-documenting.  The convention of ending predicate function names
> with '?' is useful, in my opinion.

Just end it with _p and everyone will think you're a converted Lisp 
hacker!




More information about the Python-list mailing list