[issue30155] Add ability to get tzinfo from a datetime instance in C API

Antoine Pitrou report at bugs.python.org
Mon Jul 20 10:35:33 EDT 2020


Antoine Pitrou <pitrou at free.fr> added the comment:

> I'm going to rename this bug to focus only on issue #1. I think we can accept a PR adding two new macros. I would suggest calling them:
> - PyDateTime_DATE_GET_TZINFO
> - PyDateTime_TIME_GET_TZINFO

+1 for this.

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30155>
_______________________________________


More information about the Python-bugs-list mailing list