Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Special cases aren't special enough to break the rules. I think this issue should be closed. This is not common user error, especially in Python 3. I can even imagine that you can subclass module, if it is an instance of special ModuleType subclass. It is a feature of Python that you can subclass any objects, not only classes, if they provide the particular interface. ---------- nosy: +serhiy.storchaka status: open -> pending _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue11604> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com