This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mauvilsa
Recipients gvanrossum, hongweipeng, mauvilsa
Date 2021-07-17.09:51:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I am not sure if this affects all built-in classes, assuming that by built-in it means that `SOMEOBJECT.__class__.__module__ == 'builtins'`. For example I have C++ library that is compiled into a python module using swig. It is available as a docker image `docker pull mauvilsa/pagexml:runtime-ubuntu20.04-py38`. For a class in that module it can be observed:

>>> import inspect
>>> import pagexml
>>> pagexml.swigPageXML.PageXML.__class__.__module__
>>> print(inspect.signature(pagexml.swigPageXML.PageXML.__init__))
(self, pagexml_path=None, schema_path=None)
Date User Action Args
2021-07-17 09:51:41mauvilsasetrecipients: + mauvilsa, gvanrossum, hongweipeng
2021-07-17 09:51:41mauvilsasetmessageid: <>
2021-07-17 09:51:41mauvilsalinkissue44618 messages
2021-07-17 09:51:41mauvilsacreate