Add Python 2 support entry in FAQ (#5303)

* Add Python 2 support entry in FAQ

Fixes: #5211

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>

* Adding Python 3 recommendation

Co-authored-by: Nate Prewitt <nate.prewitt@gmail.com>
This commit is contained in:
Sumana Harihareswara
2020-01-09 12:55:20 -05:00
committed by Nate Prewitt
parent 782e94d141
commit a9ee0eef5a
+12
View File
@@ -56,6 +56,18 @@ Python 3 Support?
Yes! Requests officially supports Python 2.7 & 3.5+ and PyPy.
Python 2 Support?
-----------------
Yes! We do not have immediate plans to `sunset
<https://www.python.org/doc/sunset-python-2/>`_ our support for Python
2.7. We understand that we have a large user base with varying needs,
and intend to maintain Python 2.7 support within Requests until `pip
stops supporting Python 2.7 (there's no estimated date on that yet)
<https://pip.pypa.io/en/latest/development/release-process/#python-2-support>`_.
That said, it is *highly* recommended users migrate to Python 3.5+ since Python 2.7 will no longer be receiving bug fixes or security updates after January 1, 2020.
What are "hostname doesn't match" errors?
-----------------------------------------