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

Allow nonliteral tuple indexing #3514

Merged
merged 2 commits into from Jun 9, 2017

Conversation

Projects
None yet
3 participants
@ddfisher
Collaborator

ddfisher commented Jun 9, 2017

Fixes #899. Allows indexing and slicing tuples with nonliteral values: returns a Union of all tuple item types.

@gvanrossum

You can merge yourself after fixing up the indent (Curious why flake8 didn't catch this.)

Show outdated Hide outdated mypy/checkexpr.py

@ilevkivskyi ilevkivskyi merged commit 9941b61 into master Jun 9, 2017

3 checks passed

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

@ilevkivskyi ilevkivskyi deleted the nonliteral-tuple-index branch Jun 9, 2017

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