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

Support PEP 380, Syntax for Delegating to a Subgenerator #113

Merged
merged 1 commit into from
Jul 25, 2018
Merged

Support PEP 380, Syntax for Delegating to a Subgenerator #113

merged 1 commit into from
Jul 25, 2018

Conversation

odcinek
Copy link
Contributor

@odcinek odcinek commented Aug 4, 2017

No description provided.

@Psycojoker Psycojoker merged commit d4b17fe into PyCQA:master Jul 25, 2018
@Psycojoker
Copy link
Member

Merged this one with some modification:

I've decided to split the "yield" node and the "yield from" node because:

  • otherwise this would modify existing behavior from people looking for "yield" nodes
  • I'm expecting people to think about yield and yield_from as 2 separate things as they are used for 2 separate situations

I'm also fixed the grammar, yield_from works on 'test' and not on 'testlist' in python grammar file (while this wouldn't have made a huge difference I think).

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