[Python-Dev] Re: C API: Move PEP 523 "Adding a frame evaluation API to CPython" private C API to the internal C API

2022-03-29 Thread Steve Dower
On 3/28/2022 10:44 PM, Jason Ansel via Python-Dev wrote: The PyTorch team plans to use PEP 523 as a part of PyTorch 2.0, so this proposal may break the next major release of PyTorch. The related project is TorchDynamo, which can be found here: https://github.com/facebookresearch/torchdynamo We

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread Damian Shaw
I'm probably overly stressing a well understood point here that urllib.parse is incredibly widely used and critical to many foundational libraries in Python. But I just came across this today that: conda is migrating from urllib3 for parsing to urllib.parse: https://github.com/conda/conda/pull/113

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread Alex Waygood
There's also the "Experts index" in the devguide:  https://devguide.python.org/experts/#expertsBest, Alex Original message From: Skip Montanaro Date: 29/03/2022 22:36 (GMT+00:00) To: "Eric V. Smith" Cc: Python Dev Subject: [Python-Dev] Re: Are "Batteries Included" still a G

[Python-Dev] Re: C API: Move PEP 523 "Adding a frame evaluation API to CPython" private C API to the internal C API

2022-03-29 Thread Terry Reedy
On 3/28/2022 5:44 PM, Jason Ansel via Python-Dev wrote: The PyTorch team plans to use PEP 523 as a part of PyTorch 2.0, so this proposal may break the next major release of PyTorch. The related project is TorchDynamo, which can be found here: https://github.com/facebookresearch/torchdynamo We

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread Terry Reedy
On 3/29/2022 4:55 PM, Skip Montanaro wrote: I was trying to think through how a "remote" stdlib might work. In the process, I got to wondering if there are known "specialists" for various current modules. Every now and then I still get assigned (or at least made nosy) about something to do with t

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread Skip Montanaro
> > There's the CODEOWNERS file: > https://github.com/python/cpython/blob/main/.github/CODEOWNERS Thanks. Never would have thought there was such a thing. I was looking for files with "maintain" in them. Skimming it, it would seem that most of the stuff in Lib or Modules isn't really associated w

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread Eric V. Smith
On 3/29/2022 4:55 PM, Skip Montanaro wrote: I was trying to think through how a "remote" stdlib might work. In the process, I got to wondering if there are known "specialists" for various current modules. Every now and then I still get assigned (or at least made nosy) about something to do with

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread Skip Montanaro
I was trying to think through how a "remote" stdlib might work. In the process, I got to wondering if there are known "specialists" for various current modules. Every now and then I still get assigned (or at least made nosy) about something to do with the csv module. Is there an official module-by-

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread Brett Cannon
On Tue, Mar 29, 2022 at 8:58 AM Ronald Oussoren wrote: > > > On 29 Mar 2022, at 00:34, Brett Cannon wrote: > > > > On Mon, Mar 28, 2022 at 11:52 AM Christopher Barker > wrote: > >> On Mon, Mar 28, 2022 at 11:29 AM Paul Moore wrote: >> >>> To be honest, I feel like I'm just reiterating stuff I'

[Python-Dev] Re: Enhancing generic type documentation in the standard library

2022-03-29 Thread Brett Cannon
On Mon, Mar 28, 2022 at 3:58 PM Luciano Ramalho wrote: > On Wed, Mar 23, 2022 at 5:01 PM Brett Cannon wrote: > > The SC somewhat agrees! 😉 See > https://mail.python.org/archives/list/typing-...@python.org/thread/TVMQJXOJFOYFPDMQDFG6G4B6J3MLRYKB/ > where we have asked for at least the specs to ge

[Python-Dev] Re: Changing unittest verbose output.

2022-03-29 Thread Antoine Pitrou
On Sun, 27 Mar 2022 00:48:04 - "Itay Yeshaya" wrote: > When running unittest with the -v flag, if a test has errors, and has a > docstring, the test name is shown on one line, and the docstring is shown on > the next line with the `ERROR` word. > For example: > > ./python.exe -m unittest -v

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread Ronald Oussoren via Python-Dev
> On 29 Mar 2022, at 00:34, Brett Cannon wrote: > > > > On Mon, Mar 28, 2022 at 11:52 AM Christopher Barker > wrote: > On Mon, Mar 28, 2022 at 11:29 AM Paul Moore > wrote: > To be honest, I feel like I'm just reiterating stuff I've sai

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread lincoln auster [they/them]
> email doesn't fix bugs; maintainers fix bugs. Please let us > know *publicly* if you want to become the maintainer for a stdlib > module and then we can support them, but if nobody is > willing/able/ready to care for them it's irresponsible for us to keep > shipping them to users. At the momen

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread Sebastian Rittau
Am 27.03.22 um 18:11 schrieb Christopher Barker: On Sun, Mar 27, 2022 at 3:08 AM Paul Moore wrote: > > 3. Overall, I think the days where "battery included" was a positive argument are over > > I strongly disagree.  Being able to download something and immediately get someth

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-29 Thread Paul Moore
On Tue, 29 Mar 2022 at 00:37, Toshio Kuratomi wrote: > One thing about talking about "make urllib more like requests" that is > different than any of the other libs, though, is that requests aims to be > easier to use than anything else (which I note Chris Barker called out as why > he wanted