You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hutton.py:5: error: Recursive types not fully supported yet, nested types replaced with "Any"
To be explicit: my expectation is no error. I'm following the typing module doc (and ergo, PEP 484).
I'd also searched among GitHub issues off course. #7069 is closed as "known limitation". #731 is the canonical f̶i̶v̶e̶-̶y̶e̶a̶r̶-̶o̶l̶d̶ issue where actual discussion & development of recursive types support happen. I can remember looking at it ~2 years ago, still open today.
The special prize goes to #6740 — "Stop saying mypy is beta software?". Haha, yes. Nice joke. Save it for tomorrow.
The text was updated successfully, but these errors were encountered:
The minimal Hutton razor doesn't typecheck.
I've tested on these git tags with Python 3.8.2:
None of them work; all emit an error of possible cyclic definition:
Which is bitterly upsetting, after having read:
typing.ForwardRef
docs,cyclic
anything).The error message of v0.710 was much better:
To be explicit: my expectation is no error. I'm following the
typing
module doc (and ergo, PEP 484).I'd also searched among GitHub issues off course. #7069 is closed as "known limitation". #731 is the canonical f̶i̶v̶e̶-̶y̶e̶a̶r̶-̶o̶l̶d̶ issue where actual discussion & development of recursive types support happen. I can remember looking at it ~2 years ago, still open today.
The special prize goes to #6740 — "Stop saying mypy is beta software?". Haha, yes. Nice joke. Save it for tomorrow.
The text was updated successfully, but these errors were encountered: