Re: Structural pattern matching and mangling private names

Guido van Rossum <[email protected]>
Newsgroups gmane.comp.python.devel
Message-ID <CAP7+vJL9UUW+T2D+vme4Dj7aC4bdEK4Bx+yZxB5_=KwyxNj3NQ@mail.gmail.com>
If you want any kind of traction on this I recommend filing an opinionated
issue on this (explaining why the current behavior is wrong).

On Wed, Jun 15, 2022 at 1:25 PM <[email protected]> wrote:

> Daniel Moisset wrote:
> > I might expect that in a "case D(something=__y)" you get the mangling for
> > __y, but I'm not sure what the implementation does now and I'm writing
> from
> > my phone
>
> Yes - that case does what you'd expect.
>
> Thanks for the reply.
> _______________________________________________
> Python-Dev mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at
> https://mail.python.org/archives/list/[email protected]/message/3BALIBTV3ATAEC6G5ZJKAFBASZG4B5AP/
> Code of Conduct: http://python.org/psf/codeofconduct/
>


-- 
--Guido van Rossum (python.org/~guido)
*Pronouns: he/him **(why is my pronoun here?)*
<http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.