[issue10050] urllib.request still has old 2.x urllib primitives
report at bugs.python.org
Sun Mar 20 14:06:36 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> URLopener which is an old class from the merge of urllib and urllib2
> and it can be slowly and safely removed. If we go this line, then I
> assume it has to have a DeprecationWarning before we remove it. Should
> we or not?
Yes, we should.
> Change URLopener.retrieve also with the cleaner and modern code, but
> and add a DeprecationWarning in those.
Sounds overkill and of questionable interest.
Honestly, I don't think URLopener.retrieve() has much point anyway.
Perhaps it would have if the whole caching thing had been implemented.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list