[issue22797] urllib.request.urlopen documentation falsely guarantees that a URLError will be raised on errors

Alexander Liu report at bugs.python.org
Thu Jun 2 20:18:15 EDT 2016


Alexander Liu added the comment:

Fixed the docs to specifically note that only protocol related errors raise the UrlError exception.

----------
nosy: +alex_thebear
versions: +Python 3.6 -Python 3.4
Added file: http://bugs.python.org/file43131/urlopen_doc.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22797>
_______________________________________


More information about the Python-bugs-list mailing list