summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-02-02 17:19:57 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-02-02 17:19:57 (GMT)
commit5147e00c81e1c219fbcdeb1ea67b8dde4ab34ee8 (patch)
tree5ef30bd5470c2968d457b39d46575b02f4579de7 /Doc/whatsnew
parent1d2418355016d0c4ce2e3a3c58516062ea14785d (diff)
downloadcpython-5147e00c81e1c219fbcdeb1ea67b8dde4ab34ee8.zip
cpython-5147e00c81e1c219fbcdeb1ea67b8dde4ab34ee8.tar.gz
cpython-5147e00c81e1c219fbcdeb1ea67b8dde4ab34ee8.tar.bz2
whatsnew: -m <namespace package>, plus 'using' doc updates.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.4.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 1d285fe..9a6afe5 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -789,6 +789,11 @@ and :func:`~importlib.util.source_from_cache` replace the same-named functions
in the deprecated :mod:`imp` module. (Contributed by Brett Cannon in
:issue:`18194`.)
+The :mod:`importlib` bootstrap :class:`.NamespaceLoader` now conforms to
+the :class:`.InspectLoader` ABC, which means that ``runpy`` and
+``python -m`` can now be used with namespace packages. (Contributed
+by Brett Cannon in :issue:`18058`.)
+
inspect
-------
@@ -1380,6 +1385,8 @@ Other Improvements
:func:`sys.getallocatedblocks()`. (Contributed by Antoine Pitrou in
:issue:`13390`).
+* ``python -m`` now works with namespace packages.
+
Significant Optimizations