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

Don't supply a context to the expression in `yield from` #3815

Merged
merged 2 commits into from Aug 15, 2017

Conversation

Projects
None yet
2 participants
@gvanrossum
Member

gvanrossum commented Aug 8, 2017

The actual expected type is complicated; it should be either a
Generator[X, Y, Z] sharing X and Y with the containing generator
function, or an Iterable[X].

Fixes #3808.

gvanrossum added some commits Aug 8, 2017

Don't supply a context to the expression in `yield from`.
The actual expected type is complicated; it should be either a
Generator[X, Y, Z] sharing X and Y with the containing generator
function, or an Iterable[X].

Fix #3808.
@ilevkivskyi

Looks good.

@ilevkivskyi ilevkivskyi merged commit fc9fa61 into python:master Aug 15, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@gvanrossum gvanrossum deleted the gvanrossum:fix-yield-from-context branch Sep 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment