Are Python's reserved words reserved in places they dont need to be?
metaperl
metaperl at gmail.com
Tue Sep 12 19:39:38 EDT 2006
Diez B. Roggisch wrote:
> metaperl schrieb:
> > --> python -i
> >>>> class = "algebra"
> > File "<stdin>", line 1
> > class = "algebra"
> > ^
> > SyntaxError: invalid syntax
> >
> >
> > Why isn' t the parser smart enough to see that class followed by an
> the few reserved words won't matter usually.
woe be unto the ORMs who try to map database columns to Python
attributes.
More information about the Python-list
mailing list