Changes by Jan Killian :
--
nosy: +iki
___
Python tracker
<http://bugs.python.org/issue10466>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Jan Killian added the comment:
Hello All,
sorry for lack of communication recently, I'd alos like to see it in 3.2
instead of 3.3, but my time is not as scalable as I wish and I can't run on
clouds yet .)
I like Trent's module and especially its usefullness via the command
Jan Killian added the comment:
Adapted Brian Curtin's http://bugs.python.org/file15381/
shutil_which.patch and made another reference implementation as a standalone
module including the following fixes:
* uses ``PATHEXT`` on Windows
* searches current directory before ``PATH`` on Windows
Jan Killian added the comment:
Updated version of reference implementation as a standalone module
* changed interface: which_files() returns generator, which() returns first
match,
or raises IOError(errno.ENOENT)
* updated doctest
Made this to more closely resemble the '
Jan Killian added the comment:
@tarek:
Sorry for not reacting, it completely vaporized out of my head. I'll do the
patch this weekend.
Agree, only which/which_files belong to public API.
Regarding PATHEXT:
1. When a new process is created, the value is taken from registry variable
PA
Jan Killian 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
Changes by Jan Killian :
Added file: http://bugs.python.org/file17948/which.py
___
Python tracker
<http://bugs.python.org/issue444582>
___
___
Python-bugs-list mailin
Changes by Jan Killian :
Removed file: http://bugs.python.org/file17948/which.py
___
Python tracker
<http://bugs.python.org/issue444582>
___
___
Python-bugs-list mailin
Jan Killian added the comment:
* updated docs in the patch
@ Éric: Thanks, that works nicely :)
@ Michael: You don't need cygwin to use which and many gnu tools on windows.
See http://gnuwin32.sourceforge.net/packages.html. After installation you can
take the ,exe and .dll files in Gnu
Changes by Jan Killian :
Removed file: http://bugs.python.org/file17947/shutil_which_82778.patch
___
Python tracker
<http://bugs.python.org/issue444582>
___
___
Python-bug
Changes by Jan Killian :
Added file: http://bugs.python.org/file17958/which.py
___
Python tracker
<http://bugs.python.org/issue444582>
___
___
Python-bugs-list mailin
Jan Killian added the comment:
@ Éric and Antoine: Thanks for the useful hints!
* PATH and PATHEXT are now evaluated when needed, not only on module init. The
rationale is, that the lib user may change them, eg. to include a directory
with additional commands.
* the only helper module-level
Changes by Jan Killian :
Added file: http://bugs.python.org/file17963/which.py
___
Python tracker
<http://bugs.python.org/issue444582>
___
___
Python-bugs-list mailin
Jan Killian added the comment:
* updated tests
--
Added file: http://bugs.python.org/file18000/shutil_which_82778.patch
___
Python tracker
<http://bugs.python.org/issue444
Changes by Jan Killian :
Added file: http://bugs.python.org/file18001/which.py
___
Python tracker
<http://bugs.python.org/issue444582>
___
___
Python-bugs-list mailin
Jan Killian added the comment:
Hi Tarek
Will do that on Tusdas. Examples make sense too
Jan
On Sun, Aug 8, 2010 at 11:15 AM, Tarek Ziadé wrote:
>
> Tarek Ziadé added the comment:
>
> looks good, minor changes before I commit it
>
> can you:
>
> - remove all o
16 matches
Mail list logo