-
Notifications
You must be signed in to change notification settings - Fork 792
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add critical section API wrappers (#4587)
* Add critical section API wrappers * add changelog entry * fix no-default-features build * clarify docstring * disable test on WASM * no need to move the section to initialize it * fix wasm clippy * comments from review --------- Co-authored-by: David Hewitt <[email protected]>
- Loading branch information
1 parent
75bd3f2
commit 822b523
Showing
2 changed files
with
93 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* Added `with_critical_section`, a safe wrapper around the Python Critical | ||
Section API added in Python 3.13 for the free-threaded build. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters