[Python-Dev] None as a keyword / class methods
Ken Manheimer
klm@digicool.com
Thu, 23 Mar 2000 18:05:08 -0500 (EST)
On Thu, 23 Mar 2000 pf@artcom-gmbh.de wrote:
> Hi Barry!
>
> > >>>>> "PF" == Peter Funk <pf@artcom-gmbh.de> writes:
> >
> > | try:
> > | del None
> > | except SyntaxError:
> > | pass # Wow running Py3K here!
>
> Barry A. Warsaw:
> > I know how to break your Py3K code: stick None=None some where higher
> > up :)
Huh. Does anyone really think we're going to catch SyntaxError at
runtime, ever? Seems like the code fragment above wouldn't work in the
first place.
But i suppose, with most of a millennium to emerge, py3k could have more
fundamental changes than i could even imagine...-)
Ken
klm@digicool.com