[New-bugs-announce] [issue29011] No entry for deques in typing
Raymond Hettinger
report at bugs.python.org
Mon Dec 19 01:19:33 EST 2016
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 write something like this:
user_posts = defaultdict(deque) # type: DefaultDict[User, Deque[Post]]
----------
messages: 283590
nosy: gvanrossum, rhettinger
priority: normal
severity: normal
status: open
title: No entry for deques in typing
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29011>
_______________________________________
More information about the New-bugs-announce
mailing list