Proposal: Magic Constants
John Roth
newsgroups at jhrothjr.com
Wed Aug 27 11:26:33 EDT 2003
"Robert Kern" <kern at taliesen.caltech.edu> wrote in message
news:biihkv$9m1$1 at naig.caltech.edu...
> In article <vkpgjd74ub06ae at news.supernews.com>,
> "John Roth" <newsgroups at jhrothjr.com> writes:
>
> [snip]
>
> > Another thing to think about is whether
> > this could cause problems with existing
> > code. I can't immediately think of a case
> > where a literal can be next to a character,
> > but I'm also not a real deep authority on all
> > of the oddities of Python syntax.
>
> 10L
> 0X
> 1e+10
> 10j
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.
John Roth
>
> > John Roth
>
> --
> Robert Kern
> kern at caltech.edu
>
> "In the fields of hell where the grass grows high
> Are the graves of dreams allowed to die."
> -- Richard Harter
More information about the Python-list
mailing list