Berker Peksag <berker.pek...@gmail.com> added the comment:

Or we can special case functools.partial() in _copy_func_details() and use 
partial_object.func.__name__.

(I'm not sure which solution is better, but we need to the same thing for 
__doc__ as well.)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32153>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to