Skip to content

Conversation

@Avasam
Copy link
Collaborator

@Avasam Avasam commented Oct 17, 2024

@github-actions

This comment has been minimized.

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

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

Nice, thanks, and tests looks great! Let's remove the references to python/mypy#3644 since that issue is fixed and replace them with reference to python/mypy#17952 which we can use to track the remaining issue with Any.

(We could also link the issue in re, as Alex mentions here #12208 (review) )

@github-actions

This comment has been minimized.

@Avasam
Copy link
Collaborator Author

Avasam commented Oct 17, 2024

(We could also link the issue in re, as Alex mentions here #12208 (review) )

I think I did what you meant here. But I'm not certain.

@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

setuptools (https://github.com/pypa/setuptools)
- pkg_resources/__init__.py:2651: error: Value of type variable "AnyStr" of "abspath" cannot be "Sequence[object]"  [type-var]

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

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

Nice, thank you! Hopefully these get fixed and we can reland the cleanup :-)

@hauntsaninja hauntsaninja merged commit 559ae97 into python:main Oct 17, 2024
62 checks passed
@Avasam Avasam deleted the restore-path-method-overload-workaround branch October 17, 2024 22:36
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.

3 participants