Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-130940: Modify default behavior ofPyConfig.use_system_logger to enable on iOS#131172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@freakboy3742
Copy link
Contributor

@freakboy3742freakboy3742 commentedMar 12, 2025
edited
Loading

#127592 added thePyConfig.use_system_logger configuration flag; this was backported to 3.13 in#127754.

This introduced an ABI breakage in 3.13.2; the flag will be removed from 3.13 by#131129.

However, the functional effect of the flag isrequired on iOS so that the logs generated by the simulator can be observed at all. As a general rule, there's very little reason you'dnot want stdout and stderr routed to the system log on iOS - every BeeWare app, for example, includesstd-nslog, which implements effectively the same behavior.

To allow for this,#131129 modifies the behavior on iOS toalways use the system logger for stdout/stderr. This PR ensures that behaviour will be consistent by default between 3.13 and 3.14 - use of the system log is enabled by default on iOS, and disabled by default on macOS.


📚 Documentation preview 📚:https://cpython-previews--131172.org.readthedocs.build/

@freakboy3742
Copy link
ContributorAuthor

!buildbot iOS

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@freakboy3742 for commit0f9661c 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F131172%2Fmerge

The command will test the builders whose names match following regular expression:iOS

The builders matched are:

  • iOS ARM64 Simulator PR

Copy link
Member

@ned-deilyned-deily left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

@freakboy3742freakboy3742 merged commitdd6d24e intopython:mainMar 13, 2025
54 checks passed
@freakboy3742freakboy3742 deleted the initconfig-system-log branchMarch 13, 2025 06:28
plashchynski pushed a commit to plashchynski/cpython that referenced this pull requestMar 17, 2025
…er` to enable on iOS (python#131172)Modify default behavior of use_system_log to enable on iOS.
seehwan pushed a commit to seehwan/cpython that referenced this pull requestApr 16, 2025
…er` to enable on iOS (python#131172)Modify default behavior of use_system_log to enable on iOS.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ned-deilyned-deilyned-deily approved these changes

@FFY00FFY00Awaiting requested review from FFY00FFY00 is a code owner

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@freakboy3742@bedevere-bot@ned-deily

[8]ページ先頭

©2009-2025 Movatter.jp