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 <rep...@bugs.python.org> <http://bugs.python.org/issue29011> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com