[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2020-02-10 Thread Anthony Tuininga
Anthony Tuininga added the comment: Any progress on this? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2019-12-09 Thread Alexander Belopolsky
Change by Alexander Belopolsky : -- dependencies: +Add timezone support to datetime C API ___ Python tracker ___ ___ Python-bugs-lis

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2018-07-05 Thread Paul Ganssle
Paul Ganssle 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 cons

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2017-04-29 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2017-04-24 Thread Daniel Lenski
Changes by Daniel Lenski : -- nosy: +dlenski ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2017-04-24 Thread Anthony Tuininga
New submission from Anthony Tuininga: Right now there is no documented way to create a datetime instance with a tzinfo instance. The documented macros all hard code the value Py_None for the tzinfo parameter. Using the PyObject_Call() method instead of the macro for creating a datetime instanc