New submission from Norman Lorrain :
On Windows 10 machine, unit tests show this error:
0:05:10 load avg: 3.24 [221/427/1] test_mimetypes failed
test test_mimetypes failed -- Traceback (most recent call last):
File "D:\github\cpython\lib\test\test_mimetypes.py", li
Norman Lorrain added the comment:
Possible solution is to read the Windows Registry entries, assigning those
entries as "strict=False". Unit tests pass with this change:
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index 018793c4f0..dd2bddf064 100644
--- a/Lib/mimetypes.py
Change by Norman Lorrain :
--
keywords: +patch
nosy: +Norman Lorrain
nosy_count: 7.0 -> 8.0
pull_requests: +24834
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/26217
___
Python tracker
Norman Lorrain added the comment:
How about a simpler example (this relies on an outside service, fwiw)
See attached file.
--
nosy: +Norman Lorrain
Added file: https://bugs.python.org/file50124/weather.py
___
Python tracker
<ht
Norman Lorrain added the comment:
This issue is a bit dated, but here goes:
On Unix, the function `statvfs()` is called. `path` should be a path on a
mounted filesystem (it should not be a device).
On Windows, the function `GetDiskFreeSpaceExW()` is called. `path` is any
directory
Norman Lorrain added the comment:
Something like this:
.. impl-detail::
Where applicable (e.g. Unix) *path* must point to somewhere on a
**mounted** filesystem partition.
On Sun, 11 Jul 2021 at 16:18, Tyler Crompton wrote:
>
> Tyler Crompton added the comment:
>
>