[Python-checkins] bpo-42521: Add note about 'Python -d' only working on debug builds (GH-23607)

pablogsal webhook-mailer at python.org
Wed Dec 2 12:56:46 EST 2020

commit: 99b594404d364b363c184f48338d6ee81bee26dd
branch: master
author: Pablo Galindo <Pablogsal at gmail.com>
committer: pablogsal <Pablogsal at gmail.com>
date: 2020-12-02T17:56:17Z

bpo-42521: Add note about 'Python -d' only working on debug builds (GH-23607)

M Python/initconfig.c

diff --git a/Python/initconfig.c b/Python/initconfig.c
index 4d95ac5d8859b..62087fb4208dd 100644
--- a/Python/initconfig.c
+++ b/Python/initconfig.c
@@ -38,7 +38,8 @@ Options and arguments (and corresponding environment variables):\n\
          and comparing bytes/bytearray with str. (-bb: issue errors)\n\
 -B     : don't write .pyc files on import; also PYTHONDONTWRITEBYTECODE=x\n\
 -c cmd : program passed in as string (terminates option list)\n\
--d     : debug output from parser; also PYTHONDEBUG=x\n\
+-d     : turn on parser debugging output (for experts only, only works on\n\
+         debug builds); also PYTHONDEBUG=x\n\
 -E     : ignore PYTHON* environment variables (such as PYTHONPATH)\n\
 -h     : print this help message and exit (also --help)\n\

More information about the Python-checkins mailing list