gh-69443: Add test.support.Py_DEBUG constant (#93226)

This commit is contained in:
Victor Stinner 2022-05-26 00:12:54 +02:00 committed by GitHub
parent ca58e4a2c5
commit 5185956527
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 45 additions and 45 deletions

View file

@ -319,6 +319,15 @@ The :mod:`test.support` module defines the following constants:
to make writes blocking.
.. data:: Py_DEBUG
True if Python is built with the :c:macro:`Py_DEBUG` macro defined: if
Python is :ref:`built in debug mode <debug-build>`
(:option:`./configure --with-pydebug <--with-pydebug>`).
.. versionadded:: 3.12
.. data:: SOCK_MAX_SIZE
A constant that is likely larger than the underlying OS socket buffer size,