This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brian.curtin
Recipients ajaksu2, andybuckley, brian.curtin, christian.heimes, edemaine, tleeuwenburg@gmail.com
Date 2009-11-23.04:41:29
SpamBayes Score 0.00044822713
Marked as misclassified No
Message-id <1258951294.57.0.0885568235152.issue444582@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch against r76432 which implements a "which" generator
function in shutil that yields full file paths where the searched file
exists on the PATH. Includes doc change and a test. It is pretty similar
to what edemaine had suggested.

This could just as easily return a list, so if that would be more
preferable I'll change the patch.
History
Date User Action Args
2009-11-23 04:41:35brian.curtinsetrecipients: + brian.curtin, edemaine, christian.heimes, ajaksu2, andybuckley, tleeuwenburg@gmail.com
2009-11-23 04:41:34brian.curtinsetmessageid: <1258951294.57.0.0885568235152.issue444582@psf.upfronthosting.co.za>
2009-11-23 04:41:33brian.curtinlinkissue444582 messages
2009-11-23 04:41:33brian.curtincreate