[issue33315] Allow queue.Queue to be used in type annotations

Raymond Hettinger report at bugs.python.org
Sat Jun 13 23:58:33 EDT 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Can this can now be handled with "__class_getitem__ = classmethod(GenericAlias)"?

----------
type:  -> behavior
versions: +Python 3.10 -Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33315>
_______________________________________


More information about the Python-bugs-list mailing list