Yury Selivanov added the comment:

> Although, it looks like it's not something that partial is doing, it seems 
> like this call logic is implemented somewhere way deeper.

Forget about what I said.

Yes, it's a "bug" in partial. Fixing it, will require having the code from 
"Signature.bind" reflected to C -- IOW you need to introspect the callable, get 
information about its parameters, and then compute the actual args & kwargs. 
Which will make functools.partial much much slower.

----------

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

Reply via email to