Movatterモバイル変換
[0]ホーム
[Python-Dev] PEP 309: Partial method application
Brett Cannonbcannon at gmail.com
Fri Aug 19 01:05:17 CEST 2005
On 8/18/05, Nick Coghlan <ncoghlan at gmail.com> wrote:> Brett Cannon wrote:> > Oh, when should we think of putting reduce into functional? I> > remember this was discussed when it was realized reduce was the only> > functional built-in that is not covered by itertools or listcomps.>> I expected functional.map, functional.filter and functional.reduce to all> exist in 2.5.>Itertools covers map, filter is covered by genexps. 'reduce' is theonly one that does not have an equivalent anywhere. I guess we couldcross-link itertools.map into functional.map, but I would rather justmention in the docs of one that it is located in the other module. And filter is just not worth it; that can definitely be covered in thedocs of the module.-Brett
More information about the Python-Devmailing list
[8]ページ先頭