| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bpo-36389: _PyObject_CheckConsistency() available in release mode (GH-16612) | Victor Stinner | 2019-10-07 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | bpo-33407: Implement Py_DEPRECATED() on MSVC (GH-8980) | Zackery Spytz | 2019-05-28 | 1 | -63/+64 |
| | | |||||
| * | bpo-36356: Release Unicode interned strings on Valgrind (#12431) | Victor Stinner | 2019-03-19 | 1 | -2/+0 |
| | | | | | | | | | | | | When Python is compiled with Valgrind support, release Unicode interned strings at exit in _PyUnicode_Fini(). * Rename _Py_ReleaseInternedUnicodeStrings() to unicode_release_interned() and make it private. * unicode_release_interned() is now called from _PyUnicode_Fini(): it must be called with a running Python thread state for TRASHCAN, it cannot be called from pymain_free(). * Don't display statistics on interned strings at exit anymore | ||||
| * | bpo-36297: remove "unicode_internal" codec (GH-12342) | Inada Naoki | 2019-03-18 | 1 | -9/+0 |
| | | |||||
| * | bpo-35134: Create Include/cpython/unicodeobject.h (GH-10680) | Victor Stinner | 2018-11-26 | 1 | -0/+1245 |
| Move unicodeobject.h code surrounded by "#ifndef Py_LIMITED_API" to a new Include/cpython/unicodeobject.h header file. | |||||
