New submission from Arvin Moezzi:
I am not sure if this is the right way to do it but IMHO it would be great to
have a function decorator/transformer to make functions partial applicable
using functools.partial. Like
from functools import partial
class partial_applicable():
def
Arvin Moezzi added the comment:
Or maybe even
class partial_applicable():
def __call__(self, func):
def __wrapper(*args, **kvargs):
try:
return func(*args, **kvargs)
except TypeError
Arvin Moezzi added the comment:
Thanks for your feedback.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15683
___
___
Python-bugs-list mailing