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
maximum recursion depth when using typing options #71201
Comments
While creating class of List and using a Optional as part of the typing system. I have got an error when I was importing one of my module. I was able to simplify the problem by creating a one module that replicate the crash. |
Ow, that's bad. :-( Great job reducing this to a minimal repro! I'm guessing it's got to do with registration. I'll try to figure out how to fix it; the fix should appear in Python 3.5.2. |
Simpler repro: from collections import UserList
from typing import Sequence
class MyList(UserList, Sequence):
pass
isinstance(None, Sequence) No progress yet in understanding. :-( |
See also python/mypy#1546 -- possibly it's the same issue. |
Actually, see python/typing#222 instead. |
New changeset 79197e60e441 by Guido van Rossum in branch '3.5': New changeset a6c04626205f by Guido van Rossum in branch 'default': |
Thanks to Kalle Tuure for the fix! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: