diff options
author | Brett Cannon <brett@python.org> | 2016-09-08 01:39:18 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2016-09-08 01:39:18 (GMT) |
commit | 035a1003820c0148b9a12f3034829fcc655a92bb (patch) | |
tree | 70e69c549aee6c15150b402951999419135984cb /Doc/whatsnew | |
parent | d5f92239818eef182fadc7c6f81f70912090573d (diff) | |
download | cpython-035a1003820c0148b9a12f3034829fcc655a92bb.zip cpython-035a1003820c0148b9a12f3034829fcc655a92bb.tar.gz cpython-035a1003820c0148b9a12f3034829fcc655a92bb.tar.bz2 |
Issue #26667: Add path-like object support to importlib.util.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 4398da5..59661be 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -68,8 +68,6 @@ New syntax features: Standard library improvements: -* PEP 519: :ref:`Adding a file system path protocol <pep-519>` - Security improvements: * On Linux, :func:`os.urandom` now blocks until the system urandom entropy pool @@ -513,6 +511,11 @@ restriction that :class:`importlib.machinery.BuiltinImporter` and :class:`importlib.machinery.ExtensionFileLoader` couldn't be used with :class:`importlib.util.LazyLoader`. +:func:`importlib.util.cache_from_source`, +:func:`importlib.util.source_from_cache`, and +:func:`importlib.util.spec_from_file_location` now accept a +:term:`path-like object`. + os -- @@ -528,6 +531,11 @@ The Linux ``getrandom()`` syscall (get random bytes) is now exposed as the new :func:`os.getrandom` function. (Contributed by Victor Stinner, part of the :pep:`524`) +See the summary for :ref:`PEP 519 <pep-519>` for details on how the +:mod:`os` and :mod:`os.path` modules now support +:term:`path-like objects <path-like object>`. + + pickle ------ |