classification
Title: Add slots to asyncio transports
Type: Stage: resolved
Components: asyncio Versions: Python 3.9, Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, yselivanov
Priority: normal Keywords: patch

Created on 2019-09-13 05:54 by asvetlov, last changed 2019-09-13 13:15 by asvetlov. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 16077 merged asvetlov, 2019-09-13 05:56
PR 16093 merged asvetlov, 2019-09-13 12:21
Messages (4)
msg352239 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2019-09-13 05:54
Transports are abstract interfaces.
Adding slots allows using slots in transport implementations as well.
If the implementation doesn't use slots -- everything keeps working.

Slots can help with saving a memory footprint a little.
msg352240 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2019-09-13 05:57
Note, slots for protocols are provided by 3.8 already.
msg352307 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2019-09-13 12:18
New changeset 9eb35ab0d71a6bd680e84fa0f828cb634e72b681 by Andrew Svetlov in branch 'master':
bpo-38148: Add slots to asyncio transports (GH-16077)
https://github.com/python/cpython/commit/9eb35ab0d71a6bd680e84fa0f828cb634e72b681
msg352318 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2019-09-13 13:14
New changeset 6638c9226066205a646e18da95b33e619d784b0b by Andrew Svetlov in branch '3.8':
[3.8] bpo-38148: Add slots to asyncio transports (GH-16077) (GH-16093)
https://github.com/python/cpython/commit/6638c9226066205a646e18da95b33e619d784b0b
History
Date User Action Args
2019-09-13 13:15:15asvetlovsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-09-13 13:14:58asvetlovsetmessages: + msg352318
2019-09-13 12:21:20asvetlovsetpull_requests: + pull_request15714
2019-09-13 12:18:51asvetlovsetmessages: + msg352307
2019-09-13 05:57:21asvetlovsetmessages: + msg352240
2019-09-13 05:56:31asvetlovsetkeywords: + patch
stage: patch review
pull_requests: + pull_request15699
2019-09-13 05:54:41asvetlovcreate