Annoying octal notation

Benjamin Peterson benjamin at python.org
Fri Aug 21 16:22:47 EDT 2009


Simon Forman <sajmikins <at> gmail.com> writes:

> No.  You would have to modify and recompile the interpreter. This is
> not exactly trivial, see "How to Change Python's Grammar"
> http://www.python.org/dev/peps/pep-0306/

And even that's incorrect. You'd have to modify the tokenizer.






More information about the Python-list mailing list