[issue29011] No entry for deques in typing

2016-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, I tried "d = deque() # type: typing.MutableSequence" but this gave: error: MutableSequence[Post] has no attribute "appendleft" -- ___ Python tracker _

[issue29011] No entry for deques in typing

2016-12-18 Thread Raymond Hettinger
New submission from Raymond Hettinger: We have: # Concrete collection types. 'Dict', 'DefaultDict', 'List', 'Set', 'FrozenSet', 'NamedTuple', # Not really a type. 'Generator', But no mention of Deque. What this an intended omission? I would like to be able to