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

Tim Rowe digitig at
Tue Mar 6 19:17:00 CET 2001

In article <96sp4s$ni7$1 at>, jmarshal at 
(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 

More information about the Python-list mailing list