Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

I think I am missing something because the callbacks are always called with 
(exc_type, exc, tb) (check here 
https://github.com/python/cpython/blob/176baa326be4ec2dc70ca0c054b7e2ab7ca6a9cf/Lib/contextlib.py#L475)
 and therefore a wrapper that just drops these arguments and calls the original 
callback with no arguments is always needed, right?

----------
nosy: +pablogsal

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

Reply via email to