[New-bugs-announce] [issue35447] Redundant try-except block in urllib

Shishmarev Pavel report at bugs.python.org
Sun Dec 9 10:23:18 EST 2018


New submission from Shishmarev Pavel <pashawnn at gmail.com>:

https://github.com/python/cpython/blob/master/Lib/urllib/parse.py#L875
It's redundant to raise and then catch exception.

----------
components: Library (Lib)
messages: 331436
nosy: PashaWNN
priority: normal
severity: normal
status: open
title: Redundant try-except block in urllib
type: enhancement
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35447>
_______________________________________


More information about the New-bugs-announce mailing list