-
-
Notifications
You must be signed in to change notification settings - Fork 252
Closed
Description
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.
- Bitbucket: https://bitbucket.org/bobf/bpython/issue/222
- Originally Reported By: Germán Osella Massa
- Originally Created At: 2012-07-24T08:02:14.496