mirror of
https://github.com/python/cpython.git
synced 2026-06-13 14:43:46 -04:00
38c30e6c8e
It was expected that string_size == PyBytes_GET_SIZE(buf) if the buffer is shared, but truncate() and __setstate__() can set string_size without unsharing the buffer.
Source files for standard library extension modules, and former extension modules that are now builtin modules.