Re: [Python-ideas] Add support for external annotations in the typing module

2019-01-18 Thread Till
create a new value: > Deque(range(2)) deque([0, 1]) > Deque[int] typing.Deque[int] On Thu, 17 Jan 2019 at 19:35 Gregory P. Smith wrote: > On Thu, Jan 17, 2019 at 2:34 PM Till wrote: > >> We started a discussion in https://github.com/python/typing/issues/600 >

[Python-ideas] Add support for external annotations in the typing module

2019-01-17 Thread Till
We started a discussion in https://github.com/python/typing/issues/600 about adding support for extra annotations in the typing module. Since this is probably going to turn into a PEP I'm transferring the discussion here to have more visibility. The document below has been modified a bit from the