New submission from Guido van Rossum:

The asyncio docs currently document the event loop interface as belonging to 
BaseEventLoop. But the intention of PEP 3156 was for the interface to belong to 
AbstractEventLoop. In typeshed we ended up exporting only AbstractEventLoop, 
but this runs into trouble when type-checking code written against the asyncio 
docs in the CPython repo rather against the PEP.

Unless there's a serious objection I would like to see the docs changed to 
match the PEP here, and switch from BaseEventLoop to AbstractEventLoop.

Thoughts?

----------
assignee: gvanrossum
components: Documentation
messages: 272101
nosy: gvanrossum, haypo, yselivanov
priority: normal
severity: normal
stage: needs patch
status: open
title: Document asyncio.AbstractEventLoop, not asyncio.BaseEventLoop
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27700>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to