[Python-Dev] Problems with dict subclassing performance

2021-08-06 Thread Marco Sulla
I've done an answer on SO about why subclassing `dict` makes the subclass so much slower than `dict`. The answer is interesting: https://stackoverflow.com/questions/59912147/why-does-subclassing-in-python-slow-things-down-so-much What do you think about?

[Python-Dev] Summary of Python tracker Issues

2021-08-06 Thread Python tracker
ACTIVITY SUMMARY (2021-07-30 - 2021-08-06) Python tracker at https://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open7397 ( +2) closed 49189 (+68) total 56586 (+70) Open issues

[Python-Dev] Re: Heads up: `make` in Doc now creates a venv

2021-08-06 Thread Ned Deily
On Aug 6, 2021, at 08:11, Jack DeVries wrote: > What do you think about an environment variable? > > USE_VENV=false make html > > Maybe we can use a variable with a more explicit name so people can keep it > in their environments if they wish? I think this would compound the problems with

[Python-Dev] Re: PEP 467 feedback from the Steering Council

2021-08-06 Thread Luciano Ramalho
On Fri, Aug 6, 2021 at 12:23 PM Stephen J. Turnbull wrote: > As a builtin, not my problem, I'm not the proponent. As a facility > with *some* spelling, it's convenient in contexts where chr() is, but > much less so (eg, coding ROT13 ;-). I know I've used this translation > in mail hacking, but

[Python-Dev] Re: PEP 646 (Variadic Generics): final call for comments

2021-08-06 Thread Dan Moldovan via Python-Dev
I'd be interested in using this the mechanisms defined in this PEP to define rank-generic Tensor types in TensorFlow, which are important in specifying `tf.function` signatures in a Pythonic way, using type annotations (rather than the custom input_signature mechanism we have today - see this

[Python-Dev] Re: PEP 467 feedback from the Steering Council

2021-08-06 Thread Stephen J. Turnbull
Antoine Pitrou writes: > In what context is `bchr()` useful? As a builtin, not my problem, I'm not the proponent. As a facility with *some* spelling, it's convenient in contexts where chr() is, but much less so (eg, coding ROT13 ;-). I know I've used this translation in mail hacking, but I

[Python-Dev] Re: Heads up: `make` in Doc now creates a venv

2021-08-06 Thread Jack DeVries
What do you think about an environment variable? USE_VENV=false make html Maybe we can use a variable with a more explicit name so people can keep it in their environments if they wish? On Fri, Aug 6, 2021 at 7:19 AM Miro Hrončok wrote: > On 06. 08. 21 12:21, Łukasz Langa wrote: > > > >>

[Python-Dev] Re: Heads up: `make` in Doc now creates a venv

2021-08-06 Thread Miro Hrončok
On 06. 08. 21 12:21, Łukasz Langa wrote: On 4 Aug 2021, at 11:48, Miro Hrončok wrote: On 04. 08. 21 11:28, Petr Viktorin wrote: Hi, A recent change "make html" in the Doc directory create a venv if one wasn't there before. If you don't want to download sphinx and other dependencies from

[Python-Dev] Re: Heads up: `make` in Doc now creates a venv

2021-08-06 Thread Łukasz Langa
> On 4 Aug 2021, at 11:48, Miro Hrončok wrote: > > On 04. 08. 21 11:28, Petr Viktorin wrote: >> Hi, >> A recent change "make html" in the Doc directory create a venv if one wasn't >> there before. If you don't want to download sphinx and other dependencies >> from PyPI, you'll need to adjust