Dong-hee Na <donghee.n...@gmail.com> added the comment:
_datetime.datetime's tp_name is datetime.datetime so inspect module guess that _datetime.datetime's module name is datetime, not _datetime. I don't think we have to fix this issue from inspect module side. If the _datetime.datetime's tp_name is updated to _datetime.datetime it could be fixed but I don't know this is the right approach and there might be some reason for choosing tp_name as datetime.datetime instead of _datetime.datetime. @p-ganssle is the best expert for datetime module :) I think that he could give the answer to this. ---------- nosy: +corona10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32313> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com