summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-02-16 17:53:23 -0800
committerGitHub <noreply@github.com>2020-02-16 17:53:23 -0800
commita93b797f872561466b3a4df44132ce7f53b26083 (patch)
treeca725f534680d6e73e3d9db871fb5d83274c37cb /docs
parent987c2e401e299118d60fae4181920cb72a5da54b (diff)
parent4b893c5a257125b78ad8287eddd4e3979ed1777f (diff)
downloadclick-a93b797f872561466b3a4df44132ce7f53b26083.tar.gz
Merge pull request #1302 from paxnovem/ISSUE-1212
Adds a note that there is a behavior change after Python 3.7
Diffstat (limited to 'docs')
-rw-r--r--docs/python3.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/python3.rst b/docs/python3.rst
index b68da64..c1736a8 100644
--- a/docs/python3.rst
+++ b/docs/python3.rst
@@ -120,6 +120,12 @@ If you see something like this error in Python 3::
to Python 2 or consult the Python 3 section of the docs for
mitigation steps.
+.. note::
+
+ In Python 3.7 and later you will no longer get a ``RuntimeError`` in
+ many cases thanks to :pep:`538` and :pep:`540`, which changed the
+ default assumption in unconfigured environments.
+
You are dealing with an environment where Python 3 thinks you are
restricted to ASCII data. The solution to these problems is different
depending on which locale your computer is running in.