Paul Ganssle <p.gans...@gmail.com> added the comment:

Hmm. I never noticed this. In the past I have used the (undocumented) 
PyDateTimeAPI struct, which the official macros wrap. I'm not sure how official 
that struct is considering it doesn't show up in the documentation.

I agree that it should be possible to construct TZ-aware datetimes using the 
official C API, so I guess the question is whether to add a bunch more macros 
or document the existing struct.

----------
nosy: +p-ganssle

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

Reply via email to