mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-104922: remove PY_SSIZE_T_CLEAN (#106315)
This commit is contained in:
parent
8571b271e7
commit
d5bd32fb48
64 changed files with 0 additions and 90 deletions
|
|
@ -1,6 +1,5 @@
|
|||
/* PyByteArray (bytearray) implementation */
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include "Python.h"
|
||||
#include "pycore_abstract.h" // _PyIndex_Check()
|
||||
#include "pycore_bytes_methods.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
#define PY_SSIZE_T_CLEAN
|
||||
#include "Python.h"
|
||||
#include "pycore_abstract.h" // _PyIndex_Check()
|
||||
#include "pycore_bytes_methods.h"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
/* bytes object implementation */
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_abstract.h" // _PyIndex_Check()
|
||||
#include "pycore_bytesobject.h" // _PyBytes_Find(), _PyBytes_Repeat()
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
* Thanks go to Tim Peters and Michael Hudson for debugging.
|
||||
*/
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include <Python.h>
|
||||
#include <stdbool.h>
|
||||
#include "pycore_abstract.h" // _PyObject_RealIsSubclass()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* File object implementation (what's left of it -- see io.py) */
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include "Python.h"
|
||||
#include "pycore_call.h" // _PyObject_CallNoArgs()
|
||||
#include "pycore_runtime.h" // _PyRuntime
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* PickleBuffer object implementation */
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include "Python.h"
|
||||
#include <stddef.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
*/
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include "Python.h"
|
||||
#include "pycore_abstract.h" // _PyIndex_Check()
|
||||
#include "pycore_atomic_funcs.h" // _Py_atomic_size_get()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue