Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue32391

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Add StreamWriter.wait_closed()
Type:enhancementStage:resolved
Components:asyncio, Library (Lib)Versions:Python 3.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: asvetlov, nitishch, njs, yselivanov
Priority:normalKeywords:patch

Created on2017-12-20 19:12 byasvetlov, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 5281mergedasvetlov,2018-01-23 08:51
Messages (3)
msg308780 -(view)Author: Andrew Svetlov (asvetlov)*(Python committer)Date: 2017-12-20 19:12
Without the method there is no possibility to wait for actual writer closing (it's performed at least on next loop iteration, and even later for SSL transports).Without waiting for actual closing writing tests is a pain: user should either add asyncio.sleep() after writer closing or suppress many warnings about unclosed resources.
msg308781 -(view)Author: Yury Selivanov (yselivanov)*(Python committer)Date: 2017-12-20 19:13
We've discussed this before, please go ahead.
msg310640 -(view)Author: Andrew Svetlov (asvetlov)*(Python committer)Date: 2018-01-24 22:30
New changesetfe133aad52222949db7309c26c58b066c22e714e by Andrew Svetlov in branch 'master':bpo-32391: Implement StreamWriter.wait_closed() (#5281)https://github.com/python/cpython/commit/fe133aad52222949db7309c26c58b066c22e714e
History
DateUserActionArgs
2022-04-11 14:58:55adminsetgithub: 76572
2018-05-29 18:35:44yselivanovlinkissue31491 superseder
2018-01-24 23:21:26asvetlovsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-01-24 22:30:32asvetlovsetmessages: +msg310640
2018-01-23 08:51:40asvetlovsetkeywords: +patch
stage: patch review
pull_requests: +pull_request5127
2018-01-21 09:44:54njssetnosy: +njs
2017-12-22 21:06:09nitishchsetnosy: +nitishch
2017-12-21 09:28:56asvetlovlinkissue28212 superseder
2017-12-20 19:13:19yselivanovsettype: enhancement
messages: +msg308781
2017-12-20 19:12:25asvetlovcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp