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 into
atom:masterfrom
NoZip:master
Closed

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

Conversation

@NoZip

@NoZip NoZip commented Dec 16, 2015

Copy link
Copy Markdown

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
Copy Markdown

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

@ghost

ghost commented Dec 28, 2016

Copy link
Copy Markdown

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

Kriechi commented Feb 4, 2017

Copy link
Copy Markdown

Python 3 support would be really nice to have!

@MickaelBergem

MickaelBergem commented May 18, 2018

Copy link
Copy Markdown

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

@ambv

ambv commented May 18, 2018

Copy link
Copy Markdown
Contributor

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