diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2022-06-26 01:04:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 01:04:28 (GMT) |
commit | 38612a05b5de33fde82d7960418527b7cfaa2e7c (patch) | |
tree | fc311ccb634a3bf6fb025bf5b064ead486e7be25 /Misc | |
parent | 9af6b75298d066e89646acf8df1704bef183a6f8 (diff) | |
download | cpython-38612a05b5de33fde82d7960418527b7cfaa2e7c.zip cpython-38612a05b5de33fde82d7960418527b7cfaa2e7c.tar.gz cpython-38612a05b5de33fde82d7960418527b7cfaa2e7c.tar.bz2 |
gh-93259: Validate arg to ``Distribution.from_name``. (GH-94270)
Syncs with importlib_metadata 4.12.0.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-06-25-13-38-53.gh-issue-93259.FAGw-2.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-06-25-13-38-53.gh-issue-93259.FAGw-2.rst b/Misc/NEWS.d/next/Library/2022-06-25-13-38-53.gh-issue-93259.FAGw-2.rst new file mode 100644 index 0000000..d346b65 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-06-25-13-38-53.gh-issue-93259.FAGw-2.rst @@ -0,0 +1,2 @@ +Now raise ``ValueError`` when ``None`` or an empty string are passed to +``Distribution.from_name`` (and other callers). |