Re: [Python-mode] Python 3 syntax highlighting issues

2008-02-04 Thread skip
me> I've decided to take a look at what needs doing to python-mode to me> support Python 3.0 syntax highlighting. Attached is an initial stab. Only tested insofar as it byte compiles. No switching between Python 2.x and 3.x modes. Just highlight as if everybody was already programming

[Python-mode] Python 3 syntax highlighting issues

2008-02-04 Thread skip
I've decided to take a look at what needs doing to python-mode to support Python 3.0 syntax highlighting. Some obvious differences: "print" and "exec" are both now builtin functions, not keywords. That should change their coloring, but how should we detect that? It might be a small