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: Implement PEP 544: add Protocol to typing
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: levkivskyi Nosy List: gvanrossum, levkivskyi, lukasz.langa
Priority: normal Keywords: patch

Created on 2019-05-26 18:52 by levkivskyi, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13585 merged levkivskyi, 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 changeset 74d7f76e2c953fbfdb7ce01b7319d91d471cc5ef 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
Date User Action Args
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