News for hackers. Stuff that matters.
Re:Python finally offloads some batteries by djbeadle on Friday March 18, 2022 @12:18AM (#30718706)
From the proposal to remove urllib linked in the article:

https://lwn.net/ml/python-dev/CABqyc3wGDmdnDjrhYh0SxT_Tgr5M8...

  From:    Victor Stinner <vstinner-AT-python.org>
  To:    Python Dev <Python-Dev-AT-python.org>  
  Subject:    [Python-Dev] It's now time to deprecate the   stdlib urllib module  
  Date:    Sun, 06 Feb 2022 15:08:40 +0100  
  Message-ID:    <CABqyc3wGDmdnDjrhYh0SxT_Tgr5M8Za3JTw4CUapnSOVQ-ci3A@mail.gmail.com>
  
  Hi,
  
  I propose to deprecate the urllib module in Python 3.11. It would emit
  a DeprecationWarning which warn users, so users should consider better
  alternatives like urllib3 or httpx: well known modules, better
  maintained, more secure, support HTTP/2 (httpx), etc.
Re:Python finally offloads some batteries by tyingq on Friday March 18, 2022 @08:41AM (#30721422)
Those don't come with python though, so the standard library wouldn't have any similar functionality. And both of the suggestions have a direct dependency on urllib.

Edit: So who maintains urllib, a dependency for the "better" libraries, if you push it out of python core?

Re:Python finally offloads some batteries by DangitBobby on Friday March 18, 2022 @11:01AM (#30723167)
Yep. They kind of hint at the end that the real solution is to actually fix urllib. Removing it is a mistake IMO, even if it's for "security reasons" but especially if it's for a bad API. I'd rather it be included and kind of broken than removed.