[New-bugs-announce] [issue35394] Add __slots__ = () to asyncio protocols

Andrew Svetlov report at bugs.python.org
Mon Dec 3 16:59:26 EST 2018


New submission from Andrew Svetlov <andrew.svetlov at gmail.com>:

Protocols have no members.

Adding empty slots doesn't harm any existing code but it allows to write proper protocol implementation with slot-based class.

----------
components: asyncio
messages: 330986
nosy: asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Add __slots__ = () to asyncio protocols
versions: Python 3.8

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


More information about the New-bugs-announce mailing list