William Meehan <wmee...@fb.com> added the comment:

For Python implementations that change the underlying object structure, it's 
not necessarily possible to recreate the `tp_name` that would be exposed in 
CPython. The `datetime` ends up in `__module__`, while only the type name ends 
up in `__name__`. There's no way to tell that the value in `__module__` 
actually came from `tp_name` in the first place.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42390>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to