[issue1506122] Add "compose" function to the functools

2010-07-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: I agree with Amaury that this should be closed. It has been previously discussed and rejected in other forums. One the issues is that the usual mathematical order is unintuitive and not self-documenting -- i.e. is compose(f,g) the same as f(g(x)) or g(

[issue1506122] Add "compose" function to the functools

2010-07-22 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- resolution: -> works for me status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue1506122] Add "compose" function to the functools

2010-07-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The proposed code may be useful sometimes, but is not generic enough for the standard library. For example, the f() function can only take one argument, when g() can accept any number. Implementations of this kind are so easy to write, They are better

[issue1506122] Add "compose" function to the functools

2010-07-04 Thread Éric Araujo
Éric Araujo added the comment: Gregory, any update on this? Maybe you can poll python-ideas. Collin, any download stats and feedback on your package? -- nosy: +merwok ___ Python tracker

[issue1506122] Add "compose" function to the functools

2010-01-07 Thread Demur Rumed
Demur Rumed added the comment: A type safe compose could be useful. One which instead of returning a function that takes (*args,**kwargs), takes the same as the first function which the arguments would be passed to. Copying a functions argument semantics would be useful in general, such as fo

[issue1506122] Add "compose" function to the functools

2009-03-29 Thread Daniel Diniz
Changes by Daniel Diniz : -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list