[issue27014] maximum recursion depth when using typing options

2016-05-18 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks to Kalle Tuure for the fix! -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker

[issue27014] maximum recursion depth when using typing options

2016-05-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 79197e60e441 by Guido van Rossum in branch '3.5': Fix #27014 -- infinite recursion using typing.py. https://hg.python.org/cpython/rev/79197e60e441 New changeset a6c04626205f by Guido van Rossum in branch 'default': Fix #27014 -- infinite recursion

[issue27014] maximum recursion depth when using typing options

2016-05-17 Thread Guido van Rossum
Guido van Rossum added the comment: Actually, see https://github.com/python/typing/issues/222 instead. -- ___ Python tracker ___

[issue27014] maximum recursion depth when using typing options

2016-05-17 Thread Guido van Rossum
Guido van Rossum added the comment: See also https://github.com/python/mypy/issues/1546 -- possibly it's the same issue. -- ___ Python tracker ___

[issue27014] maximum recursion depth when using typing options

2016-05-14 Thread Guido van Rossum
Guido van Rossum added the comment: Simpler repro: from collections import UserList from typing import Sequence class MyList(UserList, Sequence): pass isinstance(None, Sequence) No progress yet in understanding. :-( -- ___ Python tracker

[issue27014] maximum recursion depth when using typing options

2016-05-13 Thread Guido van Rossum
Guido van Rossum added the comment: 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. -- assignee: -> gvanrossum

[issue27014] maximum recursion depth when using typing options

2016-05-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +gvanrossum ___ Python tracker ___ ___

[issue27014] maximum recursion depth when using typing options

2016-05-13 Thread Roy Shmueli
New submission from Roy Shmueli: 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. -- files: bug.py messages: