[issue32557] allow shutil.disk_usage to take a file path on Windows also

Joe Pamer report at bugs.python.org
Wed Sep 19 15:40:21 EDT 2018


Joe Pamer <joe at noteven.org> added the comment:

Just to loop back, I updated the PR to avoid MAX_PATH and only allocate  in the "not a directory" case. Thanks for getting back to me so quickly!

One question, though, is that it *does* seem like MAX_PATH is still referenced in several places in posixmodule.c. Is the ultimate goal to remove those references as well?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32557>
_______________________________________


More information about the Python-bugs-list mailing list