mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
[3.13] gh-130940: Remove PyConfig.use_system_logger (#131129)
Removes ``PyConfig.use_system_logger``, resolving an ABI incompatibility introduced in 3.13.2. Changes the default behavior of iOS to *always* direct stdout/stderr to the system log.
This commit is contained in:
parent
65b58291b0
commit
589f422d1b
9 changed files with 19 additions and 57 deletions
|
@ -1271,17 +1271,6 @@ PyConfig
|
|||
|
||||
Default: ``1`` in Python config and ``0`` in isolated config.
|
||||
|
||||
.. c:member:: int use_system_logger
|
||||
|
||||
If non-zero, ``stdout`` and ``stderr`` will be redirected to the system
|
||||
log.
|
||||
|
||||
Only available on macOS 10.12 and later, and on iOS.
|
||||
|
||||
Default: ``0`` (don't use system log).
|
||||
|
||||
.. versionadded:: 3.13.2
|
||||
|
||||
.. c:member:: int user_site_directory
|
||||
|
||||
If non-zero, add the user site directory to :data:`sys.path`.
|
||||
|
|
|
@ -296,8 +296,6 @@ To add Python to an iOS Xcode project:
|
|||
* Buffered stdio (:c:member:`PyConfig.buffered_stdio`) is *disabled*;
|
||||
* Writing bytecode (:c:member:`PyConfig.write_bytecode`) is *disabled*;
|
||||
* Signal handlers (:c:member:`PyConfig.install_signal_handlers`) are *enabled*;
|
||||
* System logging (:c:member:`PyConfig.use_system_logger`) is *enabled*
|
||||
(optional, but strongly recommended);
|
||||
* ``PYTHONHOME`` for the interpreter is configured to point at the
|
||||
``python`` subfolder of your app's bundle; and
|
||||
* The ``PYTHONPATH`` for the interpreter includes:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue