Skip to content

Conversation

jhance
Copy link
Collaborator

@jhance jhance commented Oct 17, 2015

Revised version of someone else's PR that also should also
avoid a crash when the type isn't some sort of Instance. Avoids
cast using the now-possible if not isinstance construction.

@jhance
Copy link
Collaborator Author

jhance commented Oct 17, 2015

Basically improvement for #873. Pretty small.

Verified test went from failing to passing.

Revised version of someone else's PR that also should also
avoid a crash when the type isn't some sort of Instance. Avoids
cast using the now-possible `if not isinstance: return` construction.
@JukkaL
Copy link
Collaborator

JukkaL commented Oct 17, 2015

Thanks for fixing #873! Looks good and you even took advantage of not isinstance type inference which was cool.

JukkaL added a commit that referenced this pull request Oct 17, 2015
Fix yield from semantics for AnyType
@JukkaL JukkaL merged commit 6715c79 into python:master Oct 17, 2015
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