[Python-Dev] Re: change of behaviour for '.' in sys.path between 3.10.0a7 and 3.10.0b1

2021-06-03 Thread Bernat Gabor
The only other thing that would make sense is a folder in the current working directory named ".", not? On Thu, Jun 3, 2021 at 5:05 PM Larry Hastings wrote: > > On 6/3/21 4:20 AM, Chris Johns wrote: > > Might be out of context here, but IMHO "." shouldn't be assumed to be the > current

[Python-Dev] Re: In support of PEP 649

2021-04-15 Thread Bernat Gabor
Hello, I'm a bit surprised that this topic is brought up just days before the feature freeze of Python 3.10. How did tools work until now with from future import annotations? This feature has been in the language for years (since 3.7), and I haven't heard until today anyone complaining about

[Python-Dev] Re: New sys.module_names attribute in Python 3.10: list of all stdlib modules

2021-01-25 Thread Bernat Gabor
Hello, In general, I love the idea and implementation. I'm not in love with the name though, it makes it sound like it contains all module names imported/available. We have sys.module already containing all module imported. So without a deeper knowledge sys.modules_names is very close to

[Python-Dev] Re: SC 2020 recommendation for PEP 634

2020-12-07 Thread Bernat Gabor
This opens the door for people voting on A or B depending on if they would accept or reject the PEP. Is this something we're willing to accept? On Mon, Dec 7, 2020 at 9:29 PM Ethan Furman via Python-Dev < python-dev@python.org> wrote: > On 12/7/20 11:29 AM, Brett Cannon wrote: > > > After much