Skip to content

Fix simple literal inference in class bodies in import cycle #13552

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

Merged
merged 1 commit into from
Aug 29, 2022

Conversation

ilevkivskyi
Copy link
Member

This fixes a little regression caused by #13494

@github-actions
Copy link
Contributor

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

aiohttp (https://github.com/aio-libs/aiohttp)
- aiohttp/worker.py:34: error: Cannot determine type of "LOG_FORMAT"  [has-type]
- aiohttp/worker.py:224: error: Returning Any from function declared to return "str"  [no-any-return]

@ilevkivskyi ilevkivskyi merged commit ff1199b into python:master Aug 29, 2022
@ilevkivskyi ilevkivskyi deleted the fix-import-cycle branch August 29, 2022 11:58
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.

1 participant