Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
a3c014b
Raise a warning when encoding is omitted
methane Apr 7, 2020
050bd1b
add test
methane Apr 12, 2020
939f4a0
wrap encoding=None with text_encoding.
methane Apr 12, 2020
3c99777
Add io.LOCALE_ENCODING = "locale"
methane Jan 29, 2021
4016278
Add EncodingWarning.
methane Jan 29, 2021
c5c556c
Add sys.warn_default_encoding
methane Jan 29, 2021
d9a08c2
shorten option names
methane Jan 30, 2021
772648e
EncodingWarning extends Warning
methane Jan 30, 2021
1a8e305
make clinic
methane Jan 30, 2021
20966cd
fix test
methane Jan 30, 2021
2b80f42
remove wrong test case
methane Jan 30, 2021
760308c
fix exception_hierarchy.txt
methane Jan 30, 2021
a95dff2
Make sys.flags.encoding_warning int
methane Jan 31, 2021
31fb411
Fix text_embed.
methane Jan 31, 2021
096a0a3
Fix test_pickle
methane Jan 31, 2021
99fc938
configparser: use io.text_encoding()
methane Feb 13, 2021
6fdbcbc
Rename option names
methane Feb 22, 2021
3f362bc
Merge remote-tracking branch 'upstream/master' into open-encoding
methane Mar 16, 2021
674feff
Update docs
methane Mar 16, 2021
d9d850f
Add NEWS entry
methane Mar 16, 2021
16463ea
Add document for text_encoding and encoding="locale".
methane Mar 17, 2021
412d633
Suppress EncodingWarning from site.py
methane Mar 17, 2021
ee883d1
Remove io.LOCALE_ENCODING
methane Mar 18, 2021
6a15e2a
text_encoding() first argument is mandatory.
methane Mar 18, 2021
5d474b4
Apply suggestions from code review
methane Mar 18, 2021
c17016f
Simplify _PyPreCmdline and PyConfig
methane Mar 18, 2021
03f971c
Update EncodingWarning doc
methane Mar 18, 2021
9d26b7a
Update document
methane Mar 19, 2021
60e74cf
tweak warning message
methane Mar 19, 2021
a505b5f
Use stacklevel=2 for text_encoding() default
methane Mar 19, 2021
cbe22e2
fixup
methane Mar 19, 2021
a9f9f04
tweak for readability
methane Mar 19, 2021
3bea88f
make clinic
methane Mar 19, 2021
d260a4c
fix doc build error
methane Mar 19, 2021
049a269
tweak warning message
methane Mar 19, 2021
018ba64
fixup
methane Mar 19, 2021
3a9623e
Fix subprocess
methane Mar 23, 2021
737059e
Update Doc/library/io.rst
methane Mar 23, 2021
6a62211
Update Doc/library/io.rst
methane Mar 23, 2021
54c7dc6
Update Doc/library/io.rst
methane Mar 23, 2021
5b2830b
Update Doc/library/io.rst
methane Mar 23, 2021
14f2a6e
Apply suggestions from code review
methane Mar 23, 2021
06e2a32
Move EncodingWarnings
methane Mar 23, 2021
27d49d2
fix comment
methane Mar 23, 2021
80f4644
fix text_encoding() docstring
methane Mar 23, 2021
6ad0e7f
update what's new
methane Mar 23, 2021
73b27f1
fix doc build
methane Mar 23, 2021
c149d65
Update Doc/library/io.rst
methane Mar 24, 2021
4eb7655
Apply suggestions from code review
methane Mar 24, 2021
e3bce76
Apply suggestions from code review
methane Mar 24, 2021
c089fd7
Update Doc/library/io.rst
methane Mar 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix doc build
  • Loading branch information
methane committed Mar 23, 2021
commit 73b27f1c5edea9b4ec13fb43f8ffd87a271a136a
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.10.rst
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ For the full specification see :pep:`634`. Motivation and rationale
are in :pep:`635`, and a longer tutorial is in :pep:`636`.


.. _whatsnew310-pep597
.. _whatsnew310-pep597:

Optional ``EncodingWarning`` and ``encoding="locale"`` option
-------------------------------------------------------------
Expand Down