Giampaolo Rodola' added the comment: Different but kind of related, disk_usage() is not able to accept bytes:
>>> shutil.disk_usage(b'.') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\python34\lib\shutil.py", line 989, in disk total, free = nt._getdiskusage(path) TypeError: must be str, not bytes >>> ---------- _______________________________________ 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