Subtype for memoryview
required to pass mypy checks but triggersTypeError
in Python
#18053
Labels
bug
mypy got something wrong
Bug Report
Specifying a subtype for
memoryview
is required to pass mypy checks, but this create aTypeError
in Python.To Reproduce
This fails mypy checks:
Fixing mypy checks triggers Python error:
Expected Behavior
Actual Behavior
Either mypy fails but Python can run the code, or mypy passes but Python doesn't run.
Your Environment
The text was updated successfully, but these errors were encountered: