diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-23 00:43:54 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-23 00:43:54 +0100 |
commit | 7bfa409ff841fd84dfa194dd9052650d0a28585d (patch) | |
tree | b278b5b748e99e162101cbdf0a6bd59ad56e0159 /Python/_warnings.c | |
parent | e19558af1b6979edf27f7a05a6e47a8b5d113390 (diff) | |
download | cpython-git-7bfa409ff841fd84dfa194dd9052650d0a28585d.tar.gz |
Implement finalizer for os.scandir() iterator
Issue #26603:
* Implement finalizer for os.scandir() iterator
* Set the source parameter when emitting the ResourceWarning warning
* Close the iterator before emitting the warning
Diffstat (limited to 'Python/_warnings.c')
0 files changed, 0 insertions, 0 deletions