You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some behavioural changes can be observed when moving to Python 3.5+ when scandir becomes-available, as used in scantree.py.
os.walk() was forgiving of a non-existent root, but os.scandir() is not.
It is not clear whether Whitenoise should fail-fast if it is passed a root that does not exist, but that seems reasonable. Either way the behaviour should be consistent regardless of whether scandir is present or not.
Some behavioural changes can be observed when moving to Python 3.5+ when
scandir
becomes-available, as used inscantree.py
.os.walk()
was forgiving of a non-existent root, butos.scandir()
is not.It is not clear whether Whitenoise should fail-fast if it is passed a
root
that does not exist, but that seems reasonable. Either way the behaviour should be consistent regardless of whetherscandir
is present or not./cc https://github.com/kennethreitz/httpbin/issues/403
The text was updated successfully, but these errors were encountered: