cpython/Programs
Alyssa Coghlan 64391363ed
[3.13] bpo-34206: Improve docs and test coverage for pre-init functions (GH-8023) (#125092)
- 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

---------

(cherry picked from commit 7c4b6a68f2)

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
2024-10-08 09:30:06 +00:00
..
README
_bootstrap_python.c Remove more remnants of deepfreeze (#118159) 2024-04-22 12:17:57 -07:00
_freeze_module.c [3.13] gh-123919: Fix null handling in `_freeze_module.c` (GH-123920) (#123948) 2024-09-29 18:22:15 -07:00
_freeze_module.py
_testembed.c [3.13] bpo-34206: Improve docs and test coverage for pre-init functions (GH-8023) (#125092) 2024-10-08 09:30:06 +00:00
freeze_test_frozenmain.py
python.c
test_frozenmain.h [3.13] gh-93691: fix too broad source locations of for statement iterators (GH-120330) (#120399) 2024-06-12 12:18:43 +00:00
test_frozenmain.py

README

Source files for binary executables (as opposed to shared modules)