Ivan Levkivskyi added the comment: Thanks for reporting!
The runtime implementation of protocol classes will be thoroughly reworked as a part of PEP 544, see also https://github.com/python/typing/pull/417 for a proof of concept runtime implementation. Also, there is another ongoing discussion https://github.com/python/typing/issues/432 about a global refactoring of typing module that will significantly improve performance. Therefore, I would wait with any large PRs until these two stories are settled. If you still want to propose a small PR, you can do this at the upstream typing repo https://github.com/python/typing ---------- nosy: +levkivskyi _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30505> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com