diff options
author | Erlend E. Aasland <erlend@python.org> | 2024-03-29 20:23:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-29 20:23:28 (GMT) |
commit | 05e0b67a43c5c1778dc2643c8b7c12864e135999 (patch) | |
tree | cde3eb6d3c07a9251a8fb43f77f96a4e47e39851 /Python/tracemalloc.c | |
parent | 019143fecbfc26e69800d28d2a9e3392a051780b (diff) | |
download | cpython-05e0b67a43c5c1778dc2643c8b7c12864e135999.zip cpython-05e0b67a43c5c1778dc2643c8b7c12864e135999.tar.gz cpython-05e0b67a43c5c1778dc2643c8b7c12864e135999.tar.bz2 |
gh-116664: In _warnings.c, make filters_version access thread-safe (#117374)
- assert that the lock is held in already_warned()
- protect 'filters_version' increment in warnings_filters_mutated_impl()
Diffstat (limited to 'Python/tracemalloc.c')
0 files changed, 0 insertions, 0 deletions