
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2016-05-13 12:57 byRoy Shmueli, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| bug.py | Roy Shmueli,2016-05-13 12:57 | a file that replicates the bug | ||
| Messages (7) | |||
|---|---|---|---|
| msg265473 -(view) | Author: Roy Shmueli (Roy Shmueli) | Date: 2016-05-13 12:57 | |
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. | |||
| msg265499 -(view) | Author: Guido van Rossum (gvanrossum)*![]() | Date: 2016-05-13 23:57 | |
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. | |||
| msg265566 -(view) | Author: Guido van Rossum (gvanrossum)*![]() | Date: 2016-05-15 01:37 | |
Simpler repro:from collections import UserListfrom typing import Sequenceclass MyList(UserList, Sequence): passisinstance(None, Sequence)No progress yet in understanding. :-( | |||
| msg265787 -(view) | Author: Guido van Rossum (gvanrossum)*![]() | Date: 2016-05-17 23:04 | |
See alsohttps://github.com/python/mypy/issues/1546 -- possibly it's the same issue. | |||
| msg265789 -(view) | Author: Guido van Rossum (gvanrossum)*![]() | Date: 2016-05-17 23:14 | |
Actually, seehttps://github.com/python/typing/issues/222 instead. | |||
| msg265830 -(view) | Author: Roundup Robot (python-dev)![]() | Date: 2016-05-18 15:39 | |
New changeset79197e60e441 by Guido van Rossum in branch '3.5':Fix#27014 -- infinite recursion using typing.py.https://hg.python.org/cpython/rev/79197e60e441New changeseta6c04626205f by Guido van Rossum in branch 'default':Fix#27014 -- infinite recursion using typing.py. (Merge 3.5 -> 3.6.)https://hg.python.org/cpython/rev/a6c04626205f | |||
| msg265831 -(view) | Author: Guido van Rossum (gvanrossum)*![]() | Date: 2016-05-18 15:46 | |
Thanks to Kalle Tuure for the fix! | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:31 | admin | set | github: 71201 |
| 2016-05-18 15:46:14 | gvanrossum | set | status: open -> closed versions: + Python 3.6 messages: +msg265831 resolution: fixed stage: resolved |
| 2016-05-18 15:39:05 | python-dev | set | nosy: +python-dev messages: +msg265830 |
| 2016-05-17 23:14:52 | gvanrossum | set | messages: +msg265789 |
| 2016-05-17 23:04:01 | gvanrossum | set | messages: +msg265787 |
| 2016-05-15 01:37:40 | gvanrossum | set | messages: +msg265566 |
| 2016-05-13 23:57:53 | gvanrossum | set | assignee:gvanrossum messages: +msg265499 |
| 2016-05-13 23:38:31 | terry.reedy | set | nosy: +gvanrossum |
| 2016-05-13 12:57:16 | Roy Shmueli | create | |