gh-148603: Update open() default encoding docs#148614
gh-148603: Update open() default encoding docs#148614dagangtj wants to merge 1 commit intopython:mainfrom
open() default encoding docs#148614Conversation
|
The following commit authors need to sign the Contributor License Agreement: |
open() default encoding docs
StanFromIreland
left a comment
There was a problem hiding this comment.
Please revert unrelated changes.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
Hi @StanFromIreland, thanks for the review. I've reverted the unrelated changes in the local branch. However, I'm currently experiencing network issues that prevent pushing to GitHub. I'll retry the push shortly. |
Summary\n\nUpdates the documentation for the built-in open() function to reflect that Python 3.15 uses UTF-8 as the default text encoding (PEP 686), rather than locale-dependent encoding.\n\n## Changes\n\n- Updated open() documentation in Doc/library/functions.rst\n\n## Testing\n\n- Verified the documentation source builds correctly\n\nFixes #148603
📚 Documentation preview 📚: https://cpython-previews--148614.org.readthedocs.build/