summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-06-11 11:09:39 (GMT)
committerGitHub <noreply@github.com>2017-06-11 11:09:39 (GMT)
commit1efbf92e90ed2edf3f5bb5323340b26f318ff61e (patch)
treeb3dbf9eede1f4c0094c8c8dcf0a02523406b3130 /Doc/whatsnew
parentfdfca5f0ffa831a3365cbabf9ed8fd05e9c4da49 (diff)
downloadcpython-1efbf92e90ed2edf3f5bb5323340b26f318ff61e.zip
cpython-1efbf92e90ed2edf3f5bb5323340b26f318ff61e.tar.gz
cpython-1efbf92e90ed2edf3f5bb5323340b26f318ff61e.tar.bz2
bpo-11822: Improve disassembly to show embedded code objects. (#1844)
The depth argument limits recursion.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.7.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 6074781..3cdc009 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -178,6 +178,14 @@ contextlib
:func:`contextlib.asynccontextmanager` has been added. (Contributed by
Jelle Zijlstra in :issue:`29679`.)
+dis
+---
+
+The :func:`~dis.dis` function now is able to
+disassemble nested code objects (the code of comprehensions, generator
+expressions and nested functions, and the code used for building nested
+classes). (Contributed by Serhiy Storchaka in :issue:`11822`.)
+
distutils
---------