cpython/Doc/c-api
Eric Snow 3f9eee6eb4 bpo-28411: Support other mappings in PyInterpreterState.modules. (#3593)
The concrete PyDict_* API is used to interact with PyInterpreterState.modules in a number of places. This isn't compatible with all dict subclasses, nor with other Mapping implementations. This patch switches the concrete API usage to the corresponding abstract API calls.

We also add a PyImport_GetModule() function (and some other helpers) to reduce a bunch of code duplication.
2017-09-15 16:35:20 -06:00
..
abstract.rst
allocation.rst
apiabiversion.rst
arg.rst bpo-29918: Add missed "const" modifiers in C API documentation. (#846) 2017-03-30 10:01:03 +03:00
bool.rst
buffer.rst Issue #28496: Mark up constants 0, 1 and -1 that denote return values or 2016-10-27 21:41:19 +03:00
bytearray.rst
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
code.rst
codec.rst
complex.rst
concrete.rst
conversion.rst
coro.rst
datetime.rst
descriptor.rst
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
float.rst
function.rst
gcsupport.rst
gen.rst
import.rst bpo-28411: Support other mappings in PyInterpreterState.modules. (#3593) 2017-09-15 16:35:20 -06:00
index.rst
init.rst Doc nits for bpo-16500 (#1841) 2017-05-28 11:35:14 +02:00
intro.rst bpo-31338 (#3374) 2017-09-14 18:13:16 -07:00
iter.rst
iterator.rst
list.rst
long.rst bpo-29751: Improve PyLong_FromString documentation (GH-915) 2017-04-23 20:54:08 -07:00
mapping.rst Issues #25909, #28211: Restored correct documentation of PyMapping_Items, 2016-09-26 20:52:41 +03:00
marshal.rst bpo-29746: Update marshal docs to Python 3. (#547) 2017-03-12 08:53:22 +02:00
memory.rst bpo-30054: Expose tracemalloc C API (#1236) 2017-06-20 17:46:36 +02:00
memoryview.rst
method.rst
module.rst bpo-30656: Fix Python C API Module Objects documentation (GH-2170) 2017-06-13 10:58:18 -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
object.rst Uniformize argument names of "call" functions 2016-12-06 16:27:24 +01:00
objimpl.rst
refcounting.rst
reflection.rst
sequence.rst
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-30281: Fix the default value for stop in PySlice_Unpack() (#1480) 2017-05-10 18:19:41 +08:00
stable.rst
structures.rst bpo-29916: Include PyGetSetDef in C API extension documentation. (#831) 2017-09-15 19:25:27 +03:00
sys.rst bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834) 2017-05-29 10:03:41 -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
typeobj.rst bpo-29916: Include PyGetSetDef in C API extension documentation. (#831) 2017-09-15 19:25:27 +03:00
unicode.rst bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (#2285) 2017-06-27 16:03:14 +03:00
utilities.rst
veryhigh.rst Issue #29292: Update outdated doc of PyEval_EvalCodeEx. 2017-01-20 11:29:11 +08:00
weakref.rst