@@ -886,6 +886,11 @@ Optimizations
|
886 | 886 | start-up time by up to 10%. (Contributed by Ivan Levkivskyi and INADA Naoki |
887 | 887 | in :issue:`31333`) |
888 | 888 | |
| 889 | +* Significant speed improvements to alternate constructors for |
| 890 | +:class:`datetime.date` and :class:`datetime.datetime` by using fast-path |
| 891 | + constructors when not constructing subclasses. (Contributed by Paul Ganssle |
| 892 | + in :issue:`32403`) |
| 893 | + |
889 | 894 | Build and C API Changes |
890 | 895 | ======================= |
891 | 896 | |
@@ -936,6 +941,11 @@ Build and C API Changes
|
936 | 941 | * Support for building ``--without-threads`` is removed. |
937 | 942 | (Contributed by Antoine Pitrou in :issue:`31370`.). |
938 | 943 | |
| 944 | +* Added C API support for timezones with timezone constructors |
| 945 | +:c:func:`PyTimeZone_FromOffset` and :c:func:`PyTimeZone_FromOffsetAndName`, |
| 946 | + and access to the UTC singleton with :c:data:`PyDateTime_TimeZone_UTC`. |
| 947 | + Contributed by Paul Ganssle in :issue:`10381`. |
| 948 | + |
939 | 949 | |
940 | 950 | Other CPython Implementation Changes |
941 | 951 | ==================================== |
|