cpython/Doc/c-api
Miss Islington (bot) c6d94c37f4
bpo-33042: Fix pre-initialization sys module configuration (GH-6157)
- new test case for pre-initialization of sys.warnoptions and sys._xoptions
- restored ability to call these APIs prior to Py_Initialize
- updated the docs for the affected APIs to make it clear they can be
  called before Py_Initialize
- also enhanced the existing embedding test cases
  to check for expected settings in the sys module
(cherry picked from commit bc77eff8b9)

Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
2018-03-25 04:27:57 -07:00
..
abstract.rst Merged revisions 85082 via svnmerge from 2010-09-28 23:41:31 +00:00
allocation.rst Issue #18589: fix hyperlinking of type slots (tp_*) 2013-08-01 21:12:45 +02:00
apiabiversion.rst Remove row-spanning cell, which the Sphinx text writer does not support. 2013-03-16 08:01:49 +01:00
arg.rst bpo-29918: Add missed "const" modifiers in C API documentation. (#846) 2017-03-30 10:01:03 +03:00
bool.rst Migrate to Sphinx 1.0 C language constructs. 2010-10-06 10:11:56 +00:00
buffer.rst bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (GH-3993) 2017-10-15 10:31:36 +03:00
bytearray.rst #23088: Clarify null termination of bytes and strings in C API. 2015-05-13 20:31:53 -04:00
bytes.rst bpo-28415: Note 0 conversion different between Python and C (#885) 2017-04-27 11:36:35 +08:00
capsule.rst Issue #28496: Mark up constants 0, 1 and -1 that denote return values or 2016-10-27 21:41:19 +03:00
cell.rst Migrate to Sphinx 1.0 C language constructs. 2010-10-06 10:11:56 +00:00
code.rst [Issue 15476] Make "code object" its own entry in the index 2016-06-02 19:26:51 -04:00
codec.rst Issue #19676: Tweak documentation a bit. 2014-11-25 18:59:20 +02:00
complex.rst Issue #13522: Fix _Py_co_pow() documentation 2011-12-18 02:56:18 +01:00
concrete.rst Issue #24400: Introduce a distinct type for 'async def' coroutines. 2015-06-22 12:19:30 -04:00
conversion.rst Fixed documentation of functions with const char* arguments. 2015-06-21 17:11:21 +03:00
coro.rst Issue #24400: Introduce a distinct type for 'async def' coroutines. 2015-06-22 12:19:30 -04:00
datetime.rst bpo-10381: Add timezone to datetime C API (#5032) 2018-01-24 17:29:30 -05:00
descriptor.rst Migrate to Sphinx 1.0 C language constructs. 2010-10-06 10:11:56 +00:00
dict.rst bpo-29918: Add missed "const" modifiers in C API documentation. (#846) 2017-03-30 10:01:03 +03:00
exceptions.rst Fix typos in multiple `.rst` files (#1668) 2017-05-19 23:37:57 +03:00
file.rst Issue #1772673: The type of `char*` arguments now changed to `const char*`. 2013-10-19 21:03:34 +03:00
float.rst Issue #13522: document error return values of some float and complex C API functions. 2011-12-18 01:25:27 +01:00
function.rst improve PyFunction_New docs (closes #26986) 2016-05-09 23:43:53 -07:00
gcsupport.rst note that Py_VISIT handles NULL (closes #27183) 2016-06-02 11:35:59 -07:00
gen.rst Issue #25161: Merge full stops from 3.4 into 3.5 2015-10-10 10:44:25 +00:00
import.rst bpo-28411: Support other mappings in PyInterpreterState.modules. (#3593) 2017-09-15 16:35:20 -06:00
index.rst Introduce support for documenting which C API elements are not part of the stable/limited API. 2013-10-12 19:54:30 +02:00
init.rst bpo-33042: Fix pre-initialization sys module configuration (GH-6157) 2018-03-25 04:27:57 -07:00
intro.rst bpo-29179: Document the Py_UNUSED macro (#4341) 2017-11-08 07:59:20 -08:00
iter.rst Issue #19005: Fix documentation for PyIter_Next(). 2013-10-09 22:42:46 -07:00
iterator.rst Migrate to Sphinx 1.0 C language constructs. 2010-10-06 10:11:56 +00:00
list.rst Issue #13389: Full garbage collection passes now clear the freelists for 2011-11-15 00:00:12 +01:00
long.rst Make formatting of some return codes conforming to the general style. (GH-5587) (GH-5597) 2018-02-09 14:08:04 +02:00
mapping.rst bpo-28280: Make PyMapping_Keys(), PyMapping_Values() and PyMapping_Items() always return a list (#3840) 2017-10-08 11:17:46 +03:00
marshal.rst bpo-29746: Update marshal docs to Python 3. (#547) 2017-03-12 08:53:22 +02:00
memory.rst Make formatting of some return codes conforming to the general style. (GH-5587) (GH-5597) 2018-02-09 14:08:04 +02:00
memoryview.rst Issue #23756: Clarify the terms "contiguous" and "bytes-like object". 2015-08-08 14:33:28 +02:00
method.rst Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc 2016-04-15 02:14:19 +00:00
module.rst bpo-32374: m_traverse may be called with m_state=NULL (GH-5140) 2018-03-16 23:03:56 -07:00
none.rst Issue #19795: Mark up None as literal text. 2016-10-19 16:29:26 +03:00
number.rst Issue #28496: Mark up constants 0, 1 and -1 that denote return values or 2016-10-27 21:41:19 +03:00
objbuffer.rst Migrate to Sphinx 1.0 C language constructs. 2010-10-06 10:11:56 +00:00
object.rst Uniformize argument names of "call" functions 2016-12-06 16:27:24 +01:00
objimpl.rst
refcounting.rst Migrate to Sphinx 1.0 C language constructs. 2010-10-06 10:11:56 +00:00
reflection.rst Migrate to Sphinx 1.0 C language constructs. 2010-10-06 10:11:56 +00:00
sequence.rst bpo-32500: Correct the documentation for PySequence_Size() and PySequence_Length() (GH-5767) 2018-02-25 13:19:55 -08:00
set.rst Issue #28496: Mark up constants 0, 1 and -1 that denote return values or 2016-10-27 21:41:19 +03:00
slice.rst bpo-27867: Add a porting guide for PySlice_GetIndicesEx(). (#1973) 2017-10-08 12:53:34 +03:00
stable.rst Add a link to PEP 384 in stable.rst 2016-01-28 12:42:26 +02:00
structures.rst bpo-29916: Include PyGetSetDef in C API extension documentation. (#831) 2017-09-15 19:25:27 +03:00
sys.rst bpo-33042: Fix pre-initialization sys module configuration (GH-6157) 2018-03-25 04:27:57 -07:00
tuple.rst bpo-29918: Add missed "const" modifiers in C API documentation. (#846) 2017-03-30 10:01:03 +03:00
type.rst Clean up the docs of PyObject_IsSubclass and PyObject_IsInstance, and mention that they call the PEP 3119 methods. 2014-10-06 14:38:53 +02:00
typeobj.rst bpo-23699: Use a macro to reduce boilerplate code in rich comparison functions (GH-793) 2017-11-02 20:32:54 +10:00
unicode.rst bpo-29240: PyUnicode_DecodeLocale() uses UTF-8 on Android (#5272) 2018-01-22 19:07:32 +01:00
utilities.rst Merged revisions 86134,86315-86316,86390,86424-86425,86428,86550,86561-86562,86564-86565,86705,86708,86713 via svnmerge from 2010-11-26 09:05:43 +00:00
veryhigh.rst bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746) 2017-12-15 13:11:11 +02:00
weakref.rst demote this to a note 2011-05-31 21:27:41 -05:00