]> granicus.if.org Git - python/commit
bpo-19610: Warn if distutils is provided something other than a list to some fields...
authorNeil Schemenauer <nas-github@arctrix.com>
Tue, 5 Dec 2017 02:58:12 +0000 (18:58 -0800)
committerGitHub <noreply@github.com>
Tue, 5 Dec 2017 02:58:12 +0000 (18:58 -0800)
commit8837dd092fe5ad5184889104e8036811ed839f98
tree70b98ec438853e992d10338d7ff56da7d7a0b0d3
parent9625bf520e08828e36bc3b1d043af679eb5f993d
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.
Doc/distutils/apiref.rst
Doc/whatsnew/3.7.rst
Lib/distutils/dist.py
Lib/distutils/tests/test_dist.py
Misc/NEWS.d/next/Library/2017-11-23-16-15-55.bpo-19610.Dlca2P.rst