]> granicus.if.org Git - python/commit
bpo-10381: Add timezone to datetime C API (#5032)
authorPaul Ganssle <pganssle@users.noreply.github.com>
Wed, 24 Jan 2018 22:29:30 +0000 (17:29 -0500)
committerAlexander Belopolsky <abalkin@users.noreply.github.com>
Wed, 24 Jan 2018 22:29:30 +0000 (17:29 -0500)
commit04af5b1ba9eb546a29735fac6cb5298159069b53
tree12e50adcc6ee03a3a4a80cb0a9b37bff4b58901b
parentccbe5818af20f8c12043f5c30c277a74714405e0
bpo-10381: Add timezone to datetime C API (#5032)

* Add timezone to datetime C API

* Add documentation for timezone C API macros

* Add dedicated tests for datetime type check macros

* Remove superfluous C API test

* Drop support for TimeZoneType in datetime C API

* Expose UTC singleton to the datetime C API

* Update datetime C-API documentation to include links

* Add reference count information for timezone constructors
Doc/c-api/datetime.rst
Doc/data/refcounts.dat
Include/datetime.h
Lib/test/datetimetester.py
Misc/NEWS.d/next/C API/2017-12-28-15-22-05.bpo-10381.a1E6aF.rst [new file with mode: 0644]
Modules/_datetimemodule.c
Modules/_testcapimodule.c