STINNER Victor added the comment:
> Oh, wow. I didn't even know we special-case partial() there.
I wrote the code doing that. I did it to get more readable and shorter logs
since asyncio produces a lot of logs.
Example:
Exception in callback print("Hello", "World!")() at ...:4
without special case:
Exception in functools.partial(<built-in function print>, 'Hello',
'World!') at ...:4
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26654>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com