Add support for assignment expressions - #879
Merged
Merged
Conversation
Introduced in Python 3.8 with PEP-572. Refer to https://www.python.org/dev/peps/pep-0572.
Closed
Contributor
Author
|
Since Python 3.8 has been out for almost a week now, a new release with support for assignment expressions and the other syntax addition (#872) should probably be provided sooner rather than later. Without this change, pycodestyle will remain oblivious to the new syntax and issue multiple complaints, unless you disable checking for the lines that use it. |
FichteFoll
force-pushed
the
pr/pep-572
branch
from
October 21, 2019 17:15
3e8e6d7 to
16ec897
Compare
|
Is there a planned release date, please? |
So when will it be updated? It's been almost half a year since Python 3.8 was released! |
This was referenced Mar 15, 2021
This was referenced Apr 3, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduced in Python 3.8 with PEP-572. Refer to https://www.python.org/dev/peps/pep-0572.
I took some tests from the PEP's examples section.
Closes #865.
(Really not a fan of binary operators before line breaks.)