Message152858
| Author |
pitrou |
| Recipients |
eli.bendersky, giampaolo.rodola, ncoghlan, pitrou, ubershmekel |
| Date |
2012年02月08日.14:14:01 |
| SpamBayes Score |
1.7875801e-10 |
| Marked as misclassified |
No |
| Message-id |
<1328710275.3387.4.camel@localhost.localdomain> |
| In-reply-to |
<1328709923.67.0.924124486578.issue13968@psf.upfronthosting.co.za> |
| Content |
> "file_paths(filtered_walk('.', included_files=['*.py']))" is a lot
> longer than "rglob('*.py')".
>
>
> It is, but is that a good enough reason to have both?
It is. globbing is a well-known operation that many people expect to be
easily done.
> However, this is not really faithful to the Python spirit, since it
> adds too many ways to do achieve the same effect, and ultimately
> confuses users.
Which "Python spirit" are you talking about? We have many high-level
tools in the stdlib. |
|