Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd5bd32f

Browse files
authored
gh-104922: remove PY_SSIZE_T_CLEAN (#106315)
1 parent8571b27 commitd5bd32f

File tree

64 files changed

+0
-90
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+0
-90
lines changed

‎Modules/_bisectmodule.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Converted to C by Dmitry Vasiliev (dima at hlabs.spb.ru).
77
# definePy_BUILD_CORE_MODULE 1
88
#endif
99

10-
#definePY_SSIZE_T_CLEAN
1110
#include"Python.h"
1211
#include"pycore_call.h"// _PyObject_CallMethod()
1312

‎Modules/_bz2module.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/* _bz2 - Low-level Python interface to libbzip2. */
22

3-
#definePY_SSIZE_T_CLEAN
4-
53
#include"Python.h"
64
#include"structmember.h"// PyMemberDef
75

‎Modules/_codecsmodule.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Copyright (c) Corporation for National Research Initiatives.
3030
3131
------------------------------------------------------------------------ */
3232

33-
#definePY_SSIZE_T_CLEAN
3433
#include"Python.h"
3534
#include"pycore_codecs.h"// _PyCodec_Lookup()
3635

‎Modules/_ctypes/_ctypes.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ bytes(cdata)
101101
#ifndefPy_BUILD_CORE_BUILTIN
102102
# definePy_BUILD_CORE_MODULE 1
103103
#endif
104-
#definePY_SSIZE_T_CLEAN
105104

106105
#include"Python.h"
107106
// windows.h must be included before pycore internal headers

‎Modules/_cursesmodule.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ static const char PyCursesVersion[] = "2.2";
104104
# definePy_BUILD_CORE_MODULE 1
105105
#endif
106106

107-
#definePY_SSIZE_T_CLEAN
108-
109107
#include"Python.h"
110108
#include"pycore_long.h"// _PyLong_GetZero()
111109
#include"pycore_structseq.h"// _PyStructSequence_NewType()

‎Modules/_dbmmodule.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/* DBM module using dictionary interface */
33

44

5-
#definePY_SSIZE_T_CLEAN
65
#include"Python.h"
76

87
#include<sys/types.h>

‎Modules/_elementtree.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
*--------------------------------------------------------------------
1212
*/
1313

14-
#definePY_SSIZE_T_CLEAN
15-
1614
#include"Python.h"
1715
#include"structmember.h"// PyMemberDef
1816
#include"expat.h"

‎Modules/_gdbmmodule.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
/* Author: Anthony Baxter, after dbmmodule.c */
44
/* Doc strings: Mitch Chapman */
55

6-
#definePY_SSIZE_T_CLEAN
76
#include"Python.h"
87
#include"gdbm.h"
98

‎Modules/_hashopenssl.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
# definePy_BUILD_CORE_MODULE 1
2323
#endif
2424

25-
#definePY_SSIZE_T_CLEAN
26-
2725
#include"Python.h"
2826
#include"pycore_hashtable.h"
2927
#include"hashlib.h"

‎Modules/_io/_iomodule.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
Mostly written by Amaury Forgeot d'Arc
88
*/
99

10-
#definePY_SSIZE_T_CLEAN
1110
#include"Python.h"
1211
#include"_iomodule.h"
1312
#include"pycore_pystate.h"// _PyInterpreterState_GET()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp