Victor Stinner
fe2978b3b9
bpo-39573: Convert Py_REFCNT and Py_SIZE to functions (GH-20429)
...
Convert Py_REFCNT() and Py_SIZE() macros to static inline functions.
They cannot be used as l-value anymore: use Py_SET_REFCNT() and
Py_SET_SIZE() to set an object reference count and size.
Replace &Py_SIZE(self) with &((PyVarObject*)self)->ob_size
in arraymodule.c.
This change is backward incompatible on purpose, to prepare the C API
for an opaque PyObject structure.
2020-05-27 14:55:10 +02:00
..
2020-05-14 01:11:54 +02:00
2020-05-22 13:33:27 -07:00
2019-10-30 12:03:20 +02:00
2020-05-06 15:29:32 +01:00
2019-09-12 10:27:14 +01:00
2020-02-13 18:37:17 +01:00
2020-02-13 18:37:17 +01:00
2020-02-13 18:37:17 +01:00
2020-02-13 18:37:17 +01:00
2020-04-28 16:32:48 +02:00
2020-02-14 08:48:12 +01:00
2020-04-28 17:07:12 +02:00
2020-04-28 17:07:12 +02:00
2020-02-13 18:37:17 +01:00
2020-04-29 02:29:20 +02:00
2020-02-13 18:37:17 +01:00
2019-07-05 14:48:24 +02:00
2020-02-13 18:37:17 +01:00
2020-05-12 12:42:04 +03:00
2019-10-15 08:26:12 +01:00
2019-05-23 08:45:22 -07:00
2020-02-12 23:55:09 +01:00
2020-04-29 02:29:20 +02:00
2020-04-28 16:32:48 +02:00
2020-02-13 18:37:17 +01:00
2020-04-07 09:50:06 -07:00
2020-04-29 02:29:20 +02:00
2020-01-18 03:14:59 +00:00
2019-05-28 17:16:33 +02:00
2020-02-13 18:37:17 +01:00
2020-02-13 18:37:17 +01:00
2020-05-26 18:43:38 +03:00
2020-02-13 18:37:17 +01:00
2020-05-12 07:12:41 -07:00
2020-03-22 17:17:34 +01:00
2020-02-13 18:37:17 +01:00
2020-03-03 14:25:44 -08:00
2020-05-27 14:55:10 +02:00
2020-04-11 01:21:54 +01:00
2020-02-13 18:37:17 +01:00
2020-01-27 09:57:45 +00:00
2020-05-19 03:33:01 +01:00
2020-02-14 08:48:12 +01:00
2020-03-04 14:15:20 +01:00
2020-02-13 18:37:17 +01:00
2020-05-05 08:20:38 -07:00
2019-05-23 08:45:22 -07:00
2019-05-23 08:45:22 -07:00
2020-03-07 00:54:20 +01:00
2019-11-20 12:17:09 +01:00
2020-04-28 19:01:31 +02:00
2020-05-12 18:46:20 +02:00
2019-08-27 00:45:45 +02:00
2020-03-09 20:49:52 +02:00
2020-01-16 15:09:19 +01:00
2020-02-05 01:11:10 +01:00
2020-04-17 17:47:20 +02:00
2020-05-14 19:11:00 -07:00
2019-05-29 11:46:58 -07:00
2020-04-02 00:47:39 +01:00
2020-04-28 17:07:12 +02:00
2019-06-18 00:15:13 +02:00
2020-04-07 23:11:49 +02:00
2019-08-23 16:39:09 +01:00
2020-02-13 18:37:17 +01:00
2020-04-29 02:29:20 +02:00
2020-02-13 18:37:17 +01:00
2019-11-16 18:55:29 +02:00
2020-02-13 18:37:17 +01:00
2019-05-23 08:45:22 -07:00
2020-04-15 11:22:10 -07:00
2020-04-28 16:32:48 +02:00
2020-04-29 02:29:20 +02:00
2020-02-13 18:37:17 +01:00
2020-02-13 18:37:17 +01:00