[docs] [issue26330] shutil.disk_usage() on Windows can't properly handle unicode

STINNER Victor report at bugs.python.org
Wed Feb 10 10:44:32 EST 2016

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

See the current thread on python-dev:

It's really much better to use Unicode on Windows, and I also suggest
you to use Unicode on UNIX/BSD.


Python tracker <report at bugs.python.org>

More information about the docs mailing list