[PATCH] Identifiers with '?'
Michael Hudson
mwh21 at cam.ac.uk
Sun May 21 16:00:23 EDT 2000
Courageous <jkraska1 at san.rr.com> writes:
> > Tee hee. I have on my machine built (in the last few days) a Python
> > that allows one to use identifiers containing +, *, !, ?, & and @.
> > This means you have to space your operators properly, but is IMHO
> > quite a cool mod. I can clean it up and post the patch for that if
> > anyone's interested...
>
> Indeed, not a bad mod. Albeit, did you forget '-' on purpose?
> its-nice-not-having-to-hit-the-shift-key-dontcha-know ly y'rs
No, that's in there - as you pointed out, it's probably the most
handy. '?' and '!' have they're uses, but only '-' can defend against
the evil forces of studlyCaps.
You can't start identifiers with `*' in my patch (can you guess why?).
I'll get round to sticking it onto my starship pages at some point...
Cheers,
M.
--
[Perl] combines all the worst aspects of C and Lisp: a billion
different sublanguages in one monolithic executable. It combines
the power of C with the readability of PostScript.
-- Jamie Zawinski
More information about the Python-list
mailing list