cpython/Include
Victor Stinner b49263b698
bpo-21302: Add _PyTime_AsNanoseconds() (GH-28350)
Refactor pytime.c:

* Add pytime_from_nanoseconds() and pytime_as_nanoseconds(),
  and use explicitly these functions
* Add two empty lines between functions
* PEP 7: add braces { ... }
* C99: declare variables where they are set
* Rename private functions to lowercase
* Rename error_time_t_overflow() to pytime_time_t_overflow()
* Rename win_perf_counter_frequency() to py_win_perf_counter_frequency()
* py_get_monotonic_clock(): add an assertion to detect overflow when
  mach_absolute_time() unsigned uint64_t is casted to _PyTime_t
  (signed int64_t).

_testcapi: use _PyTime_FromNanoseconds().
2021-09-15 14:26:43 +02:00
..
cpython bpo-21302: Add _PyTime_AsNanoseconds() (GH-28350) 2021-09-15 14:26:43 +02:00
internal bpo-45020: Add -X frozen_modules=[on|off] to explicitly control use of frozen modules. (gh-28320) 2021-09-14 17:31:45 -06:00
abstract.h bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194) 2021-09-07 11:52:30 +01:00
bltinmodule.h
boolobject.h
bytearrayobject.h
bytesobject.h
cellobject.h
ceval.h
classobject.h
code.h
codecs.h
compile.h
complexobject.h
context.h
datetime.h
descrobject.h
dictobject.h
dynamic_annotations.h
enumobject.h
errcode.h
eval.h
exports.h
fileobject.h
fileutils.h
floatobject.h
frameobject.h
funcobject.h
genericaliasobject.h
genobject.h bpo-44590: Lazily allocate frame objects (GH-27077) 2021-07-26 11:22:16 +01:00
import.h
interpreteridobject.h
intrcheck.h
iterobject.h
listobject.h
longintrepr.h
longobject.h
marshal.h
memoryobject.h
methodobject.h
modsupport.h
moduleobject.h
namespaceobject.h
object.h bpo-39573: Py_TYPE becomes a static inline function (GH-28128) 2021-09-08 11:59:13 +02:00
objimpl.h
opcode.h bpo-45152: Add HAS_CONST macro and get_const_value() function and use… (#28262) 2021-09-14 09:53:32 +01:00
osdefs.h
osmodule.h
patchlevel.h
py_curses.h
pycapsule.h
pydtrace.d
pydtrace.h
pyerrors.h
pyexpat.h
pyframe.h
pyhash.h
pylifecycle.h
pymacconfig.h
pymacro.h
pymath.h bpo-45094: Add Py_NO_INLINE macro (GH-28140) 2021-09-03 16:44:02 +02:00
pymem.h
pyport.h bpo-45094: Add Py_NO_INLINE macro (GH-28140) 2021-09-03 16:44:02 +02:00
pystate.h
pystrcmp.h
pystrhex.h
pystrtod.h
Python.h closes bpo-44751: Move crypt.h include from public header to _cryptmodule (GH-27394) 2021-07-27 15:58:12 -07:00
pythonrun.h
pythread.h
rangeobject.h
README.rst
setobject.h
sliceobject.h
structmember.h
structseq.h
sysmodule.h
token.h
traceback.h
tracemalloc.h
tupleobject.h
typeslots.h
unicodeobject.h
warnings.h
weakrefobject.h

The Python C API
================

The C API is divided into three sections:

1. ``Include/``: Limited API
2. ``Include/cpython/``: CPython implementation details
3. ``Include/internal/``: The internal API

Information on changing the C API is available `in the developer guide`_

.. _in the developer guide: https://devguide.python.org/c-api/