Skip to content
Myr

add note for change in 3.7 encoding handling

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This notes what PEPs led to a change to an error that no longer occurs in Python 3.7 and later.

authored by Brian Grohe · committed by David Lord · parent baf0124 · Browse files · 1 file+6 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:docs/python3.rst+6 added
121 unmodified lines
122 configured to use ASCII as encoding for the environment. Either switch123 to Python 2 or consult the Python 3 section of the docs for124 mitigation steps.125126.. note::127128 In Python 3.7 and later you will no longer get a ``RuntimeError`` in129 many cases thanks to :pep:`538` and :pep:`540`, which changed the130 default assumption in unconfigured environments.131132You are dealing with an environment where Python 3 thinks you are133restricted to ASCII data. The solution to these problems is different134depending on which locale your computer is running in.135
54 unmodified lines