@@ -71,35 +71,42 @@ def clean_lines(text):
71
71
Modules/_winapi.c # windows.h
72
72
Modules/overlapped.c # winsock.h
73
73
Python/dynload_win.c # windows.h
74
+ Modules/expat/winconfig.h
75
+ Python/thread_nt.h
74
76
75
77
# other OS-dependent
76
78
Python/dynload_dl.c # dl.h
77
79
Python/dynload_hpux.c # dl.h
78
80
Python/dynload_aix.c # sys/ldr.h
81
+ Python/thread_pthread.h
79
82
80
- # @end=conf@
81
- ''' )
82
-
83
- # XXX Fix the parser.
84
- EXCLUDED += clean_lines ('''
85
- # The tool should be able to parse these...
86
-
83
+ # only huge constants (safe but parsing is slow)
84
+ Modules/_ssl_data.h
87
85
Modules/unicodedata_db.h
88
86
Modules/unicodename_db.h
89
87
Modules/cjkcodecs/mappings_*.h
90
88
Objects/unicodetype_db.h
91
- Objects/stringlib/unicode_format.h
92
-
93
- Modules/clinic/*.c.h
94
- Objects/clinic/*.c.h
95
- Python/clinic/*.c.h
96
-
97
89
Python/importlib.h
98
90
Python/importlib_external.h
99
91
Python/importlib_zipimport.h
100
92
101
- Modules/_ssl_data.h
102
- Modules/sre_lib.h
93
+ # @end=conf@
94
+ ''' )
95
+
96
+ # XXX Fix the parser.
97
+ EXCLUDED += clean_lines ('''
98
+ # The tool should be able to parse these...
99
+
100
+ Modules/hashlib.h
101
+ Objects/stringlib/codecs.h
102
+ Objects/stringlib/count.h
103
+ Objects/stringlib/ctype.h
104
+ Objects/stringlib/fastsearch.h
105
+ Objects/stringlib/find.h
106
+ Objects/stringlib/find_max_char.h
107
+ Objects/stringlib/partition.h
108
+ Objects/stringlib/replace.h
109
+ Objects/stringlib/split.h
103
110
104
111
Modules/_dbmmodule.c
105
112
Modules/cjkcodecs/_codecs_*.c
@@ -155,6 +162,9 @@ def clean_lines(text):
155
162
Modules/_ctypes/cfield.c Py_BUILD_CORE 1
156
163
Modules/_heapqmodule.c Py_BUILD_CORE 1
157
164
Modules/_posixsubprocess.c Py_BUILD_CORE 1
165
+ Objects/stringlib/codecs.h Py_BUILD_CORE 1
166
+ Python/ceval_gil.h Py_BUILD_CORE 1
167
+ Python/condvar.h Py_BUILD_CORE 1
158
168
159
169
Modules/_json.c Py_BUILD_CORE_BUILTIN 1
160
170
Modules/_pickle.c Py_BUILD_CORE_BUILTIN 1
@@ -198,6 +208,12 @@ def clean_lines(text):
198
208
Python/import.c PyMODINIT_FUNC PyObject*
199
209
Modules/_testcapimodule.c PyAPI_FUNC(RTYPE) RTYPE
200
210
Python/getargs.c PyAPI_FUNC(RTYPE) RTYPE
211
+ Objects/stringlib/unicode_format.h Py_LOCAL_INLINE(type) static inline type
212
+
213
+ # implied include of pymacro.h
214
+ */clinic/*.c.h PyDoc_VAR(name) static const char name[]
215
+ */clinic/*.c.h PyDoc_STR(str) str
216
+ */clinic/*.c.h PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str)
201
217
202
218
# implied include of exports.h
203
219
#Modules/_io/bytesio.c Py_EXPORTED_SYMBOL /* */
@@ -233,6 +249,11 @@ def clean_lines(text):
233
249
Modules/expat/xmlparse.c XML_POOR_ENTROPY 1
234
250
Modules/_dbmmodule.c HAVE_GDBM_DASH_NDBM_H 1
235
251
252
+ # others
253
+ Modules/sre_lib.h LOCAL(type) static inline type
254
+ Modules/sre_lib.h SRE(F) sre_ucs2_##F
255
+ Objects/stringlib/codecs.h STRINGLIB_IS_UNICODE 1
256
+
236
257
# @end=tsv@
237
258
''' )[1 :]
238
259
0 commit comments