Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
bpo-43510: Implement PEP 597 opt-in EncodingWarning.#19481
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
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
51 commits Select commitHold shift + click to select a range
a3c014b Raise a warning when encoding is omitted
methane050bd1b add test
methane939f4a0 wrap encoding=None with text_encoding.
methane3c99777 Add io.LOCALE_ENCODING = "locale"
methane4016278 Add EncodingWarning.
methanec5c556c Add sys.warn_default_encoding
methaned9a08c2 shorten option names
methane772648e EncodingWarning extends Warning
methane1a8e305 make clinic
methane20966cd fix test
methane2b80f42 remove wrong test case
methane760308c fix exception_hierarchy.txt
methanea95dff2 Make sys.flags.encoding_warning int
methane31fb411 Fix text_embed.
methane096a0a3 Fix test_pickle
methane99fc938 configparser: use io.text_encoding()
methane6fdbcbc Rename option names
methane3f362bc Merge remote-tracking branch 'upstream/master' into open-encoding
methane674feff Update docs
methaned9d850f Add NEWS entry
methane16463ea Add document for text_encoding and encoding="locale".
methane412d633 Suppress EncodingWarning from site.py
methaneee883d1 Remove io.LOCALE_ENCODING
methane6a15e2a text_encoding() first argument is mandatory.
methane5d474b4 Apply suggestions from code review
methanec17016f Simplify _PyPreCmdline and PyConfig
methane03f971c Update EncodingWarning doc
methane9d26b7a Update document
methane60e74cf tweak warning message
methanea505b5f Use stacklevel=2 for text_encoding() default
methanecbe22e2 fixup
methanea9f9f04 tweak for readability
methane3bea88f make clinic
methaned260a4c fix doc build error
methane049a269 tweak warning message
methane018ba64 fixup
methane3a9623e Fix subprocess
methane737059e Update Doc/library/io.rst
methane6a62211 Update Doc/library/io.rst
methane54c7dc6 Update Doc/library/io.rst
methane5b2830b Update Doc/library/io.rst
methane14f2a6e Apply suggestions from code review
methane06e2a32 Move EncodingWarnings
methane27d49d2 fix comment
methane80f4644 fix text_encoding() docstring
methane6ad0e7f update what's new
methane73b27f1 fix doc build
methanec149d65 Update Doc/library/io.rst
methane4eb7655 Apply suggestions from code review
methanee3bce76 Apply suggestions from code review
methanec089fd7 Update Doc/library/io.rst
methaneFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Update Doc/library/io.rst
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit5b2830bc1577b7813dad270dfa21d4867aa0f1ff
There are no files selected for viewing
8 changes: 4 additions & 4 deletionsDoc/library/io.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.