summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2021-09-14 09:09:05 (GMT)
committerGitHub <noreply@github.com>2021-09-14 09:09:05 (GMT)
commitc99fc4e53a60084df88ac5c69b3b13bc033677e1 (patch)
treedec1308bd562dfd578ee29d15d0bb8ea5acb0ac2 /Misc
parentc2f1e953371c25f6c42b599ba3d8797effbb503e (diff)
downloadcpython-c99fc4e53a60084df88ac5c69b3b13bc033677e1.zip
cpython-c99fc4e53a60084df88ac5c69b3b13bc033677e1.tar.gz
cpython-c99fc4e53a60084df88ac5c69b3b13bc033677e1.tar.bz2
bpo-45168: change dis output to omit missing values rather than replacing them by their index (GH-28313)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-09-13-14-28-49.bpo-45168.Z1mfW4.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-09-13-14-28-49.bpo-45168.Z1mfW4.rst b/Misc/NEWS.d/next/Library/2021-09-13-14-28-49.bpo-45168.Z1mfW4.rst
new file mode 100644
index 0000000..4e12e7d
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-09-13-14-28-49.bpo-45168.Z1mfW4.rst
@@ -0,0 +1 @@
+Change :func:`dis.dis` output to omit op arg values that cannot be resolved due to ``co_consts``, ``co_names`` etc not being provided. Previously the oparg itself was repeated in the value field, which is not useful and can be confusing.