1. 05 Kas, 2017 1 kayıt (commit)
    • Nick Coghlan's avatar
      bpo-22257: Mention startup refactoring in What's New (GH-4286) · 1b46131a
      Nick Coghlan yazdı
      While technically a purely internal change, bpo-31845 was
      a fairly significant externally visible bug caused by
      these changes (environment variable based configuration
      was being ignored due to a change in the relative order
      of reading the environment and reading command line settings,
      and the test suite was only testing the command line options)
      
      Hence this note to essentially say "If you see odd startup
      problems in 3.7 that you've never seen in previous releases,
      it's probably our fault, so let us know, and we'll fix it".
      1b46131a
  2. 04 Kas, 2017 9 kayıt (commit)
  3. 03 Kas, 2017 7 kayıt (commit)
  4. 02 Kas, 2017 9 kayıt (commit)
  5. 01 Kas, 2017 7 kayıt (commit)
  6. 31 Eki, 2017 7 kayıt (commit)
    • Victor Stinner's avatar
      bpo-18835: Cleanup pymalloc (#4200) · 9ed83c40
      Victor Stinner yazdı
      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 yazdı
      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 yazdı
      * 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 yazdı
      afd055a5
    • Victor Stinner's avatar
      test_capi.test__testcapi() becomes more verbose (#4197) · e1a470bd
      Victor Stinner yazdı
      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 yazdı
      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 yazdı
      Removed a code that incorrectly detected in-place resizing in realloc()
       and wrote to freed memory.
      b484d560