[issue444582] Finding programs in PATH, adding shutil.which

Jan Killian report at bugs.python.org
Sun Jul 11 20:31:50 CEST 2010


Jan Killian <jan.killian at gmail.com> added the comment:

* hardcoded deafult PATHEXT values for different versions of Windows
  (confirmed the W2K, W2008 values via google)
* code+tests+docs cleanup

Just one question: is there some std proc how to run the test suite on the updated stdlib in a working repo?
For now, I just copied the Lib/test/test_shutil.py to a parent Lib/ dir, renamed Lib/test temporarily to not collide with a test module, and run python test_shutil.py in Lib, but I guess you have some simpler way to do it.

----------
Added file: http://bugs.python.org/file17947/shutil_which_82778.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue444582>
_______________________________________


More information about the Python-bugs-list mailing list