1. 24 Mar, 2016 1 commit
  2. 23 Mar, 2016 36 commits
  3. 22 Mar, 2016 3 commits
    • Victor Stinner's avatar
      _warnings.warn_explicit(): try to import warnings · e98445a4
      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.
      e98445a4
    • Victor Stinner's avatar
      Implement finalizer for os.scandir() iterator · 7bfa409f
      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
      7bfa409f
    • Victor Stinner's avatar
      Add a source parameter to warnings.warn() · e19558af
      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
      e19558af