Skip to content

Commit 7369523

Browse files
sobolevnserhiy-storchaka
authored andcommitted
[3.12] gh-110549: Remove unused includes of <stddef.h> in _testcapi (GH-110552).
(cherry picked from commit 89df5b7) Co-authored-by: Nikita Sobolev <[email protected]>
1 parent 2362446 commit 7369523

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

Include/cpython/pystate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ struct _ts {
256256
# define C_RECURSION_LIMIT 500
257257
# else
258258
// This value is duplicated in Lib/test/support/__init__.py
259-
# define C_RECURSION_LIMIT 1500
259+
# define C_RECURSION_LIMIT 1500000
260260
# endif
261261
#endif
262262

Modules/_testcapi/abstract.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <stddef.h> // ptrdiff_t
2-
31
#define PY_SSIZE_T_CLEAN
42
#include "parts.h"
53
#include "util.h"

Modules/_testcapi/dict.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <stddef.h> // ptrdiff_t
2-
31
#define PY_SSIZE_T_CLEAN
42
#include "parts.h"
53
#include "util.h"

Modules/_testcapi/set.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#include <stddef.h> // ptrdiff_t
2-
1+
#define PY_SSIZE_T_CLEAN
32
#include "parts.h"
43
#include "util.h"
54

0 commit comments

Comments
 (0)