Patch attached.
Created attachment 130031 [details] [review] Add text/x-python3 content type This derives from the text/x-python content type, and is attached to files with a .py3 extension, or which have a python3 shebang line. Otherwise, text/x-python is preferred. This is necessary because Python 3 is not compatible with Python 2, and introduces some new keywords (such as ‘nonlocal’) which need to be syntax highlighted differently (for example). Signed-off-by: Philip Withnall <withnall@endlessm.com>
Attachment 130031 [details] pushed as 0676217 - Add text/x-python3 content type
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.