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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-03-05 12:38:58 | iki | set | recipients: + iki, edemaine, christian.heimes, ajaksu2, andybuckley, tleeuwenburg@gmail.com, brian.curtin |
| 2010-03-05 12:38:57 | iki | set | messageid: <1267792737.55.0.716123768471.issue444582@psf.upfronthosting.co.za> |
| 2010-03-05 12:38:55 | iki | link | issue444582 messages |
| 2010-03-05 12:38:55 | iki | create | |