-
Notifications
You must be signed in to change notification settings - Fork 952
Open
Description
Since this value is not protected by the GIL on the free-threaded build, it does not make sense that it is linked to the GIL lifetime.
This makes me wonder if it could be prone to race conditions.
Lines 695 to 701 in 68b719f
| pub fn version(self) -> &'py str { | |
| unsafe { | |
| CStr::from_ptr(ffi::Py_GetVersion()) | |
| .to_str() | |
| .expect("Python version string not UTF-8") | |
| } | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels