Formally deprecate urllib.request.urlretrieve() and urllib.request.urlcleanup()

Both urlretrieve() and urlcleanup() were kept for backward compatibility with Python2 but they were never deprecated like urllib.request.URLOpener and urllib.request.FancyURLOpener. Now that Python2 has been definitely sunset, can we raise a deprecation warning so that they can be removed in the future?

Sounds eminently reasonable -- for this kind of stuff, why don't you open a bpo issue? On Mon, May 18, 2020 at 2:46 PM <remi.lapeyre@henki.fr> wrote:
-- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-c...>

Thanks! I wasn't sure whether I was missing something as they were not deprecated at the same time as URLOpener so I thought I would ask here before opening a useless issue. Sorry for the noise if this not an appropriate usage of this list.

The doc says "The following functions and classes are ported from the Python 2 module urllib (as opposed to urllib2). They might become deprecated at some point in the future."

Sounds eminently reasonable -- for this kind of stuff, why don't you open a bpo issue? On Mon, May 18, 2020 at 2:46 PM <remi.lapeyre@henki.fr> wrote:
-- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-c...>

Thanks! I wasn't sure whether I was missing something as they were not deprecated at the same time as URLOpener so I thought I would ask here before opening a useless issue. Sorry for the noise if this not an appropriate usage of this list.

The doc says "The following functions and classes are ported from the Python 2 module urllib (as opposed to urllib2). They might become deprecated at some point in the future."
participants (2)
-
Guido van Rossum
-
remi.lapeyre@henki.fr