[Python-ideas] What about allowing '?' in method names?

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Aug 7 11:10:24 CEST 2009

Stephen J. Turnbull wrote:

> So does Lisp.  But those languages simply allow ? as part of an identifier.

Lisp allows almost *anything* as part of an identifier.

Python doesn't, and I like it that way. Making exceptions
for just a few characters would make the rules for what
is allowed in an identifier more complicated and harder
to remember, for little benefit that I can see.


More information about the Python-ideas mailing list