[issue23175] logging.exception doesn't accept custom exc_info

2015-01-06 Thread Vinay Sajip
Vinay Sajip added the comment: 2.7 documentation has now been updated. The behaviour has already been changed for Python 3.5 to forward any exc_info passed in (see Issue #20537). -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue23175] logging.exception doesn't accept custom exc_info

2015-01-06 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue23175] logging.exception doesn't accept custom exc_info

2015-01-05 Thread Laimis
New submission from Laimis: Documentation says, that "The arguments are interpreted as for debug()." But it's not true, because no matter what exc_info is passed to logging.exception(), exc_info is overwritten (kwargs['exc_info'] = 1) and later self.error is called. This is either documentati