Browse Source
bpo-19610: setup() now raises TypeError for invalid types (GH-4519)
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.pull/3259/merge
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 112 additions and 12 deletions
-
4Doc/distutils/apiref.rst
-
39Doc/distutils/setupscript.rst
-
6Doc/whatsnew/3.7.rst
-
26Lib/distutils/dist.py
-
44Lib/distutils/tests/test_dist.py
-
5Misc/NEWS.d/next/Library/2017-11-23-16-15-55.bpo-19610.Dlca2P.rst
@ -0,0 +1,5 @@ |
|||
``setup()`` now raises :exc:`TypeError` for invalid types. |
|||
|
|||
The ``distutils.dist.Distribution`` class now explicitly raises an exception |
|||
when ``classifiers``, ``keywords`` and ``platforms`` fields are not |
|||
specified as a list. |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue