Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 26 additions & 4 deletions Doc/c-api/init_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,15 @@
- :c:member:`install_signal_handlers <PyConfig.install_signal_handlers>`
- ``bool``
- Read-only
* - ``"int_max_str_digits"``
- :c:member:`int_max_str_digits <PyConfig.int_max_str_digits>`
- ``int``
- Public
* - ``"int_max_str_digits"``

Check warning on line 376 in Doc/c-api/init_config.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

Bullet list ends without a blank line; unexpected unindent. [docutils]
- :c:member:`int_max_str_digits <PyConfig.int_max_str_digits>`
- ``int``
- Public
* - ``"lazy_imports"``
- :c:member:`lazy_imports <PyConfig.lazy_imports>`
- ``int``
- Public
* - ``"interactive"``

Check warning on line 384 in Doc/c-api/init_config.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

Block quote ends without a blank line; unexpected unindent. [docutils]
- :c:member:`interactive <PyConfig.interactive>`
- ``bool``
- Public
Expand Down Expand Up @@ -1543,6 +1547,24 @@

.. versionadded:: 3.12

.. c:member:: int lazy_imports

Controls the global lazy imports mode.

* ``-1``: ``"normal"`` - only imports explicitly marked with the ``lazy``
keyword are lazy (the default).
* ``1``: ``"all"`` - all top-level imports become potentially lazy.
* ``0``: rejected; not a valid value.

Configured by the :option:`-X lazy_imports <-X>` command line flag or
the :envvar:`PYTHON_LAZY_IMPORTS` environment variable.

See also :func:`sys.set_lazy_imports` and :pep:`810`.

Default: ``-1``.

.. versionadded:: 3.15

.. c:member:: int cpu_count

If the value of :c:member:`~PyConfig.cpu_count` is not ``-1`` then it will
Expand Down
Loading