Proposal: Magic Constants
John Roth
newsgroups at jhrothjr.com
Wed Aug 27 13:08:46 EDT 2003
"Michael Hudson" <mwh at python.net> wrote in message
news:7h3r837ce12.fsf at pc150.maths.bris.ac.uk...
> "John Roth" <newsgroups at jhrothjr.com> writes:
>
> > But these are existing literal syntax. I was thinking
> > more of random code where someone could currently
> > juxtapose a literal and an identifier, say, without an
> > intervening white space character.
>
> >>> 10and 1
> 1
> >>> 5or 7
> 5
>
> Very much a wart of the tokenizer, though.
Ah, right. I forgot about alphabetic operators.
Why do you call it a wart, though? I would have
thought that not requiring white space in that context
was a feature.
John Roth
>
> Cheers,
> mwh
>
> --
> "Well, the old ones go Mmmmmbbbbzzzzttteeeeeep as they start up and
> the new ones go whupwhupwhupwhooopwhooooopwhooooooommmmmmmmmm."
> -- Graham Reed explains subway engines on asr
More information about the Python-list
mailing list