Syntax highlighting is slightly wrong on python 3 because bpython uses pygments Python 2 lexer.
Unicode variable names (like "año" or "naïve") which are allowed on python 3 are highlighted as invalid. Keyword "nonlocal" is ignored.
Attached is a patch to use pygment's python 3 lexer instead of python 2's if bpython is running on python 3.
Syntax highlighting is slightly wrong on python 3 because bpython uses pygments Python 2 lexer.
Unicode variable names (like "año" or "naïve") which are allowed on python 3 are highlighted as invalid. Keyword "nonlocal" is ignored.
Attached is a patch to use pygment's python 3 lexer instead of python 2's if bpython is running on python 3.