Author sproshev
Recipients sproshev
Date 2018-04-19.12:02:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
from queue import Queue

a: Queue[int]

This code throws a TypeError in runtime.
But its pyi stub allows to use it in such a way (

I'd suggest to update classes in queue module to allow them to be used in type annotations.
Date User Action Args
2018-04-19 12:02:56sproshevsetrecipients: + sproshev
2018-04-19 12:02:56sproshevsetmessageid: <>
2018-04-19 12:02:56sproshevlinkissue33315 messages
2018-04-19 12:02:56sproshevcreate