summaryrefslogtreecommitdiffstats
path: root/Python/brc.c
diff options
context:
space:
mode:
authorAnders Kaseorg <andersk@mit.edu>2025-01-02 16:55:33 (GMT)
committerGitHub <noreply@github.com>2025-01-02 16:55:33 (GMT)
commita626f9a67b76e5fe69677afd5f8317d8c61de8de (patch)
tree6e8d94da7878700595cdcfbe6a627d26be87d130 /Python/brc.c
parent58e9f95c4aa970db32a94b9152b51ede22f823bd (diff)
downloadcpython-a626f9a67b76e5fe69677afd5f8317d8c61de8de.zip
cpython-a626f9a67b76e5fe69677afd5f8317d8c61de8de.tar.gz
cpython-a626f9a67b76e5fe69677afd5f8317d8c61de8de.tar.bz2
Remove asserts that confuse `enum _framestate` with `enum _frameowner` (GH-124148)
The `owner` field of `_PyInterpreterFrame` is supposed to be a member of `enum _frameowner`, but `FRAME_CLEARED` is a member of `enum _framestate`. At present, it happens that `FRAME_CLEARED` is not numerically equal to any member of `enum _frameowner`, but that could change in the future. The code that incorrectly assigned `owner = FRAME_CLEARED` was deleted in commit a53cc3f49463e50cb3e2b839b3a82e6bf7f73fee (GH-116687). Remove the incorrect checks for `owner != FRAME_CLEARED` as well.
Diffstat (limited to 'Python/brc.c')
0 files changed, 0 insertions, 0 deletions