Skip to content

Conversation

@msullivan
Copy link
Collaborator

When removed the sys.platform hack, the dummy bool() in
a unreachable code hack became, itself, unreachable.

And while mypyc is much better about unreachable branches that it used
to be, it still crashes on unreachable parts of conditional
expressions.

When removed the sys.platform hack, the dummy `bool()` in
a unreachable code hack became, itself, unreachable.

And while mypyc is much better about unreachable branches that it used
to be, it still crashes on unreachable parts of conditional
expressions.
@msullivan
Copy link
Collaborator Author

This will fix OS X mypy-mypyc builds, which I just broke in #6365

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh. :-)

@msullivan msullivan merged commit 8d96c4c into master Feb 14, 2019
@msullivan msullivan deleted the fix-osx-mypyc branch February 14, 2019 00:27
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.

4 participants