10 Commits

Author SHA1 Message Date
O01eg c86ea207d1 Fix and add tests for module state 2026-06-26 21:52:16 -04:00
O01eg 97a623d3ed Add tests 2026-06-21 16:09:15 -04:00
O01eg 9e2f5191e5 Add support for multi-phase module initialization 2026-06-21 16:09:15 -04:00
Neil Schemenauer 5013564316 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())
    {
        ...
    }
2025-12-02 08:19:45 -05:00
Stefan Seefeld 5d7b9a0648 Stop testing c++98 support 2025-11-03 08:40:38 -05:00
Stefan Seefeld aca3c80c4f Respect alignment of by-value storage. 2021-04-30 22:59:25 -04:00
Dmitry Bely f7254f5d8a Add a test case for issue #280 2021-02-07 23:07:30 -05:00
Tyler Kieft bf824c1b98 Ensure all doctests run 2020-08-08 02:19:03 -04:00
Stefan Seefeld 15115eb1f8 Fix appveyor build failures. 2020-08-07 14:04:30 -04:00
Stefan Seefeld ebba009a9f First attempt at faber-based build system. 2017-11-10 07:41:21 -05:00