()
| 247 | |
| 248 | |
| 249 | def physical_free(): |
| 250 | if sys.platform == 'linux': |
| 251 | return physical_free_linux() |
| 252 | elif 'win32' == sys.platform: |
| 253 | return physical_free_windows() |
| 254 | elif 'darwin' == sys.platform: |
| 255 | return physical_free_darwin() |
| 256 | else: |
| 257 | raise RuntimeError('unsupported platform for physical_free()') |
| 258 | |
| 259 | |
| 260 | def report_free(): |