@@ -8,8 +8,6 @@ extern "C" {
88# error "this header requires Py_BUILD_CORE define"
99#endif
1010
11- #ifdef WITH_FREELISTS
12- // with freelists
1311# define PyTuple_MAXSAVESIZE 20 // Largest tuple to save on freelist
1412# define Py_tuple_MAXFREELIST 2000 // Maximum number of tuples of each size to save
1513# define Py_lists_MAXFREELIST 80
@@ -22,9 +20,6 @@ extern "C" {
2220# define Py_async_gen_asends_MAXFREELIST 80
2321# define Py_futureiters_MAXFREELIST 255
2422# define Py_object_stack_chunks_MAXFREELIST 4
25- #else
26- # define PyTuple_MAXSAVESIZE 0
27- #endif
2823
2924// A generic freelist of either PyObjects or other data structures.
3025struct _Py_freelist {
@@ -38,7 +33,6 @@ struct _Py_freelist {
3833};
3934
4035struct _Py_freelists {
41- #ifdef WITH_FREELISTS
4236struct _Py_freelist floats ;
4337struct _Py_freelist tuples [PyTuple_MAXSAVESIZE ];
4438struct _Py_freelist lists ;
@@ -50,9 +44,6 @@ struct _Py_freelists {
5044struct _Py_freelist async_gen_asends ;
5145struct _Py_freelist futureiters ;
5246struct _Py_freelist object_stack_chunks ;
53- #else
54- char _unused ;// Empty structs are not allowed.
55- #endif
5647};
5748
5849#ifdef __cplusplus