[issue18825] Making msg optional on logging.exception() and similar variants

2013-09-14 Thread Vinay Sajip
Changes by Vinay Sajip : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue18825] Making msg optional on logging.exception() and similar variants

2013-08-30 Thread Vinay Sajip
Vinay Sajip added the comment: No, because in the general case, it would be useful to provide a message. If you don't want to, you can specify '', but there's no reason to make that the default. -- nosy: +vinay.sajip resolution: -> invalid status: open -> pending

[issue18825] Making msg optional on logging.exception() and similar variants

2013-08-24 Thread Sworddragon
New submission from Sworddragon: For logging.exception() and similar variants the msg argument must be passed but on a formation the LogRecord "message" is not mandatory. In this case wouldn't it be better to make the msg argument optional? At default it could be None or ''. -- compon