bpo-10544: Deprecate "yield" in comprehensions and generator expressions.#4579
Conversation
|
@serhiy-storchaka Do you mind if I just edit some of the docs wording directly? I think that will be easier than trying to describe the edits I would recommend. |
Sorry, something went wrong.
|
I will be grateful if you do this. |
Sorry, something went wrong.
- updated the comprehension scoping definition to use some of the words from the generator expression definition - added appropriate versionadded/changed directives -
|
OK, I've made my documentation edits. @gvanrossum I think it would be helpful if you could review the proposed language reference updates directly, or else nominate someone else to do so. |
Sorry, something went wrong.
gvanrossum
left a comment
There was a problem hiding this comment.
Here are some suggestions to tighten the docs. Thanks to both of you for taking care of this!
Sorry, something went wrong.
- consistently use "leftmost" (never "outermost") - explicitly exclude the filter condition from eager evaluation - better align wording for comprehensions and generator expressions
|
Docs LGTM now. |
Sorry, something went wrong.
|
Ping. |
Sorry, something went wrong.
…ons in Py3k mode. (pythonGH-4579)
https://bugs.python.org/issue10544