New submission from tegavu :
Wrong behavior in pathlib.PureWindowsPath - sorting does not use natural sort.
Everything below was written based on W7x64 & Python 3.8.1
(tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64 bit (AMD64)] on
win32.
The documentation
(h
New submission from tegavu:
Using Python 3.3 on W7x64 I wanted to create a file dialog that allows me to
select multiple files.
The code below is an example of how to re-create the bug.
# -*- coding: iso-8859-15 -*-
# Python 3
import tkinter
import tkinter.filedialog
def callback
New submission from tegavu:
Windows does not like/permit folders with spaces in the beginning or folders
and files with a tailing space character, as this will cause problems.
The python functions for os.mkdir will solve this by eliminating the blanks
automatically.
But os.path.join() will
tegavu added the comment:
Well then the bug is also for example in the open() to create a file, beause it
will also remove tailing spaces (files can have spaces in the front, while
folders cannot have spces on either side).
Although I still think an API to create a path should warn if this