summaryrefslogtreecommitdiffstats
path: root/Python/codegen.c
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2025-03-12 19:10:47 (GMT)
committerGitHub <noreply@github.com>2025-03-12 19:10:47 (GMT)
commit17d06aeb5476099bc1acd89cd6f69e239e0f9350 (patch)
treee5fe6c629cf3c38fc0370e3bb5e7ad98c3948d87 /Python/codegen.c
parentdb6a998b18e9476226507144b3b2fab854095dbc (diff)
downloadcpython-17d06aeb5476099bc1acd89cd6f69e239e0f9350.zip
cpython-17d06aeb5476099bc1acd89cd6f69e239e0f9350.tar.gz
cpython-17d06aeb5476099bc1acd89cd6f69e239e0f9350.tar.bz2
gh-131045: [Enum] fix flag containment checks when using values (GH-131053)
Check would fail if value would create a pseudo-member, but that member had not yet been created. We now attempt to create a pseudo-member for a passed-in value first. Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Diffstat (limited to 'Python/codegen.c')
0 files changed, 0 insertions, 0 deletions