Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Add support for some new syntax in Python 3.8 #2006

Merged
merged 2 commits into from
Jul 30, 2019

Conversation

FichteFoll
Copy link
Collaborator

Python 3.8 will include the following syntax changes:

I skipped assignment expressions for now because they are a tad bit more involved and ideally I'd like to see some consensus on #1842 regarding the scope names I should use for the identifiers that are assigned to. Because the assignments are inline, it would seem useful for those to be highlighted differently compared to normal variable usages.
Anyway, here are the small changes I've done so far.

The final release is scheduled for 2019-10-21.

@wbond wbond merged commit 518b170 into sublimehq:master Jul 30, 2019
@wbond
Copy link
Member

wbond commented Jul 30, 2019

Looks good, thanks!

@FichteFoll FichteFoll deleted the pr/python/python38 branch July 30, 2019 11:49
mitranim pushed a commit to mitranim/Packages that referenced this pull request Mar 25, 2022
* [Python] Support `=` debug indicator in f-strings

New in Python 3.8.
Upstream change: python/cpython@9a4135e

* [Python] Support "positional args only" operator

Added in Python 3.8 via https://www.python.org/dev/peps/pep-0570/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants