Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue37058

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:Implement PEP 544: add Protocol to typing
Type:enhancementStage:resolved
Components:Library (Lib)Versions:Python 3.8
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: levkivskyiNosy List: gvanrossum, levkivskyi, lukasz.langa
Priority:normalKeywords:patch

Created on2019-05-26 18:52 bylevkivskyi, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 13585mergedlevkivskyi,2019-05-26 19:03
Messages (2)
msg343576 -(view)Author: Ivan Levkivskyi (levkivskyi)*(Python committer)Date: 2019-05-26 18:52
The implementation would be basically copying some code from `typing_extension` and fixing some important known issues (such as renaming @runtime to @runtime_checkable and allowing sub-protocols of builtin protocols). Also ideally we should get rid of the metaclass `_ProtocolMeta`.
msg343746 -(view)Author: Ivan Levkivskyi (levkivskyi)*(Python committer)Date: 2019-05-28 07:40
New changeset74d7f76e2c953fbfdb7ce01b7319d91d471cc5ef by Ivan Levkivskyi in branch 'master':bpo-37058:PEP 544: Add Protocol to typing module (GH-13585)https://github.com/python/cpython/commit/74d7f76e2c953fbfdb7ce01b7319d91d471cc5ef
History
DateUserActionArgs
2022-04-11 14:59:15adminsetgithub: 81239
2019-05-28 07:41:35levkivskyisetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-05-28 07:40:21levkivskyisetmessages: +msg343746
2019-05-26 19:03:27levkivskyisetkeywords: +patch
stage: needs patch -> patch review
pull_requests: +pull_request13492
2019-05-26 18:52:14levkivskyicreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp