KEMBAR78
Fix joining of fixed-length tuples with mismatching lengths (#8333) by sthagen · Pull Request #18 · sthagen/python-mypy · GitHub
Skip to content

Conversation

@sthagen
Copy link
Owner

@sthagen sthagen commented Feb 3, 2020

For example:
Tuple[bool, int] + Tuple[bool] becomes Tuple[int, ...]

Previously Mypy simply punted and returned object.

This solves part of python#4975.

For example:
Tuple[bool, int] + Tuple[bool] becomes Tuple[int, ...]

Previously Mypy simply punted and returned `object`.

This solves part of #4975.
@sthagen sthagen merged commit c577b7a into sthagen:master Feb 3, 2020
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