Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' of github.com:python/cpython into fix-issue-36982
Resolve conflicts
  • Loading branch information
websurfer5 committed May 29, 2019
commit 696a83ce6cd641c96e07ab45afa26bfa44fc8f07
35 changes: 35 additions & 0 deletions Doc/whatsnew/3.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,23 @@ support is provided by the underlying ncurses library.
(Contributed by Jeffrey Kintscher in :issue:`36982`.)


functools
---------

:func:`functools.lru_cache` can now be used as a straight decorator rather
than as a function returning a decorator. So both of these are now supported::

@lru_cache
def f(x):
...

@lru_cache(maxsize=256)
def f(x):
...

(Contributed by Raymond Hettinger in :issue:`36772`.)


datetime
--------

Expand Down Expand Up @@ -459,6 +476,24 @@ Added new function :func:`math.isqrt` for computing integer square roots.
(Contributed by Mark Dickinson in :issue:`36887`.)


mmap
----

The :class:`mmap.mmap` class now has an :meth:`~mmap.mmap.madvise` method to
access the ``madvise()`` system call.
(Contributed by Zackery Spytz in :issue:`32941`.)


multiprocessing
---------------

Added new :mod:`multiprocessing.shared_memory` module.
(Contributed Davin Potts in :issue:`35813`.)

On macOS, the *spawn* start method is now used by default.
(Contributed by Victor Stinner in :issue:`33725`.)


os
--

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.