diff options
author | Alyssa Coghlan <ncoghlan@gmail.com> | 2024-10-08 18:34:11 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-08 08:34:11 +0000 |
commit | 7c4b6a68f263320a2dd19cd5ff63b35c964b1fa8 (patch) | |
tree | 9f6ff84a6ea2e6f099ec0cf58cf9a67d1f51bf0b /Lib/test/test_exceptions.py | |
parent | 93b9e6bd7d48150d8a5d16cea39246a980e073cb (diff) | |
download | cpython-7c4b6a68f263320a2dd19cd5ff63b35c964b1fa8.tar.gz cpython-7c4b6a68f263320a2dd19cd5ff63b35c964b1fa8.zip |
bpo-34206: Improve docs and test coverage for pre-init functions (#8023)
- move the Py_Main documentation from the very high level API section
to the initialization and finalization section
- make it clear that it encapsulates a full Py_Initialize/Finalize
cycle of its own
- point out that exactly which settings will be read and applied
correctly when Py_Main is called after a separate runtime
initialization call is version dependent
- be explicit that Py_IsInitialized can be called prior to
initialization
- actually test that Py_IsInitialized can be called prior to
initialization
- flush stdout in the embedding tests that run code so it appears
in the expected order when running with "-vv"
- make "-vv" on the subinterpreter embedding tests less spammy
---------
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Diffstat (limited to 'Lib/test/test_exceptions.py')
0 files changed, 0 insertions, 0 deletions