Victor Stinner
ad73674283
gh-107603: Argument Clinic: Only include pycore_gc.h if needed ( #108726 )
...
Argument Clinic now only includes pycore_gc.h if PyGC_Head is needed,
and only includes pycore_runtime.h if _Py_ID() is needed.
* Add 'condition' optional argument to Clinic.add_include().
* deprecate_keyword_use() includes pycore_runtime.h when using
the _PyID() function.
* Fix rendering of includes: comments start at the column 35.
* Mark PC/clinic/_wmimodule.cpp.h and
"Objects/stringlib/clinic/*.h.h" header files as generated in
.gitattributes.
Effects:
* 42 header files generated by AC no longer include the internal C
API, instead of 4 header files before. For example,
Modules/clinic/_abc.c.h no longer includes the internal C API.
* Fix _testclinic_depr.c.h: it now always includes pycore_runtime.h
to get _Py_ID().
2023-08-31 23:42:34 +02:00
..
2023-08-31 23:42:34 +02:00
2023-08-31 23:42:34 +02:00
2023-07-30 13:58:54 +05:30
2023-05-24 13:30:11 -07:00
2023-08-31 23:42:34 +02:00
2023-08-31 23:42:34 +02:00
2023-08-31 23:42:34 +02:00
2023-08-31 23:42:34 +02:00
2023-08-31 23:42:34 +02:00
2023-08-31 23:42:34 +02:00
2023-07-22 13:49:37 +00:00
2023-08-31 23:42:34 +02:00
2023-08-31 23:42:34 +02:00
2023-07-22 17:04:34 +02:00
2023-08-24 20:01:50 +00:00
2023-07-02 15:07:46 +09:00
2023-08-21 19:15:52 +02:00
2023-07-02 15:07:46 +09:00
2023-08-24 20:01:50 +00:00
2023-05-05 21:11:27 +00:00
2023-08-25 01:01:30 +02:00
2023-07-18 09:00:22 +03:00
2023-08-27 00:35:06 +03:00
2023-08-27 16:09:40 +03:00
2023-07-23 14:26:23 +00:00
2023-07-25 15:28:30 +02:00
2023-07-25 15:28:30 +02:00
2023-07-25 14:34:49 +03:00
2023-07-25 14:34:49 +03:00
2023-07-25 14:34:49 +03:00
2023-08-21 18:05:59 +00:00
2023-08-28 16:04:27 +03:00
2023-08-24 20:25:22 +02:00
2023-08-21 19:15:52 +02:00
2023-08-29 01:42:24 +02:00
2023-08-01 15:45:51 +09:00
2023-08-24 20:02:09 +00:00
2023-07-04 09:41:43 +00:00
2023-08-24 20:25:22 +02:00
2023-08-24 18:53:50 +02:00
2023-05-09 10:24:29 +02:00
2023-06-01 09:42:18 -07:00
2023-06-01 09:42:18 -07:00
2023-06-01 09:42:18 -07:00
2023-08-31 13:53:19 +02:00
2023-05-22 06:14:48 +05:30
2023-07-18 10:50:47 +03:00
2023-05-05 21:11:27 +00:00
2023-08-28 16:04:27 +03:00
2023-07-02 15:07:46 +09:00
2023-06-06 08:40:32 +00:00
2023-08-31 21:41:18 +00:00
2023-08-26 00:39:24 +02:00
2023-08-21 13:59:58 +00:00
2023-08-31 13:53:19 +02:00
2023-07-25 14:34:49 +03:00
2023-07-18 23:59:53 +03:00
2023-08-24 20:02:09 +00:00
2023-07-27 11:25:19 +03:00
2023-08-28 16:04:27 +03:00
2023-08-13 10:24:59 +01:00
2023-07-02 15:07:46 +09:00
2023-07-25 14:34:49 +03:00
2023-08-11 21:13:46 +03:00
2023-07-27 15:30:16 -06:00
2023-08-31 13:53:19 +02:00
2023-08-31 13:53:19 +02:00
2023-08-24 20:25:22 +02:00
2023-07-27 15:30:16 -06:00
2023-07-25 14:34:49 +03:00
2023-07-18 10:50:47 +03:00
2023-06-09 21:57:25 +02:00
2023-08-27 00:35:06 +03:00
2023-08-27 00:35:06 +03:00
2023-08-04 10:34:23 +01:00
2023-07-04 09:41:43 +00:00
2023-08-27 00:35:06 +03:00
2023-07-27 19:20:25 +00:00
2023-05-23 00:06:41 +00:00
2023-08-24 20:25:22 +02:00
2023-08-29 04:18:52 +02:00
2023-08-26 04:05:17 +02:00
2023-07-25 14:34:49 +03:00
2023-08-27 00:35:06 +03:00
2023-08-27 00:35:06 +03:00
2023-08-27 00:35:06 +03:00
2023-05-05 21:11:27 +00:00
2023-08-24 23:35:47 +00:00
2023-08-25 01:01:30 +02:00
2023-07-25 14:34:49 +03:00
2023-08-27 00:35:06 +03:00
2023-05-25 17:59:00 +02:00
2023-05-15 20:36:23 -07:00
2023-08-31 21:41:18 +00:00
2023-07-25 14:34:49 +03:00
2023-07-25 15:28:30 +02:00
2023-05-23 00:06:41 +00:00
2023-07-04 09:41:43 +00:00
2023-08-29 01:20:02 +00:00
2023-08-10 00:47:46 +00:00
2023-08-29 04:18:52 +02:00
2023-05-05 21:11:27 +00:00
2023-08-26 03:18:09 +02:00
2023-08-23 11:00:22 +02:00
2023-05-10 18:53:13 +00:00
2023-07-25 15:28:30 +02:00
2023-05-05 21:11:27 +00:00
2023-05-05 21:11:27 +00:00
2023-05-05 21:11:27 +00:00
2023-07-25 15:28:30 +02:00
2023-08-21 19:15:52 +02:00