Victor Stinner
6876257eaa
bpo-36389: _PyObject_CheckConsistency() available in release mode (GH-16612)
...
bpo-36389, bpo-38376: The _PyObject_CheckConsistency() function is
now also available in release mode. For example, it can be used to
debug a crash in the visit_decref() function of the GC.
Modify the following functions to also work in release mode:
* _PyDict_CheckConsistency()
* _PyObject_CheckConsistency()
* _PyType_CheckConsistency()
* _PyUnicode_CheckConsistency()
Other changes:
* _PyMem_IsPtrFreed(ptr) now also returns 1 if ptr is NULL
(equals to 0).
* _PyBytesWriter_CheckConsistency() now returns 1 and is only used
with assert().
* Reorder _PyObject_Dump() to write safe fields first, and only
attempt to render repr() at the end.
2019-10-07 18:42:01 +02:00
..
2019-09-12 19:30:00 -05:00
2019-09-30 16:49:47 +01:00
2019-08-21 23:00:04 +02:00
2019-09-14 12:24:05 +03:00
2019-09-07 10:44:36 +03:00
2019-09-12 19:30:00 -05:00
2019-09-17 09:20:56 +03:00
2019-06-03 20:40:15 +02:00
2019-07-21 16:12:33 -04:00
2019-09-14 12:24:05 +03:00
2019-09-25 08:47:04 +03:00
2019-09-25 21:33:58 -07:00
2019-07-11 17:59:05 +09:00
2019-10-07 12:19:58 -04:00
2018-11-27 13:27:31 +02:00
2019-05-30 19:13:39 -07:00
2019-09-14 12:24:05 +03:00
2019-07-08 17:19:25 +09:00
2018-12-30 15:42:32 -08:00
2019-09-01 12:03:39 +03:00
2019-03-27 12:52:18 +01:00
2019-09-14 12:24:05 +03:00
2019-09-01 12:03:39 +03:00
2019-07-08 17:19:25 +09:00
2019-09-14 12:24:05 +03:00
2019-07-13 07:39:18 -07:00
2019-07-08 17:19:25 +09:00
2019-09-27 06:03:53 -07:00
2019-08-08 17:57:10 +09:00
2019-03-13 22:59:55 +02:00
2019-05-30 19:13:39 -07:00
2019-09-12 15:20:37 +01:00
2019-05-30 19:13:39 -07:00
2019-09-14 12:24:05 +03:00
2019-09-20 10:01:09 -07:00
2019-05-30 19:13:39 -07:00
2019-10-01 12:45:52 +02:00
2019-07-04 19:31:34 +09:00
2019-09-14 12:24:05 +03:00
2019-08-21 15:27:33 -07:00
2019-09-15 09:36:38 -07:00
2019-09-19 17:29:05 +01:00
2019-05-30 19:13:39 -07:00
2019-10-07 18:42:01 +02:00
2019-05-27 16:39:22 +02:00
2019-05-29 22:12:38 +02:00
2019-09-05 18:06:49 +02:00
2019-10-04 13:09:52 +03:00
2019-09-05 18:06:49 +02:00
2019-06-24 13:59:50 -04:00
2019-05-30 19:13:39 -07:00
2019-09-13 22:50:27 +03:00
2019-07-11 14:57:42 -07:00
2018-11-27 13:27:31 +02:00
2019-07-14 05:15:32 -07:00
2019-09-14 12:24:05 +03:00
2019-09-18 14:15:10 +02:00
2019-08-28 18:56:17 -07:00
2019-10-07 18:42:01 +02:00
2019-10-07 12:56:59 +02:00
2019-09-10 03:30:36 -07:00
2019-05-06 12:56:50 -04:00
2019-09-09 11:47:14 +03:00
2019-10-02 23:51:20 +02:00
2018-11-26 20:21:31 -06:00
2019-07-27 14:04:29 -07:00
2019-09-12 19:30:00 -05:00
2019-09-16 13:56:57 +08:00
2018-11-30 09:40:16 +02:00
2019-08-20 12:20:47 -07:00
2019-09-09 02:20:38 -07:00
2019-09-01 12:16:51 +03:00
2019-09-25 08:47:04 +03:00
2019-09-10 05:59:43 -07:00
2019-09-14 12:24:05 +03:00
2019-06-17 14:27:23 +02:00
2019-10-07 20:01:54 +08:00
2019-08-23 15:20:30 -07:00
2019-09-12 19:30:00 -05:00
2019-09-12 19:30:00 -05:00
2019-09-12 19:30:00 -05:00
2019-09-09 15:46:26 +02:00
2019-09-12 11:02:48 +01:00
2019-08-20 21:53:59 -07:00
2019-02-18 15:26:37 +02:00
2019-06-13 02:16:41 +02:00
2018-11-27 13:27:31 +02:00
2019-09-10 03:33:30 -07:00
2019-08-27 00:13:12 -04:00
2019-05-08 20:59:35 -07:00
2019-09-10 17:04:08 +01:00
2019-05-08 20:59:35 -07:00
2019-04-09 11:19:46 -07:00
2019-05-29 22:12:38 +02:00
2019-05-30 19:13:39 -07:00
2019-05-30 19:13:39 -07:00
2019-09-10 03:27:03 -07:00