diff options
Diffstat (limited to 'Doc/whatsnew/3.4.rst')
-rw-r--r-- | Doc/whatsnew/3.4.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index ccb9e45..5d0db50 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -453,6 +453,7 @@ deviation of a data series. .. _whatsnew-tracemalloc: + tracemalloc ----------- @@ -902,6 +903,7 @@ The ``socket.AF_*`` and ``socket.SOCK_*`` constants are enumeration values, using the new :mod:`enum` module. This allows descriptive reporting during debugging, instead of seeing integer "magic numbers". + ssl --- @@ -1198,6 +1200,9 @@ Significant Optimizations most cases. :class:`lzma.LZMAFile` has also been optimized. (Contributed by Serhiy Storchaka and Nadeem Vawda in :issue:`16034`.) +* :func:`random.getrandbits` is 20%-40% faster for small integers (the most + common use case). (Contributed by Serhiy Storchaka in :issue:`16674`). + Deprecated ========== |