Hristo Venev added the comment: Quote from PEP 489: The Py_mod_create slot is used to support custom module subclasses.
There is no way to subclass PyModuleObject from C. ---------- versions: +Python 3.5 -Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23609> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com