summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorNeil Schemenauer <nas-github@arctrix.com>2017-12-05 02:58:12 (GMT)
committerGitHub <noreply@github.com>2017-12-05 02:58:12 (GMT)
commit8837dd092fe5ad5184889104e8036811ed839f98 (patch)
tree70b98ec438853e992d10338d7ff56da7d7a0b0d3 /Doc/whatsnew
parent9625bf520e08828e36bc3b1d043af679eb5f993d (diff)
downloadcpython-8837dd092fe5ad5184889104e8036811ed839f98.zip
cpython-8837dd092fe5ad5184889104e8036811ed839f98.tar.gz
cpython-8837dd092fe5ad5184889104e8036811ed839f98.tar.bz2
bpo-19610: Warn if distutils is provided something other than a list to some fields (#4685)
* Rather than raise TypeError, warn and call list() on the value. * Fix tests, revise NEWS and whatsnew text. * Revise documentation, a string is okay as well. * Ensure 'requires' and 'obsoletes' are real lists. * Test that requires and obsoletes are turned to lists.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.7.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 3d23aa7..9363730 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -298,10 +298,8 @@ README.rst is now included in the list of distutils standard READMEs and
therefore included in source distributions.
(Contributed by Ryan Gonzalez in :issue:`11913`.)
-:class:`distutils.core.setup` now raises a :exc:`TypeError` if
-``classifiers``, ``keywords`` and ``platforms`` fields are not specified
-as a list. However, to minimize backwards incompatibility concerns,
-``keywords`` and ``platforms`` fields still accept a comma separated string.
+:class:`distutils.core.setup` now warns if the ``classifiers``, ``keywords``
+and ``platforms`` fields are not specified as a list or a string.
(Contributed by Berker Peksag in :issue:`19610`.)
http.client