summaryrefslogtreecommitdiffstats
path: root/Modules/_testcapi/bytes.c
Commit message (Collapse)AuthorAgeFilesLines
* gh-87193: Support bytes objects with refcount > 1 in _PyBytes_Resize() ↵Serhiy Storchaka2024-03-251-0/+53
| | | | | (GH-117160) Create a new bytes object and destroy the old one if it has refcount > 1.
* gh-116417: Move 4 limited C API test files to _testlimitedcapi (#116571)Victor Stinner2024-03-111-255/+0
| | | | | | | | | | | | | | | | Move the following files from Modules/_testcapi/ to Modules/_testlimitedcapi/: * bytearray.c * bytes.c * pyos.c * sys.c Changes: * Replace PyBytes_AS_STRING() with PyBytes_AsString(). * Replace PyBytes_GET_SIZE() with PyBytes_Size(). * Update related test_capi tests. * Copy Modules/_testcapi/util.h to Modules/_testlimitedcapi/util.h.
* gh-111495: Add tests for PyBytes and PyByteArray C API (GH-111496)Serhiy Storchaka2023-11-011-0/+238
|
* gh-111495: add stub files for C API test modules (GH-111586)Sergey B Kirpichev2023-11-011-0/+17
This is to reduce merge conflicts (Modules/Setup.stdlib.in) for subsequent pull requests for the issue.