mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +00:00
gh-69443: Add test.support.Py_DEBUG constant (#93226)
This commit is contained in:
parent
ca58e4a2c5
commit
5185956527
13 changed files with 45 additions and 45 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue