[issue12442] shutil.disk_usage()

Giampaolo Rodola' report at bugs.python.org
Thu Jun 30 11:31:48 CEST 2011


Giampaolo Rodola' <g.rodola at gmail.com> added the comment:

New patch includes:

- Py_BEGIN/END_ALLOW_THREADS around GetDiskFreeSpaceEx() call
- use of assertGreaterEqual / assertLessEqual when testing the percentage usage
- use of hasattr(shutil, 'disk_usage') for skipping the test
- extended url reference in the comments

----------
Added file: http://bugs.python.org/file22519/diskusage2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12442>
_______________________________________


More information about the Python-bugs-list mailing list