cpython/Doc/c-api
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
..
abstract.rst
allocation.rst
apiabiversion.rst
arg.rst
bool.rst
buffer.rst
bytearray.rst
bytes.rst
call.rst
capsule.rst
cell.rst
code.rst [3.13] gh-70870: Clarify dual usage of 'free variable' (GH-122545) (#125088) 2024-10-08 17:58:47 +10:00
codec.rst
complex.rst
concrete.rst
contextvars.rst
conversion.rst
coro.rst
datetime.rst
descriptor.rst
dict.rst
exceptions.rst
file.rst
float.rst
frame.rst
function.rst
gcsupport.rst
gen.rst
hash.rst
import.rst
index.rst
init.rst [3.13] bpo-34206: Improve docs and test coverage for pre-init functions (GH-8023) (#125092) 2024-10-08 09:30:06 +00:00
init_config.rst [3.13] bpo-34206: Improve docs and test coverage for pre-init functions (GH-8023) (#125092) 2024-10-08 09:30:06 +00:00
intro.rst
iter.rst
iterator.rst
list.rst
long.rst
mapping.rst
marshal.rst
memory.rst
memoryview.rst
method.rst
module.rst
monitoring.rst
none.rst
number.rst
object.rst
objimpl.rst
perfmaps.rst
refcounting.rst
reflection.rst
sequence.rst
set.rst
slice.rst
stable.rst
structures.rst
sys.rst
time.rst
tuple.rst [3.13] gh-124182: Explain naming rules for struct sequence types (GH-124335) (#125057) 2024-10-07 23:47:30 +02:00
type.rst
typehints.rst
typeobj.rst
unicode.rst
utilities.rst
veryhigh.rst [3.13] bpo-34206: Improve docs and test coverage for pre-init functions (GH-8023) (#125092) 2024-10-08 09:30:06 +00:00
weakref.rst