Serhiy Storchaka
1f777396f5
gh-122943: Rework support of var-positional parameter in Argument Clinic (GH-122945)
...
Move creation of a tuple for var-positional parameter out of
_PyArg_UnpackKeywordsWithVararg().
Merge _PyArg_UnpackKeywordsWithVararg() with _PyArg_UnpackKeywords().
Add a new parameter in _PyArg_UnpackKeywords().
The "parameters" and "converters" attributes of ParseArgsCodeGen no
longer contain the var-positional parameter. It is now available as the
"varpos" attribute. Optimize code generation for var-positional
parameter and reuse the same generating code for functions with and without
keyword parameters.
Add special converters for var-positional parameter. "tuple" represents it as
a Python tuple and "array" represents it as a continuous array of PyObject*.
"object" is a temporary alias of "tuple".
2024-11-07 23:40:03 +02:00
..
2024-11-07 23:40:03 +02:00
2024-06-30 19:48:00 +02:00
2024-06-12 14:24:46 +01:00
2024-06-27 09:58:44 +00:00
2024-09-29 10:40:20 +03:00
2024-10-10 16:21:29 -04:00
2024-08-03 12:45:45 +03:00
2024-11-04 15:00:19 +01:00
2024-07-01 08:49:33 +00:00
2024-06-04 10:22:22 +00:00
2024-11-06 03:35:10 +00:00
2024-10-02 09:17:49 -07:00
2024-11-04 11:13:32 -08:00
2024-11-04 11:13:32 -08:00
2024-10-09 17:15:23 +02:00
2024-11-03 04:15:07 +00:00
2024-11-05 20:34:33 +03:00
2024-02-02 13:50:51 +00:00
2024-04-02 20:35:52 +00:00
2024-10-16 13:53:21 +02:00
2024-06-21 15:50:18 -04:00
2024-11-07 09:32:42 -07:00
2024-06-03 17:09:18 -06:00
2024-11-07 09:32:42 -07:00
2024-06-27 09:58:44 +00:00
2024-07-14 11:25:09 +02:00
2024-10-18 09:26:08 -06:00
2024-11-05 15:26:36 +05:30
2024-06-17 13:23:40 -04:00
2024-10-29 11:15:42 +00:00
2024-10-09 17:15:23 +02:00
2024-11-04 11:13:32 -08:00
2024-03-18 11:13:11 -07:00
2024-03-21 18:20:20 -06:00
2024-10-29 23:57:59 +00:00
2024-11-04 11:13:32 -08:00
2024-07-22 12:08:27 -04:00
2024-09-26 19:33:07 -07:00
2024-11-06 03:35:10 +00:00
2024-11-07 23:40:03 +02:00
2024-05-18 19:44:40 +00:00
2024-10-15 09:47:36 +00:00
2024-10-18 09:26:08 -06:00
2024-08-13 14:44:57 -06:00
2024-11-04 11:13:32 -08:00
2024-11-04 11:13:32 -08:00
2024-04-26 17:20:30 +01:00
2024-11-04 11:13:32 -08:00
2024-04-03 01:10:26 +00:00
2024-05-04 12:12:10 +01:00
2024-11-05 15:26:46 -08:00
2024-10-18 09:26:08 -06:00
2024-10-14 14:06:31 +05:30
2024-10-09 17:15:23 +02:00
2024-06-27 09:58:44 +00:00
2024-07-22 12:08:27 -04:00
2024-10-29 11:15:42 +00:00
2024-10-09 15:18:25 +00:00
2024-10-29 11:15:42 +00:00
2024-11-04 11:13:32 -08:00
2024-06-26 13:54:03 +02:00
2024-10-02 19:24:37 +00:00
2024-10-17 20:10:55 +02:00
2024-04-18 15:20:38 +02:00
2024-05-11 16:19:31 -07:00
2024-05-05 03:07:29 +02:00
2024-11-07 16:37:41 +01:00
2024-08-30 15:42:27 +00:00
2024-11-01 23:10:58 +00:00
2024-11-07 09:32:42 -07:00
2024-11-01 22:04:31 +00:00
2024-10-29 17:42:48 +02:00
2024-10-09 17:15:23 +02:00
2024-10-24 12:03:50 -04:00
2024-09-20 14:42:43 +02:00
2024-06-19 23:16:14 -04:00
2024-11-06 13:52:15 -08:00
2024-09-10 09:54:17 +00:00
2024-06-17 18:44:54 +00:00
2024-06-24 17:11:47 +01:00
2024-10-30 09:01:09 +00:00
2024-11-04 11:13:32 -08:00
2024-10-02 09:17:49 -07:00
2024-10-13 20:59:41 +05:30
2024-10-02 09:17:49 -07:00
2024-02-21 11:46:00 +01:00
2024-03-13 23:53:32 +01:00
2024-04-12 13:56:41 +03:00
2024-09-12 12:37:06 -04:00
2024-10-21 12:51:29 -04:00
2024-06-04 10:22:22 +00:00