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.

classification
Title: Add __slots__ = () to asyncio protocols
Type: Stage: resolved
Components: asyncio Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, yselivanov
Priority: normal Keywords: patch

Created on 2018-12-03 21:59 by asvetlov, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 10889 merged asvetlov, 2018-12-04 10:18
Messages (2)
msg330986 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2018-12-03 21:59
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.
msg331641 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2018-12-11 17:07
New changeset 5344501ad166c1380be452644a863a4679c4291b by Andrew Svetlov in branch 'master':
bpo-35394: Add empty slots to abstract asyncio protocols (#10889)
https://github.com/python/cpython/commit/5344501ad166c1380be452644a863a4679c4291b
History
Date User Action Args
2022-04-11 14:59:08adminsetgithub: 79575
2018-12-18 21:59:58asvetlovsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-12-11 17:07:09asvetlovsetmessages: + msg331641
2018-12-04 10:18:16asvetlovsetkeywords: + patch
stage: patch review
pull_requests: + pull_request10127
2018-12-03 21:59:26asvetlovcreate