mirror of
https://github.com/python/cpython.git
synced 2026-01-02 13:33:44 +00:00
* Eliminate all remaining uses of Py_SIZE and Py_SET_SIZE on PyLongObject, adding asserts. * Change layout of size/sign bits in longobject to support future addition of immortal ints and tagged medium ints. * Add functions to hide some internals of long object, and for setting sign and digit count. * Replace uses of IS_MEDIUM_VALUE macro with _PyLong_IsCompact(). |
||
|---|---|---|
| .. | ||
| clinic | ||
| code.c | ||
| datetime.c | ||
| docstring.c | ||
| exceptions.c | ||
| float.c | ||
| getargs.c | ||
| heaptype.c | ||
| long.c | ||
| mem.c | ||
| parts.h | ||
| pyos.c | ||
| pytime.c | ||
| README.txt | ||
| structmember.c | ||
| testcapi_long.h | ||
| unicode.c | ||
| vectorcall.c | ||
| vectorcall_limited.c | ||
| watchers.c | ||
Tests in this directory are compiled into the _testcapi extension. The main file for the extension is Modules/_testcapimodule.c, which calls `_PyTestCapi_Init_*` from these functions.