diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2017-11-23 18:34:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-23 18:34:20 (GMT) |
commit | dcaed6b2d954786eb5369ec2e8dfdeefe3cdc6ae (patch) | |
tree | 04fe4e6ad2511884cfc719e566c683b8e7c04360 /Doc/whatsnew | |
parent | 6a54c676e63517653d3d4a1e164bdd0fd45132d8 (diff) | |
download | cpython-dcaed6b2d954786eb5369ec2e8dfdeefe3cdc6ae.zip cpython-dcaed6b2d954786eb5369ec2e8dfdeefe3cdc6ae.tar.gz cpython-dcaed6b2d954786eb5369ec2e8dfdeefe3cdc6ae.tar.bz2 |
bpo-19610: setup() now raises TypeError for invalid types (GH-4519)
The Distribution class now explicitly raises an
exception when 'classifiers', 'keywords' and
'platforms' fields are not specified as a list.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.7.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index 71e8358..514c3c2 100644 --- a/Doc/whatsnew/3.7.rst +++ b/Doc/whatsnew/3.7.rst @@ -298,6 +298,12 @@ 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. +(Contributed by Berker Peksag in :issue:`19610`.) + http.client ----------- |