Skip to content
Browse files

bpo-10381, bpo-32403: What's new entries for changes to datetime (gh-…

…5814) (gh-5929)

* Add What's New entry for addition of datetime.timezone to the C API

Closes bpo-10381

* Add what's new entry for date and datetime optimizations

Closes bpo-32403
(cherry picked from commit 5bd04f9)

Co-authored-by: Paul Ganssle <>
  • Loading branch information...
2 people authored and abalkin committed Feb 27, 2018
1 parent 4c842b0 commit fff596f792a0752b0e571fa57809e5752aba6353
Showing with 10 additions and 0 deletions.
  1. +10 −0 Doc/whatsnew/3.7.rst
@@ -878,6 +878,11 @@ Optimizations
start-up time by up to 10%. (Contributed by Ivan Levkivskyi and INADA Naoki
in :issue:`31333`)

* Significant speed improvements to alternate constructors for
:class:`` and :class:`datetime.datetime` by using fast-path
constructors when not constructing subclasses. (Contributed by Paul Ganssle
in :issue:`32403`)

Build and C API Changes

@@ -928,6 +933,11 @@ Build and C API Changes
* Support for building ``--without-threads`` is removed.
(Contributed by Antoine Pitrou in :issue:`31370`.).

* Added C API support for timezones with timezone constructors
:c:func:`PyTimeZone_FromOffset` and :c:func:`PyTimeZone_FromOffsetAndName`,
and access to the UTC singleton with :c:data:`PyDateTime_TimeZone_UTC`.
Contributed by Paul Ganssle in :issue:`10381`.

Other CPython Implementation Changes

0 comments on commit fff596f

Please sign in to comment.
You can’t perform that action at this time.