]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94499 Add test for private name mangling in class pattern matching (#94500)
authorda-woods <dw-git@d-woods.co.uk>
Wed, 13 Jul 2022 16:13:10 +0000 (17:13 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Jul 2022 16:13:10 +0000 (09:13 -0700)
commit8d7089f0a016f905fa7ae04ae1bdb9b14c6aeef6
tree5bb2fcab84da8ded7f7b1f683c840638c6b47344
parent4a6bb30eb600e3b18f4a84c1be922c07758c613f
gh-94499 Add test for private name mangling in class pattern matching (#94500)

The current status quo is that private attribute names are not
mangled when a class is matched. I've added a test to
document/legimize this behaviour.

Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Lib/test/test_patma.py