Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Adding Python3 grammar#123

Closed
NoZip wants to merge 5 commits intoatom:masterfrom
NoZip:master
Closed

Adding Python3 grammar#123
NoZip wants to merge 5 commits intoatom:masterfrom
NoZip:master

Conversation

@NoZip
Copy link

@NoZip NoZip commented Dec 16, 2015

Adds Python3 as a separate grammar. This grammar scope is 'source.python.3' in order to be recognized by all other tools as a Python grammar.

This Grammar is based on Python 3.5.1

Features

  • Support for all string prefixes: u or no prefix for unicode strings, r for raw unicode strings, b for bytes string, and rb or br for raw bytes strings.
  • New async and await keywords. async is defined as a 'storage.modifier.coroutine'.
  • Revamped builtin functions and exceptions.

Exemple:

language-python-pic

PS: Sorry for the double pull, some lines on the specs verification script have to be changed

@incognick
Copy link

This would be nice to get merged. Atom is missing python 3 grammar.

@ghost
Copy link

ghost commented Dec 28, 2016

Please merge, I still cant figure out how to get Atom to pick up Python 3 if Python 2 is the default in the system..

@Kriechi
Copy link

Kriechi commented Feb 4, 2017

Python 3 support would be really nice to have!

@MickaelBergem
Copy link

MickaelBergem commented May 18, 2018

This looks like an important but old PR, what is preventing it from being merged?

@ambv
Copy link
Contributor

ambv commented May 18, 2018

language-python is switching to TreeSitter. The old regex-based grammar is on live support and unlikely to receive large changes anymore.

@ambv ambv closed this May 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants