commit | e19558af1b6979edf27f7a05a6e47a8b5d113390 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed Mar 23 00:28:08 2016 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Wed Mar 23 00:28:08 2016 +0100 |
tree | f901801a0684eba2f662670a178c43d96918c4db | |
parent | 060f9bb6024580272440f57c612ca34d9beaa169 [diff] |
Add a source parameter to warnings.warn() 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