[Python-Dev] Re: Structural pattern matching and mangling private names

2022-07-12 Thread Guido van Rossum
Having thought about it some more, I agree with Daniel Moisset that the current behavior is correct -- in D(__foo=bar), __foo is a keyword arg position and those don't get mangled. Anyway, anything mangled would get mangled according to the containing class (in your example, C), not according to th

[Python-Dev] Re: Presenting PEP 695: Type Parameter Syntax

2022-07-12 Thread Jelle Zijlstra
El mar, 12 jul 2022 a las 6:15, Petr Viktorin () escribió: > On 12. 07. 22 6:30, Guido van Rossum wrote: > > After several rounds of debate on typing-sig, I'd like to request > > feedback on PEP 695: https://peps.python.org/pep-0695/ > > > > > > I am sponsoring

[Python-Dev] Re: Presenting PEP 695: Type Parameter Syntax

2022-07-12 Thread Petr Viktorin
On 12. 07. 22 6:30, Guido van Rossum wrote: After several rounds of debate on typing-sig, I'd like to request feedback on PEP 695: https://peps.python.org/pep-0695/ I am sponsoring this PEP, which was written by Eric Traut. The PEP attempts to solve the pro