pyramda icon indicating copy to clipboard operation
pyramda copied to clipboard

DRY, use `inspect.signature` for `curry`?

Open peteut opened this issue 9 years ago • 3 comments

Hi,

I did some experiments w/ inspect.signature and it works quite well. curry.py gets much simpler, but there is no checking for updated **kwargs in yet.

Cheers, Alain

peteut avatar Aug 08 '16 20:08 peteut

Is it possible to use it in 2.6 and 2.7? I don't intend to drop support for those versions.

jackfirth avatar Aug 08 '16 21:08 jackfirth

CI only checks from 2.7 upwards. I'll add checks for 2.7 in that case.

peteut avatar Aug 08 '16 22:08 peteut

Added 2.6 tests, works w/ future.moves. funcsigs is a dependency in addition. Travis CI tests can be found here.

peteut avatar Aug 08 '16 23:08 peteut