1. 23 Mar, 2016 33 commits
  2. 22 Mar, 2016 7 commits
    • Victor Stinner's avatar
      _warnings.warn_explicit(): try to import warnings · cb6aab12
      Victor Stinner authored
      Issue #26592: _warnings.warn_explicit() now tries to import the warnings module
      (Python implementation) if the source parameter is set to be able to log the
      traceback where the source was allocated.
      cb6aab12
    • Victor Stinner's avatar
      Implement finalizer for os.scandir() iterator · 38f47b8f
      Victor Stinner authored
      Issue #26603:
      
      * Implement finalizer for os.scandir() iterator
      * Set the source parameter when emitting the ResourceWarning warning
      * Close the iterator before emitting the warning
      38f47b8f
    • Victor Stinner's avatar
      Add a source parameter to warnings.warn() · 65554461
      Victor Stinner authored
      Issue #26604:
      
      * Add a new optional source parameter to _warnings.warn() and warnings.warn()
      * Modify asyncore, asyncio and _pyio modules to set the source parameter when
        logging a ResourceWarning warning
      65554461
    • Victor Stinner's avatar
      Fix macros in hashtable.h · 37026ee8
      Victor Stinner authored
      Add parenthesis.
      37026ee8
    • Victor Stinner's avatar
      Merge 3.5 · b6342ba1
      Victor Stinner authored
      b6342ba1
    • Victor Stinner's avatar
      Enhance _tracemalloc debug mode · afbd0912
      Victor Stinner authored
      Issue #26588: Enhance assertion in set_reentrant()
      afbd0912
    • Victor Stinner's avatar
      Fix _tracemalloc start/stop · 71d77344
      Victor Stinner authored
      Issue #26588: Fix _tracemalloc start/stop: don't play with the reentrant flag.
      
      set_reentrant(1) fails with an assertion error if tracemalloc_init() is called
      first in a thread A and tracemalloc_start() is called second in a thread B. The
      tracemalloc is imported in a thread A. Importing the module calls
      tracemalloc_init(). tracemalloc.start() is called in a thread B.
      71d77344