[Python-checkins] (no subject)

Stéphane Wirtel webhook-mailer at python.org
Wed Sep 11 10:25:29 EDT 2019




To: python-checkins at python.org
Subject: Doc: Indicate locations of parse_qs, parse_qsl, escape (GH-14828)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

https://github.com/python/cpython/commit/1abf54336fd2cb545c453d22dd5501392b33=
50b2
commit: 1abf54336fd2cb545c453d22dd5501392b3350b2
branch: master
author: Simon Willison <swillison at gmail.com>
committer: St=C3=A9phane Wirtel <stephane at wirtel.be>
date: 2019-09-11T16:25:25+02:00
summary:

Doc: Indicate locations of parse_qs, parse_qsl, escape (GH-14828)

Since they have been removed from cgi it's useful to remind people where they
can be found instead.

files:
M Doc/whatsnew/3.8.rst

diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 07202ea4ff08..aefe9b53746f 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -1467,7 +1467,8 @@ The following features and APIs have been removed from =
Python 3.8:
   script is tied to. (Contributed by Brett Cannon in :issue:`25427`.)
=20
 * ``parse_qs``, ``parse_qsl``, and ``escape`` are removed from :mod:`cgi`
-  module.  They are deprecated from Python 3.2 or older.
+  module.  They are deprecated from Python 3.2 or older. They should be impo=
rted
+  from the ``urllib.parse`` and ``html`` modules instead.
=20
 * ``filemode`` function is removed from :mod:`tarfile` module.
   It is not documented and deprecated since Python 3.3.



More information about the Python-checkins mailing list