commit | c7f02a965936f197354d7f4e6360f4cfc86817ed | [log] [tgz] |
---|---|---|
author | Giampaolo Rodola <g.rodola@gmail.com> | Tue Jun 19 08:27:29 2018 -0700 |
committer | GitHub <noreply@github.com> | Tue Jun 19 08:27:29 2018 -0700 |
tree | 9402cdb5daa1881eefce00dbc70c8b2dfc7f40f7 | |
parent | 936f03e7fafc28fd6fdfba11d162c776b89c0167 [diff] |
bpo-33671 / shutil.copyfile: use memoryview() with dynamic size on Windows (#7681) bpo-33671 * use memoryview() with size == file size on Windows, see https://github.com/python/cpython/pull/7160#discussion_r195405230 * release intermediate (sliced) memoryview immediately * replace "OSX" occurrences with "macOS" * add some unittests for copyfileobj()