[Python-Dev] Making None a keyword

Gustavo Niemeyer niemeyer@conectiva.com
Fri, 26 Apr 2002 01:04:36 -0300


> If someone else wants to do it, I'll be happy to help.
> 
> I think it's a small project.  We've got a new node type in the
> grammar -- None -- and we'll need a new opcode -- LOAD_NONE.  The
> compiler just needs to generate a LOAD_NONE for every None node.

I have hacked the interpreter loop before, but haven't changed the
compiler yet. It's a nice oportunity to play with it, so I'll be glad to
help, and accept your help as well. I'm going to study it more deeply
tomorrow.

-- 
Gustavo Niemeyer

[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]