cpython/Doc/c-api
Mark Shannon d7163bb35d
bpo-42197: Don't create f_locals dictionary unless we actually need it. (GH-32055)
* `PyFrame_FastToLocalsWithError` and `PyFrame_LocalsToFast` are no longer called during profile and tracing.
 (Contributed by Fabio Zadrozny)

* Make accesses to a frame's `f_locals` safe from C code, not relying on calls to `PyFrame_FastToLocals` or `PyFrame_LocalsToFast`.

* Document new `PyFrame_GetLocals` C-API function.
2022-03-25 12:57:50 +00:00
..
abstract.rst
allocation.rst
apiabiversion.rst Doc: some rst linting. (GH-30149) 2021-12-17 13:55:03 +01:00
arg.rst
bool.rst
buffer.rst bpo-45459: Add Py_buffer to limited API (GH-29991) 2022-02-02 07:03:10 -08:00
bytearray.rst
bytes.rst
call.rst [doc] Fix typos found using codespell (GH-28744) 2021-10-05 23:48:44 +02:00
capsule.rst bpo-45855: document that no_block has no use anymore in PyCapsule_Import (#29665) 2021-12-12 10:49:50 +01:00
cell.rst
code.rst
codec.rst
complex.rst
concrete.rst bpo-46836: Add Doc/c-api/frame.rst (GH-32051) 2022-03-23 13:19:13 +01:00
contextvars.rst
conversion.rst
coro.rst
datetime.rst
descriptor.rst
dict.rst
exceptions.rst Minor fixes to C API docs (GH-31501) 2022-02-22 20:34:17 -08:00
file.rst
float.rst bpo-46906: Mention native endian in PyFloat_Pack8() doc (GH-31866) 2022-03-14 16:51:51 +01:00
frame.rst bpo-42197: Don't create f_locals dictionary unless we actually need it. (GH-32055) 2022-03-25 12:57:50 +00:00
function.rst
gcsupport.rst bpo-28737: Document when tp_dealloc should call PyObject_GC_UnTrack() (GH-29246) 2021-10-27 21:15:13 +02:00
gen.rst
import.rst bpo-46608: exclude marshalled-frozen data if deep-freezing to save 300 KB space (GH-31074) 2022-02-04 09:57:03 -08:00
index.rst
init.rst bpo-43931: Export Python version as API data (GH-25577) 2021-12-09 17:52:05 -08:00
init_config.rst no-issue: Fix documentation typos. (GH-30576) 2022-01-20 17:17:15 +09:00
intro.rst bpo-45116: Py_DEBUG ignores Py_ALWAYS_INLINE (GH-28419) 2021-09-17 22:46:38 +02:00
iter.rst bpo-45250: fix docs regarding __iter__ and iterators being inconsistently required by CPython (GH-29170) 2021-11-19 16:40:34 -08:00
iterator.rst
list.rst
long.rst
mapping.rst
marshal.rst
memory.rst
memoryview.rst bpo-46140: take more Py_buffer arguments as const * (GH-30217) 2021-12-22 15:07:46 +02:00
method.rst
module.rst
none.rst
number.rst
objbuffer.rst
object.rst bpo-22039: [doc] clarify that there are no plans to disable deleting an attribute via PyObject_SetAttr (GH-30639) 2022-01-19 12:03:51 +00:00
objimpl.rst
refcounting.rst
reflection.rst bpo-46836: Add Doc/c-api/frame.rst (GH-32051) 2022-03-23 13:19:13 +01:00
sequence.rst
set.rst
slice.rst
stable.rst
structures.rst bpo-39573: Py_TYPE becomes a static inline function (GH-28128) 2021-09-08 11:59:13 +02:00
sys.rst
tuple.rst
type.rst bpo-46613: Add PyType_GetModuleByDef to the public API (GH-31081) 2022-02-11 17:22:11 +01:00
typehints.rst Clean up initialization __class_getitem__ with Py_GenericAlias. (GH-28450) 2021-09-19 18:05:30 +03:00
typeobj.rst Add missing "to" to two tp_flags notes (GH-31624) 2022-02-28 17:20:14 -08:00
unicode.rst Minor fixes to C API docs (GH-31501) 2022-02-22 20:34:17 -08:00
utilities.rst
veryhigh.rst bpo-46836: Add Doc/c-api/frame.rst (GH-32051) 2022-03-23 13:19:13 +01:00
weakref.rst