| Summary: | Add text/x-python3 content type | ||
|---|---|---|---|
| Product: | shared-mime-info | Reporter: | Philip Withnall <bugzilla> |
| Component: | freedesktop.org.xml | Assignee: | Shared Mime Info group <shared_mime_info> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | CC: | bugzilla, mayocoko |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: | Add text/x-python3 content type | ||
|
Description
Philip Withnall
2017-03-02 12:00:53 UTC
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.