-
Notifications
You must be signed in to change notification settings - Fork 222
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: boostorg/python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 97402f7
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: boostorg/python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 32da86d
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 7 commits
- 18 files changed
- 2 contributors
Commits on Nov 7, 2025
-
For the free-threaded build, it is not safe use borrowed references. Another thread could deallocate the object and cause the reference to become invalid. Replace API calls that borrow references with strong reference APIs.
Configuration menu - View commit details
-
Copy full SHA for cabb466 - Browse repository at this point
Copy the full SHA cabb466View commit details -
Add work-around to crash in ~object_base().
For the free-threaded build (and possibly the debug build), it is not safe to call Py_DECREF() if there is no valid Python thread-state.
Configuration menu - View commit details
-
Copy full SHA for 6f5f3b6 - Browse repository at this point
Copy the full SHA 6f5f3b6View commit details -
Use re-entrant mutex to protect global state.
Add pymutex.hpp which implements a re-entrant mutex on top of Python's PyMutex. Add BOOST_PYTHON_LOCK_STATE() macro that uses RAII to lock mutable global state as required.
Configuration menu - View commit details
-
Copy full SHA for cfbefe8 - Browse repository at this point
Copy the full SHA cfbefe8View commit details -
Set the Py_MOD_GIL_NOT_USED flag on modules.
This indicates that the free-threaded build of Python can keep the GIL disabled when the module is loaded. Without this module flag, importing the module will cause the GIL to be re-enabled. A warning is emitted if this happens.
Configuration menu - View commit details
-
Copy full SHA for fc68878 - Browse repository at this point
Copy the full SHA fc68878View commit details
Commits on Dec 2, 2025
-
Add "nogil" option for BOOST_PYTHON_MODULE_INIT.
Implement optional arguments for BOOST_PYTHON_MODULE_INIT and allow the boost::python::mod_gil_not_used() option. This sets the Py_MOD_GIL_NOT_USED flag for the extension module. To define a module that supports free-threaded Python, define it like this: BOOST_PYTHON_MODULE(my_module, boost::python::mod_gil_not_used()) { ... }Configuration menu - View commit details
-
Copy full SHA for 5013564 - Browse repository at this point
Copy the full SHA 5013564View commit details -
Update Linux CI scripts, more Python versions.
Update scripts to use actions/setup-python to install different Python versions. Add run-faber.sh and get-py-env.py scripts. Add test-ubuntu-py-ver.yml CI script to test with different Python versions.
Configuration menu - View commit details
-
Copy full SHA for e89f86b - Browse repository at this point
Copy the full SHA e89f86bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32da86d - Browse repository at this point
Copy the full SHA 32da86dView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 97402f7...32da86d