We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConnectionResetError
It seems that ConnectionResetError is not handled when opening the feed in parse():
parse()
try: data = _open_resource(url_file_stream_or_string, etag, modified, agent, referrer, handlers, request_headers, result) except urllib.error.URLError as error: result.update({ 'bozo': True, 'bozo_exception': error, }) return result
both ConnectionResetError and urllib.error.URLError are subclasses of OSError. Catching ConnectionError would take care of a lot of cases.
urllib.error.URLError
OSError
ConnectionError
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It seems that
ConnectionResetError
is not handled when opening the feed inparse()
:both
ConnectionResetError
andurllib.error.URLError
are subclasses ofOSError
. CatchingConnectionError
would take care of a lot of cases.The text was updated successfully, but these errors were encountered: