[issue31214] os.walk has a bug on Windows

2017-08-15 Thread Chris Lovett
Chris Lovett added the comment: Oh, my bad then. Apologies for the noise in your system. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue31214] os.walk has a bug on Windows

2017-08-15 Thread Chris Lovett
New submission from Chris Lovett: When I walk a directory recursively, it is tacking on an additional non-existant file from one of the subdirectories. Here's the code: def copy_dir(self, src, dest): result = sftp.mkdir(dest) for dirname, dirnames, filenames in os.walk(src