Message130428
| Author |
socketpair |
| Recipients |
Trundle, brian.curtin, giampaolo.rodola, loewis, neologix, nvetoshkin, pitrou, socketpair, terry.reedy |
| Date |
2011年03月09日.05:43:13 |
| SpamBayes Score |
3.104614e-07 |
| Marked as misclassified |
No |
| Message-id |
<1299649393.96.0.50719136456.issue11406@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> -1 on going back through blah/xblah all over again.
Originally, I want return value of listdir to be changed from list to generator. But next, I thought about compatibility. It will break some code. For example, SimpleHTTPServer:
list = os.listdir(path)
list.sort(key=lambda a: a.lower())
will not work. |
|