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

Created on 2018-12-03 21:59 by asvetlov, last changed 2018-12-11 17:07 by asvetlov.

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
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