Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
There is no "why". There is a fact that there is no such constrain. Adding a new constrain may break existing code. If you want to add a constrain, add it in you code. If you are interesting "why", try to search old archives for the history of creating that module. Maybe you will find something. Maybe you will need to dip deeper, in discussions about abstract classes and protocols. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue47079> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com