[issue39544] Pathlib PureWindowsPath sorting incorrect (is not natural sort)

2020-02-03 Thread tegavu
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

[issue22744] os.mkdir on Windows silently strips trailing blanks from directory names

2014-10-27 Thread tegavu
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

[issue22744] os.path.join on Windows creates invalid paths with spaces

2014-10-27 Thread tegavu
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

[issue18877] tkinter askopenfilenames does not work in Windows library folder

2013-08-29 Thread tegavu
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