Message397715
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__
'builtins'
>>> print(inspect.signature(pagexml.swigPageXML.PageXML.__init__))
(self, pagexml_path=None, schema_path=None) |
|
Date |
User |
Action |
Args |
2021-07-17 09:51:41 | mauvilsa | set | recipients:
+ mauvilsa, gvanrossum, hongweipeng |
2021-07-17 09:51:41 | mauvilsa | set | messageid: <1626515501.73.0.156041633836.issue44618@roundup.psfhosted.org> |
2021-07-17 09:51:41 | mauvilsa | link | issue44618 messages |
2021-07-17 09:51:41 | mauvilsa | create | |
|