Victor Stinner
4cce1352bb
bpo-46323: _ctypes.CFuncPtr fails if _argtypes_ is too long (GH-31188)
...
ctypes.CFUNCTYPE() and ctypes.WINFUNCTYPE() now fail to create the
type if its "_argtypes_" member contains too many arguments.
Previously, the error was only raised when calling a function.
Change also how CFUNCTYPE() and WINFUNCTYPE() handle KeyError to
prevent creating a chain of exceptions if ctypes.CFuncPtr raises an
error.
2022-02-07 14:53:15 +01:00
..
2021-10-22 15:36:28 +02:00
2022-02-07 14:53:15 +01:00
2022-01-16 16:06:37 +00:00
2022-01-22 23:22:20 +01:00
2021-11-29 10:36:10 +01:00
2021-10-22 15:36:28 +02:00
2022-01-26 08:26:16 -08:00
2021-05-02 09:47:45 +02:00
2021-10-06 16:22:09 -07:00
2021-06-17 11:06:09 +01:00
2022-02-05 20:52:01 +01:00
2021-10-22 09:28:23 -07:00
2022-01-21 23:29:10 +01:00
2022-01-22 13:28:53 +02:00
2021-08-09 21:32:54 +03:00
2021-06-17 11:06:09 +01:00
2021-10-14 20:04:19 +03:00
2021-11-08 19:31:14 +01:00
2020-11-04 16:33:55 +01:00
2021-07-27 15:58:12 -07:00
2021-10-11 20:08:15 +09:00
2021-04-30 12:46:15 +02:00
2022-01-21 03:30:20 +01:00
2021-12-12 10:45:20 +02:00
2021-11-10 20:26:55 +01:00
2021-12-05 14:22:54 +02:00
2021-10-14 21:53:04 +02:00
2021-10-13 19:25:53 +02:00
2022-02-06 23:40:54 -08:00
2021-10-22 15:36:28 +02:00
2021-10-22 15:36:28 +02:00
2020-12-01 09:56:42 +01:00
2021-10-22 15:36:28 +02:00
2021-10-13 19:25:53 +02:00
2021-10-25 01:25:27 -07:00
2021-12-15 15:32:32 +00:00
2021-09-30 01:28:10 +02:00
2021-10-22 15:36:28 +02:00
2021-10-22 15:36:28 +02:00
2021-10-22 15:36:28 +02:00
2022-01-13 09:46:04 +01:00
2020-09-09 12:28:48 +09:00
2021-10-07 01:34:42 -07:00
2021-04-09 08:02:00 -07:00
2021-04-09 08:02:00 -07:00
2020-04-13 22:11:40 -05:00
2021-10-12 08:38:19 +02:00
2021-04-26 15:01:40 +02:00
2020-05-19 13:22:16 +01:00
2020-04-15 02:35:41 +02:00
2021-10-22 15:36:28 +02:00
2020-12-01 10:37:39 +01:00
2022-01-12 20:27:37 +01:00
2022-01-23 09:59:34 +00:00
2022-02-02 07:57:51 -08:00
2022-01-21 02:51:04 +01:00
2022-01-12 00:35:26 +01:00
2022-01-14 05:11:38 +01:00
2021-07-22 23:06:54 +02:00
2021-11-24 10:20:37 +01:00
2022-01-27 03:00:55 +01:00
2021-07-30 15:54:46 +02:00
2021-10-28 13:59:11 +01:00
2022-01-15 09:52:19 +01:00
2021-11-08 19:31:14 +01:00
2021-12-09 13:53:44 +00:00
2022-02-07 01:46:51 +01:00
2021-10-22 15:36:28 +02:00
2021-10-25 01:25:27 -07:00
2021-08-24 17:50:05 +01:00
2021-08-06 23:35:13 +02:00
2022-01-13 09:46:04 +01:00
2021-12-08 23:28:51 +01:00
2021-10-07 01:34:42 -07:00
2022-01-27 03:00:55 +01:00
2021-10-21 02:09:03 +09:00
2021-12-03 00:08:42 +00:00
2022-01-13 23:35:42 +00:00
2022-01-18 15:46:26 +00:00
2020-11-18 23:47:32 -08:00
2021-10-01 14:38:49 +02:00
2021-10-12 08:38:19 +02:00
2021-12-03 00:08:42 +00:00
2021-12-14 15:42:46 +01:00
2020-11-16 16:16:10 +01:00
2022-01-15 09:58:04 +00:00
2021-10-22 15:36:28 +02:00
2022-01-11 11:56:16 +01:00
2021-10-13 19:25:53 +02:00
2022-01-11 11:56:16 +01:00
2022-02-02 10:16:36 +02:00
2022-02-05 20:52:01 +01:00
2021-11-25 12:28:41 +01:00
2020-11-18 23:47:32 -08:00
2021-12-31 10:57:00 +01:00
2021-10-13 19:25:53 +02:00
2022-02-05 20:52:01 +01:00
2022-01-21 01:08:44 +02:00
2021-11-20 10:18:48 +01:00
2021-12-14 15:42:46 +01:00
2022-01-12 20:27:37 +01:00
2021-10-22 15:36:28 +02:00
2021-10-22 15:36:28 +02:00
2021-10-22 15:36:28 +02:00
2022-01-27 21:21:50 +01:00
2022-02-03 10:46:50 -08:00
2022-01-21 09:44:05 +02:00
2020-11-19 10:54:03 +01:00
2020-12-01 10:37:39 +01:00
2020-04-11 10:48:40 +03:00
2021-05-03 10:43:00 +03:00
2021-10-07 01:34:42 -07:00
2021-10-03 16:58:14 +03:00
2022-02-05 20:52:01 +01:00
2021-09-14 11:00:38 -07:00
2021-10-22 15:36:28 +02:00
2021-09-14 11:00:38 -07:00
2019-04-09 11:19:46 -07:00
2021-05-31 09:51:19 +02:00
2022-02-02 07:03:10 -08:00
2020-12-01 10:37:39 +01:00
2022-01-13 09:46:04 +01:00
2021-11-26 16:18:17 -08:00