SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72125 0 12 Python

gh-122909: Pass ftp error strings to URLError constructor (#122913)

* pass the original string error message from the ftplib error to URLError()

* Update request.py

Change error string for ftp error to be consistent with other errors reported for ftp

* Add NEWS entry for change to urllib.request for ftp errors.

* Track the change in the ftp error message in the test.
J
Jeremy Hylton committed
77133f570dcad599e5b1199c39e999bfac959ae2
Parent: 0480052
Committed by GitHub <noreply@github.com> on 8/20/2024, 12:35:05 AM