summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>2022-04-16 22:57:00 (GMT)
committerGitHub <noreply@github.com>2022-04-16 22:57:00 (GMT)
commit37965d2fb434d8343d5c70fb6a462a16ae7882b8 (patch)
tree40d37002d9414950e4b2d889e281438a121545c2 /Misc
parent8560f4a0f288fec33ba49f85bb872353d631a4dc (diff)
downloadcpython-37965d2fb434d8343d5c70fb6a462a16ae7882b8.zip
cpython-37965d2fb434d8343d5c70fb6a462a16ae7882b8.tar.gz
cpython-37965d2fb434d8343d5c70fb6a462a16ae7882b8.tar.bz2
gh-78607: Replace __ltrace__ with __lltrace__ (GH-91619)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-04-16-21-54-31.gh-issue-78607._Y7bMm.rst1
-rw-r--r--Misc/SpecialBuilds.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-04-16-21-54-31.gh-issue-78607._Y7bMm.rst b/Misc/NEWS.d/next/Core and Builtins/2022-04-16-21-54-31.gh-issue-78607._Y7bMm.rst
new file mode 100644
index 0000000..808aedd
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-04-16-21-54-31.gh-issue-78607._Y7bMm.rst
@@ -0,0 +1 @@
+The LLTRACE special build now looks for the name ``__lltrace__`` defined in module globals, rather than the name ``__ltrace__``, which had been introduced as a typo.
diff --git a/Misc/SpecialBuilds.txt b/Misc/SpecialBuilds.txt
index a7cee80..5609928 100644
--- a/Misc/SpecialBuilds.txt
+++ b/Misc/SpecialBuilds.txt
@@ -94,7 +94,7 @@ Compile in support for Low Level TRACE-ing of the main interpreter loop.
When this preprocessor symbol is defined, before PyEval_EvalFrame executes a
frame's code it checks the frame's global namespace for a variable
-"__ltrace__". If such a variable is found, mounds of information about what
+"__lltrace__". If such a variable is found, mounds of information about what
the interpreter is doing are sprayed to stdout, such as every opcode and opcode
argument and values pushed onto and popped off the value stack.