[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-25 Thread Ido Michael
Ido Michael added the comment: Does it includes the FancyURLopener? This class is derived from URLopener. Also what needs to be done? Remove the URLopener, URLopener_Tests and DummyURLopeners ? -- nosy: +Ido Michael ___ Python tracker

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: > URLOpener has been deprecated since Python3.3 > (https://github.com/python/cpython/blob/master/Lib/urllib/request.py#L1703-L1705) > maybe it should just be removed from the codebase? It emits a DeprecationWarning since at least Python 3.6, so yes, it's

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread Petter S
Petter S added the comment: I see. Perhaps that is the resolution then. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: URLOpener has been deprecated since Python3.3 (https://github.com/python/cpython/blob/master/Lib/urllib/request.py#L1703-L1705) maybe it should just be removed from the codebase? -- nosy: +remi.lapeyre ___ Python

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread Petter S
Petter S added the comment: I can fix this, but it does not have high priority. -- ___ Python tracker ___ ___ Python-bugs-list

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread Petter S
Change by Petter S : -- title: UrlOpener raises different exceptions based on implementation detail -> urllib.request.URLopener raises different exceptions based on implementation detail ___ Python tracker