[Python-Dev] Re: bz2.BZ2File doesn't support name?

2021-04-27 Thread Hasan Diwan
I just added the .name property to bz2.Bzip2File and added a test to verify it. -- H On Mon, 26 Apr 2021 at 21:40, Senthil Kumaran wrote: > There is an open bug report https://bugs.python.org/issue24258 > > I guess it was overlooked. It could be a good task for someone > interested. > Please

[Python-Dev] Re: bz2.BZ2File doesn't support name?

2021-04-27 Thread Senthil Kumaran
Hello Hasan, Thank you. Please submit your patch as a PR in Github. https://devguide.python.org/pullrequest/ Also, why did you have a self.filename and (getter?) as name. You could set the attribute as name. Thank you, Senthil On Tue, Apr 27, 2021 at 12:32 AM Hasan Diwan wrote: > I just added

[Python-Dev] Re: bz2.BZ2File doesn't support name?

2021-04-27 Thread Rik
I am new and I am just lurking here, so please pardon me if I say or do anything out of place. I saw your patch Mr. Diwan and I want to say that instead of making `filename` attribute, it would be better to change it to `name`, just to adhere to standards. And changing the name method to

[Python-Dev] Re: Revive PEP 396 -- Module Version Numbers ?

2021-04-27 Thread Brett Cannon
On Mon, Apr 26, 2021 at 3:25 PM Stestagg wrote: > > > On Mon, Apr 26, 2021 at 10:31 PM Brett Cannon wrote: > >> >> >> On Mon, Apr 26, 2021 at 9:37 AM Baptiste Carvello < >> devel2...@baptiste-carvello.net> wrote: >> >>> Hi, >>> >>> sorry for being late to the party, but I may not be the only

[Python-Dev] Re: Revive PEP 396 -- Module Version Numbers ?

2021-04-27 Thread Paul Moore
On Tue, 27 Apr 2021 at 18:01, Brett Cannon wrote: > Unfortunately I thought importlib.metadata would have used the module name > instead of the metadata details, but in hindsight am guessing that the > .dist-info is what it's using to do the lookup and that's based on the > package name

[Python-Dev] Re: bz2.BZ2File doesn't support name?

2021-04-27 Thread Hasan Diwan
[response inline] On Tue, 27 Apr 2021 at 04:55, Senthil Kumaran wrote: > why did you have a self.filename and (getter?) as name. You could set the > attribute as name. > I wasn't aware that this was an option. -- H -- OpenPGP: https://hasan.d8u.us/openpgp.asc If you wish to request my time,

[Python-Dev] Re: Deferral of PEP 648 - Extensible customizations of the interpreter at startup

2021-04-27 Thread Mario Corchero
Hi Barry, After the feedback and seeing how busy the 3.10 release is being, I was not expecting less. As mentioned, I have no rush in getting this through. Let's put the right time into it. I have been updating the PEP with the feedback you gave me and I expect to get an updated version up before

[Python-Dev] Re: Existing asyncio features scheduled for removal in Python 3.9 and 3.10

2021-04-27 Thread Victor Stinner
Hi, On Mon, Apr 26, 2021 at 10:51 PM Illia Volochii wrote: > There are a couple of uncompleted asyncio feature removals scheduled > for 3.9 and 3.10 releases. > It will be great if we either complete them or reschedule before the > 3.10 feature freeze. There are two stale pull requests related