[issue28718] '*' matches entire path in fnmatch

2019-03-31 Thread Toon Verstraelen
Toon Verstraelen added the comment: Just for reference, here are a few more implementations of the same idea, next to pywildcard, sometimes combined with other useful features: - https://github.com/LawfulHacker/fnmatch2 - https://github.com/demurgos/py-pathmatch - https://github.com/vidartf

[issue28718] '*' matches entire path in fnmatch

2019-03-28 Thread Toon Verstraelen
Toon Verstraelen added the comment: For consistency with the corresponding feature in the glob function since Python 3.5, I would suggest to add an extra optional argument 'recursive' instead of 'glob_asterisks'. With the default recursive=False, one gets the old behavior, with recursive

[issue36353] rpath incorrectly handled on OSX by build_ext

2019-03-18 Thread Toon Verstraelen
New submission from Toon Verstraelen : When using the '-R' option of build_ext on OSX, e.g. python setup.py -R some/path it gets translated to the following clang compiler argument: -L some/path while it should be -Wl,-rpath,some/path See clang documentation for details: https

thread hangs when using subprocess only in specific circumstances

2006-01-09 Thread Toon Verstraelen
Hi, I recently had a thread problem and I could reduce it to a very short example that shows the problem. I hope it has its origin in my misunderstanding of how python threads work. Here it is: --- my_thread.py --- import threading from subprocess import Popen, PIPE, STDOUT class