Raymond Hettinger <raymond.hettin...@gmail.com> added the comment: > Another solution may be to add a simple `__class_getitem__` to `Queue` > that will just return `cls`
I don't think it makes sense to let typing considerations start to spill into the rest of the standard library. Either add support to typing or not. ---------- nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33315> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com