{{ message }}
[2.7] bpo-10544: Deprecate "yield" in comprehensions and generator expressions in Py3k mode. (GH-4579)#4676
Merged
serhiy-storchaka merged 3 commits intoDec 2, 2017
Conversation
…ons in Py3k mode. (pythonGH-4579)
ncoghlan
approved these changes
Dec 2, 2017
ncoghlan
left a comment
Contributor
There was a problem hiding this comment.
This looks good to me, just one request for an explanatory comment on the new list comp checking code.
Sorry, something went wrong.
Contributor
|
This is on the 2.7 branch, not the 3.7 branch. In 3.7b1 this is currently not a deprecation warning. Wrong branch perhaps? |
Sorry, something went wrong.
Member
Author
Sorry, something went wrong.
Contributor
|
Excellent, thanks! I was confused because I missed that 3.7 was still the master branch when the first commit went in, the separate 3.7 branch had yet to be cut. <mode demeanor="pedant">#4676 is this PR :-) The 3.8 Thanks again! |
Sorry, something went wrong.
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
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.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.
They will be deprecated in Python 3.7 and prohibited in Python 3.8.
https://bugs.python.org/issue10544