Message188425
That's right: if we have a separate scandir() that returns (name, stat) tuples, then a plain iterdir() is pretty much unnecessary -- callers just ignore the second stat value if they don't care about it.
I'd slightly prefer the name iterdir_stat(), as that almost makes the (name, stat) return values explicit in the name. But that's kind of bikeshedding -- scandir() works too. |
|
Date |
User |
Action |
Args |
2013-05-05 03:50:43 | benhoyt | set | recipients:
+ benhoyt, loewis, twouters, rhettinger, terry.reedy, gregory.p.smith, ncoghlan, pitrou, vstinner, giampaolo.rodola, christian.heimes, tim.golden, eric.araujo, Trundle, brian.curtin, torsten, nvetoshkin, neologix, abacabadabacaba, socketpair, serhiy.storchaka |
2013-05-05 03:50:42 | benhoyt | set | messageid: <1367725842.95.0.39899041935.issue11406@psf.upfronthosting.co.za> |
2013-05-05 03:50:42 | benhoyt | link | issue11406 messages |
2013-05-05 03:50:42 | benhoyt | create | |
|