Message100469
| Author |
iki |
| Recipients |
ajaksu2, andybuckley, brian.curtin, christian.heimes, edemaine, iki, tleeuwenburg@gmail.com |
| Date |
2010年03月05日.12:38:55 |
| SpamBayes Score |
1.3319564e-07 |
| Marked as misclassified |
No |
| Message-id |
<1267792737.55.0.716123768471.issue444582@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 'which' command behavior, and to make the typical use case simpler. The generator interface is still a good idea imho, so it's kept as which_files(). I'm already using the reference implementation module flawlessly, so I don't see any other changes needed on my side. Your ideas are welcome of course. |
|