]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-34231: PYTHONBREAKPOINT is not documented on python --help (GH-8475)
authorStéphane Wirtel <stephane@wirtel.be>
Sun, 29 Jul 2018 10:27:16 +0000 (12:27 +0200)
committerSteve Dower <steve.dower@microsoft.com>
Sun, 29 Jul 2018 10:27:16 +0000 (11:27 +0100)
Misc/python.man
Modules/main.c

index a191cabee84d8184842d0d5e9d10775cefd192bf..3cdf8840d4d841818d699018f836a2709e5fa165 100644 (file)
@@ -495,6 +495,9 @@ directory and Distutils installation paths for
 If this environment variable is set to a non-empty string, Python will
 show how long each import takes. This is exactly equivalent to setting
 \fB\-X importtime\fP on the command line.
+.IP PYTHONBREAKPOINT
+If this environment variable is set to 0, it disables the default debugger. It
+can be set to the callable of your debugger of choice.
 .SS Debug-mode variables
 Setting these variables only has an effect in a debug build of Python, that is,
 if Python was configured with the
index 3a6cf31fc860b88a7ebfa2d7cc572565633340d2..8000a1aeb0b4016a8167b72a4fef71756d594fb1 100644 (file)
@@ -144,6 +144,8 @@ static const char usage_6[] =
 "PYTHONCOERCECLOCALE: if this variable is set to 0, it disables the locale\n"
 "   coercion behavior. Use PYTHONCOERCECLOCALE=warn to request display of\n"
 "   locale coercion and locale compatibility warnings on stderr.\n"
+"PYTHONBREAKPOINT: if this variable is set to 0, it disables the default\n"
+"   debugger. It can be set to the callable of your debugger of choice.\n"
 "PYTHONDEVMODE: enable the development mode.\n"
 "PYTHONPYCACHEPREFIX: root directory for bytecode cache (pyc) files.\n";