Senthil Kumaran <sent...@uthcode.com> added the comment:

Hi Victor and Karthikeyan,

Both your analysis are correct.

- This is a legacy interface, present purely for satisfying the old code, when 
urlretrieve was advertised as the first/easy to way to use urllib and download 
something.

- At this moment, I think, we should remove those legacy interfaces including 
urlcleanup. 

- I think, users can easily using urllib to write to the file using context 
manager and if desired urlretrieve can be modernized over it's use of 
urlcleanup.

+1 to deprecation and removal.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37475>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to