@@ -878,6 +878,11 @@ Optimizations
|
878 | 878 | start-up time by up to 10%. (Contributed by Ivan Levkivskyi and INADA Naoki |
879 | 879 | in :issue:`31333`) |
880 | 880 | |
| 881 | +* Significant speed improvements to alternate constructors for |
| 882 | +:class:`datetime.date` and :class:`datetime.datetime` by using fast-path |
| 883 | + constructors when not constructing subclasses. (Contributed by Paul Ganssle |
| 884 | + in :issue:`32403`) |
| 885 | + |
881 | 886 | Build and C API Changes |
882 | 887 | ======================= |
883 | 888 | |
@@ -928,6 +933,11 @@ Build and C API Changes
|
928 | 933 | * Support for building ``--without-threads`` is removed. |
929 | 934 | (Contributed by Antoine Pitrou in :issue:`31370`.). |
930 | 935 | |
| 936 | +* Added C API support for timezones with timezone constructors |
| 937 | +:c:func:`PyTimeZone_FromOffset` and :c:func:`PyTimeZone_FromOffsetAndName`, |
| 938 | + and access to the UTC singleton with :c:data:`PyDateTime_TimeZone_UTC`. |
| 939 | + Contributed by Paul Ganssle in :issue:`10381`. |
| 940 | + |
931 | 941 | |
932 | 942 | Other CPython Implementation Changes |
933 | 943 | ==================================== |
|