STINNER Victor added the comment: > Different but kind of related, disk_usage() is not able to accept bytes:
On Python 3, I don't think that it's a big issue: bytes filenames are deprecated. See the current thread on python-dev: https://mail.python.org/pipermail/python-dev/2016-February/143150.html It's really much better to use Unicode on Windows, and I also suggest you to use Unicode on UNIX/BSD. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26330> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com