[Python-Dev] Making None a keyword (original) (raw)
Gustavo Niemeyer niemeyer@conectiva.com
Fri, 26 Apr 2002 01:04:36 -0300
- Previous message: [Python-Dev] Making None a keyword
- Next message: [Python-Dev] Making None a keyword
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 -- LOADNONE. The compiler just needs to generate a LOADNONE 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 ]
- Previous message: [Python-Dev] Making None a keyword
- Next message: [Python-Dev] Making None a keyword
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]