summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2020-02-14 22:02:13 +0000
committerGitHub <noreply@github.com>2020-02-14 22:02:13 +0000
commit1ed61617a4a6632905ad6a0b440cd2cafb8b6414 (patch)
treebfe15c8f526f05a0c214d409bb94e64e750442a4 /Misc/NEWS.d
parent9aeb0ef9309384099e2f23bcee2240fbc096568e (diff)
downloadcpython-git-1ed61617a4a6632905ad6a0b440cd2cafb8b6414.tar.gz
bpo-12915: Add pkgutil.resolve_name (GH-18310)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2020-02-02-10-08-25.bpo-12915.d6r50-.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-02-02-10-08-25.bpo-12915.d6r50-.rst b/Misc/NEWS.d/next/Library/2020-02-02-10-08-25.bpo-12915.d6r50-.rst
new file mode 100644
index 0000000000..90ee0bcac7
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-02-02-10-08-25.bpo-12915.d6r50-.rst
@@ -0,0 +1,4 @@
+A new function ``resolve_name`` has been added to the ``pkgutil`` module.
+This resolves a string of the form ``'a.b.c.d'`` or ``'a.b:c.d'`` to an
+object. In the example, ``a.b`` is a package/module and ``c.d`` is an object
+within that package/module reached via recursive attribute access.