Message354152
This is a regression introduced by:
commit 6876257eaabdb30f27ebcbd7d2557278ce2e5705
Author: Victor Stinner <vstinner@python.org>
Date: Mon Oct 7 18:42:01 2019 +0200
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. |
|
Date |
User |
Action |
Args |
2019-10-07 23:01:53 | pablogsal | set | recipients:
+ pablogsal, vstinner |
2019-10-07 23:01:53 | pablogsal | set | messageid: <1570489313.83.0.707786642982.issue38400@roundup.psfhosted.org> |
2019-10-07 23:01:53 | pablogsal | link | issue38400 messages |
2019-10-07 23:01:53 | pablogsal | create | |
|