[issue36701] module 'urllib' has no attribute 'request'
Senthil Kumaran
report at bugs.python.org
Tue Apr 23 02:04:21 EDT 2019
Senthil Kumaran <senthil at uthcode.com> added the comment:
I vaguely recollect the reason for this. It was done with the translation of Python2 code (which had urllib, urllib2, and urlparse, robotparser) etc, combined into a single package. We wanted to keep the import as urllib.request and urllib.response, and urllib.parse
That said. If there is no other request currently open for this. Let's keep this, and am +1 to this suggestion. We have to think if there are any potential drawbacks for the old code which is already using 2nd level import.
----------
nosy: +orsenthil
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36701>
_______________________________________
More information about the Python-bugs-list
mailing list