Skip to content

Add PyInitConfig to ffi crate#6152

Open
Person-93 wants to merge 4 commits into
PyO3:mainfrom
Person-93:ffi-pyinitconfig
Open

Add PyInitConfig to ffi crate#6152
Person-93 wants to merge 4 commits into
PyO3:mainfrom
Person-93:ffi-pyinitconfig

Conversation

@Person-93

Copy link
Copy Markdown
Contributor

Starting with python 3.14, an embedded python interpreter can be initialized from a config.
https://docs.python.org/3/c-api/init_config.html

This PR adds that part of the API to the FFI crate.
https://github.com/python/cpython/blob/ebf955df7a89ed0c7968f79faec1de49f61ed7cb/Include/cpython/initconfig.h#L286-L327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant