1. 04 Nov, 2017 9 commits
  2. 03 Nov, 2017 7 commits
  3. 02 Nov, 2017 9 commits
  4. 01 Nov, 2017 7 commits
  5. 31 Oct, 2017 8 commits
    • Victor Stinner's avatar
      bpo-18835: Cleanup pymalloc (#4200) · 9ed83c40
      Victor Stinner authored
      Cleanup pymalloc:
      
      * Rename _PyObject_Alloc() to pymalloc_alloc()
      * Rename _PyObject_FreeImpl() to pymalloc_free()
      * Rename _PyObject_Realloc() to pymalloc_realloc()
      * pymalloc_alloc() and pymalloc_realloc() don't fallback on the raw
        allocator anymore, it now must be done by the caller
      * Add "success" and "failed" labels to pymalloc_alloc() and
        pymalloc_free()
      * pymalloc_alloc() and pymalloc_free() don't update
        num_allocated_blocks anymore: it should be done in the caller
      * _PyObject_Calloc() is now responsible to fill the memory block
        allocated by pymalloc with zeros
      * Simplify pymalloc_alloc() prototype
      * _PyObject_Realloc() now calls _PyObject_Malloc() rather than
        calling directly pymalloc_alloc()
      
      _PyMem_DebugRawAlloc() and _PyMem_DebugRawRealloc():
      
      * document the layout of a memory block
      * don't increase the serial number if the allocation failed
      * check for integer overflow before computing the total size
      * add a 'data' variable to make the code easiler to follow
      
      test_setallocators() of _testcapimodule.c now test also the context.
      9ed83c40
    • Victor Stinner's avatar
      bpo-20064: Document PyObject_Malloc() (#4199) · ec2cbdd1
      Victor Stinner authored
      Document the following functions:
      
      * PyObject_Malloc()
      * PyObject_Calloc()
      * PyObject_Realloc()
      * PyObject_Free()
      
      Fix also PyMem_RawFree() documentation.
      ec2cbdd1
    • Serhiy Storchaka's avatar
      bpo-31893: Fix errors in b9052a0f. (#4196) · 2298fad5
      Serhiy Storchaka authored
      * Fix a compilation error on FreeBSD.
      * Fix the data attribute size on Mac OS X.
      2298fad5
    • Victor Stinner's avatar
      pythoninfo: add Py_DEBUG (#4198) · afd055a5
      Victor Stinner authored
      afd055a5
    • Victor Stinner's avatar
      test_capi.test__testcapi() becomes more verbose (#4197) · e1a470bd
      Victor Stinner authored
      Write the name of each subtest on a new line to help debugging when
      a test does crash Python.
      e1a470bd
    • Serhiy Storchaka's avatar
      bpo-31897: Convert unexpected errors when read bogus binary plists into... · db91e0fe
      Serhiy Storchaka authored
      bpo-31897: Convert unexpected errors when read bogus binary plists into InvalidFileException. (#4171)
      
      db91e0fe
    • Serhiy Storchaka's avatar
      bpo-31626: Fixed a bug in debug memory allocator. (#3844) · b484d560
      Serhiy Storchaka authored
      Removed a code that incorrectly detected in-place resizing in realloc()
       and wrote to freed memory.
      b484d560
    • Serhiy Storchaka's avatar
      bpo-31893: Fixed select.kqueue(). (#4166) · b9052a0f
      Serhiy Storchaka authored
      * Fixed the layout of the kqueue_event structure on OpenBSD and NetBSD.
      * Fixed the comparison of the kqueue_event objects.
      b9052a0f