[New-bugs-announce] [issue37058] Implement PEP 544: add Protocol to typing

Ivan Levkivskyi report at bugs.python.org
Sun May 26 14:52:14 EDT 2019


New submission from Ivan Levkivskyi <levkivskyi at gmail.com>:

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

----------
assignee: levkivskyi
components: Library (Lib)
messages: 343576
nosy: gvanrossum, levkivskyi, lukasz.langa
priority: normal
severity: normal
stage: needs patch
status: open
title: Implement PEP 544: add Protocol to typing
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37058>
_______________________________________


More information about the New-bugs-announce mailing list