1. 23 Mar, 2016 9 commits
    • Victor Stinner's avatar
      _PyMem_DebugFree(): fix compiler warning on Windows · d6360bc2
      Victor Stinner authored
      Don't return a void value.
      d6360bc2
    • Victor Stinner's avatar
      faulthandler: add Windows exception handler · 70817701
      Victor Stinner authored
      Issue #23848: On Windows, faulthandler.enable() now also installs an exception
      handler to dump the traceback of all Python threads on any Windows exception,
      not only on UNIX signals (SIGSEGV, SIGFPE, SIGABRT).
      70817701
    • Victor Stinner's avatar
      Issue #23848: Expose _Py_DumpHexadecimal() · 70440072
      Victor Stinner authored
      This function will be reused by faulthandler.
      70440072
    • Victor Stinner's avatar
      Cleanup hashtable.h · 1d423797
      Victor Stinner authored
      Issue #26588:
      
      * Pass the hash table rather than the key size to hash and compare functions
      * _Py_HASHTABLE_READ_KEY() and _Py_HASHTABLE_ENTRY_READ_KEY() macros now expect
        the hash table as the first parameter, rather than the key size
      * tracemalloc_get_traces_fill(): use _Py_HASHTABLE_ENTRY_READ_DATA() rather
        than pointer dereference
      * Remove the _Py_HASHTABLE_ENTRY_WRITE_PKEY() macro
      * Move "PKEY" and "PDATA" macros inside hashtable.c
      1d423797
    • Victor Stinner's avatar
      Issue #26588: · 09c01ddc
      Victor Stinner authored
      * Optimize tracemalloc_add_trace(): modify hashtable entry data (trace) if the
        memory block is already tracked, rather than trying to remove the old trace
        and then add a new trace.
      * Add _Py_HASHTABLE_ENTRY_WRITE_DATA() macro
      09c01ddc
    • Victor Stinner's avatar
      Issue #26588: · 78786676
      Victor Stinner authored
      * _Py_HASHTABLE_ENTRY_DATA: change type from "char *" to "const void *"
      * Add _Py_HASHTABLE_ENTRY_WRITE_PKEY() macro
      * Rename _Py_HASHTABLE_ENTRY_WRITE_DATA() macro to
        _Py_HASHTABLE_ENTRY_WRITE_PDATA()
      * Add _Py_HASHTABLE_ENTRY_WRITE_DATA() macro
      78786676
    • Victor Stinner's avatar
      Issue #26588: Optimize tracemalloc_realloc() · 39920a74
      Victor Stinner authored
      No need to remove the old trace if the memory block didn't move.
      39920a74
    • Victor Stinner's avatar
      Makefile: change default value of TESTTIMEOUT from 1 hour to 15 min · becec8b9
      Victor Stinner authored
      The whole test suite takes 6 minutes on my laptop. It takes less than 30
      minutes on most buildbots. The TESTTIMEOUT is the timeout for a single test
      file.
      becec8b9
    • Victor Stinner's avatar
      regrtest: add timeout to main process when using -jN · f59ac68b
      Victor Stinner authored
      libregrtest: add a watchdog to run_tests_multiprocess() using
      faulthandler.dump_traceback_later().
      f59ac68b
  2. 22 Mar, 2016 28 commits
  3. 21 Mar, 2016 3 commits