119 Commits (f7eae0adfcd4c50034281b2c69f461b43b68db84)

Author SHA1 Message Date
T. Wouters 06bb4873d6 Fix spurious MemoryError introduced by PR #886. (#930) 9 years ago
T. Wouters a00c3fd12d bpo-29941: Assert fixes (#886) 9 years ago
Benjamin Peterson 5d4b09c106 correct silly spelling problem 9 years ago
Benjamin Peterson 19517e4da7 replace obmalloc's homegrown uptr and uchar types with standard ones 9 years ago
Benjamin Peterson 3924f93794 improvements to code that checks whether Python (obmalloc) allocated an address 9 years ago
Benjamin Peterson 2f8bfef158 replace PY_SIZE_MAX with SIZE_MAX 9 years ago
Benjamin Peterson ca47063998 replace Py_(u)intptr_t with the c99 standard types 9 years ago
Victor Stinner 15932593ba Issue #26249: Try test_capi on Windows 10 years ago
Victor Stinner f5c4b99034 PyMem_Malloc() now uses the fast pymalloc allocator 10 years ago
Victor Stinner 0621e0ea86 Don't define _PyMem_PymallocEnabled() if pymalloc is disabled 10 years ago
Victor Stinner 0aed3a4ebc _PyMem_DebugFree(): fix compiler warning on Windows 10 years ago
Victor Stinner ad524375af Fail if PyMem_Malloc() is called without holding the GIL 10 years ago
Victor Stinner 0611c26a58 On memory error, dump the memory block traceback 10 years ago
Victor Stinner c4aec3628b Check the GIL in PyObject_Malloc() 10 years ago
Victor Stinner 34be807ca4 Add PYTHONMALLOC env var 10 years ago
Serhiy Storchaka 26861b0b29 Issue #23450: Fixed possible integer overflows. 11 years ago
Antoine Pitrou cc23154d02 Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on a 32-bit platform. 11 years ago
Victor Stinner d8f0d922d5 Issue #21233: Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" to 12 years ago
Victor Stinner 3080d926af Issue #21233: Fix _PyObject_Alloc() when compiled with WITH_VALGRIND defined 12 years ago
Victor Stinner af8fc645af Issue #21233: Oops, Fix _PyObject_Alloc(): initialize nbytes before going to 12 years ago
Victor Stinner db067af12a Issue #21233: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), 12 years ago
Victor Stinner 6cf185dc06 Issue #18874: _PyObject_Malloc/Realloc/Free() now falls back on 12 years ago
Nick Coghlan 6ba64f454d Close #18596: Support address sanity checking in clang/GCC 12 years ago
Georg Brandl 7cba5fd267 Fix minor typo. 12 years ago
Tim Peters df099f5df6 Update internal comments to say _something_ about the "API ID". 12 years ago
Tim Peters eaa3bcc370 Issue #18942: sys._debugmallocstats() output was damaged on Windows. 12 years ago
Victor Stinner c4266360fc Issue #18408: Fix _PyMem_DebugRealloc() 13 years ago
Victor Stinner 49fc8ece81 Issue #18203: Add _PyMem_RawStrdup() and _PyMem_Strdup() 13 years ago
Victor Stinner 725e668ac8 Issue #3329: Fix _PyObject_ArenaVirtualFree() 13 years ago
Victor Stinner 0507bf56f0 Issue #3329: Implement the PEP 445 13 years ago
Martin v. Löwis cd83fa8c3e Issue #13483: Use VirtualAlloc in obmalloc on Windows. 13 years ago
Victor Stinner 36f01ad9ac Revert changeset 6661a8154eb3: Issue #3329: Add new APIs to customize memory allocators 13 years ago
Victor Stinner 4d7056258b Issue #3329: Add new APIs to customize memory allocators 13 years ago
Antoine Pitrou 0aaaa62200 Issue #17469: Fix _Py_GetAllocatedBlocks() and sys.getallocatedblocks() when running on valgrind. 13 years ago
Benjamin Peterson 8e830a0664 fix building without pymalloc (closes #17228) 13 years ago
Benjamin Peterson 2dba1ee3e6 fix building without pymalloc (closes #17228) 13 years ago
Antoine Pitrou 928405303d Following issue #13390, fix compilation --without-pymalloc, and make sys.getallocatedblocks() return 0 in that situation. 13 years ago
Antoine Pitrou f9d0b1256f Issue #13390: New function :func:`sys.getallocatedblocks()` returns the number of memory blocks currently allocated. 13 years ago
Antoine Pitrou ca8aa4acf6 Issue #15144: Fix possible integer overflow when handling pointers as integer values, by using Py_uintptr_t instead of size_t. 13 years ago
David Malcolm 49526f48fc Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues 14 years ago
Victor Stinner ba108823b6 Close #14232: catch mmap() failure in new_arena() of obmalloc 14 years ago
Antoine Pitrou f0effe6379 Better resolution for issue #11849: Ensure that free()d memory arenas are really released 14 years ago
Antoine Pitrou 6f26be09e0 Issue #11849: Make it more likely for the system allocator to release 15 years ago
Brett Cannon b94767ff44 Issue #8914: fix various warnings from the Clang static analyzer v254. 15 years ago
Antoine Pitrou 5a72e76b69 Merged revisions 87834 via svnmerge from 15 years ago
Antoine Pitrou 5b6fc63998 Merged revisions 87834 via svnmerge from 15 years ago
Antoine Pitrou b7fb2e25fb Issue #8020: Avoid a crash where the small objects allocator would read 15 years ago
Stefan Krah 5d744a8855 Merged revisions 86791 via svnmerge from 15 years ago
Stefan Krah 918c90ce06 Merged revisions 86791 via svnmerge from 15 years ago
Stefan Krah 735bb12b01 Indentation cleanup. 15 years ago