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 corona10
Recipients Aaron.Meurer, belopolsky, corona10, iritkatriel, p-ganssle, thatiparthy, xtreak, yselivanov
Date 2020-08-26.14:11:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598451082.04.0.360459547117.issue32313@roundup.psfhosted.org>
In-reply-to
Content
_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.
History
Date User Action Args
2020-08-26 14:11:22corona10setrecipients: + corona10, belopolsky, Aaron.Meurer, yselivanov, thatiparthy, p-ganssle, xtreak, iritkatriel
2020-08-26 14:11:22corona10setmessageid: <1598451082.04.0.360459547117.issue32313@roundup.psfhosted.org>
2020-08-26 14:11:22corona10linkissue32313 messages
2020-08-26 14:11:21corona10create