]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-81403: Add NEWS entry for PR #13951 (#103729)
authorSenthil Kumaran <senthil@python.org>
Sun, 23 Apr 2023 22:58:03 +0000 (16:58 -0600)
committerGitHub <noreply@github.com>
Sun, 23 Apr 2023 22:58:03 +0000 (15:58 -0700)
Add NEWS entry for PR #13951

Misc/NEWS.d/next/Library/2023-04-23-15-39-17.gh-issue-81403.zVz9Td.rst [new file with mode: 0644]

diff --git a/Misc/NEWS.d/next/Library/2023-04-23-15-39-17.gh-issue-81403.zVz9Td.rst b/Misc/NEWS.d/next/Library/2023-04-23-15-39-17.gh-issue-81403.zVz9Td.rst
new file mode 100644 (file)
index 0000000..6adb71f
--- /dev/null
@@ -0,0 +1,3 @@
+:class:`urllib.request.CacheFTPHandler` no longer raises :class:`URLError`
+if a cached FTP instance is reused. ftplib's endtransfer method calls
+voidresp to drain the connection to handle FTP instance reuse properly.