gh-130940: Modify default behavior of PyConfig.use_system_logger to enable on iOS (#131172)

Modify default behavior of use_system_log to enable on iOS.
This commit is contained in:
Russell Keith-Magee 2025-03-13 14:28:49 +08:00 committed by GitHub
parent f7ac656c8e
commit dd6d24e9d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 22 additions and 6 deletions

View file

@ -297,7 +297,7 @@ To add Python to an iOS Xcode project:
* 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);
(optional, but strongly recommended; this is enabled by default);
* ``PYTHONHOME`` for the interpreter is configured to point at the
``python`` subfolder of your app's bundle; and
* The ``PYTHONPATH`` for the interpreter includes: