This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients Samuel GIFFARD, asvetlov, gvanrossum, levkivskyi, xtreak, yselivanov
Date 2019-02-13.14:08:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550066896.49.0.172601134126.issue35987@roundup.psfhosted.org>
In-reply-to
Content
Thanks for the report. mypy is not part of stdlib and it seems that typeshed doesn't have BaseEventLoop defined in asyncio.__init__.pyi [0] . Adding it to the import removes the error . I guess this needs to be filed in typeshed. There is an issue open for missing asyncio top level functions at https://github.com/python/typeshed/issues/2313 . I would propose closing this as third party. I am adding mypy devs as a confirmation and to follow up the issue with typeshed for updating stub files.


[0] https://github.com/python/typeshed/blob/b3aac58db01c6bdc63452066bd9cd5f761e79044/stdlib/3/asyncio/__init__.pyi#L101
History
Date User Action Args
2019-02-13 14:08:16xtreaksetrecipients: + xtreak, gvanrossum, asvetlov, yselivanov, levkivskyi, Samuel GIFFARD
2019-02-13 14:08:16xtreaksetmessageid: <1550066896.49.0.172601134126.issue35987@roundup.psfhosted.org>
2019-02-13 14:08:16xtreaklinkissue35987 messages
2019-02-13 14:08:16xtreakcreate