New submission from Ivan Levkivskyi <levkivs...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue37058> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com