[issue23597] Allow easy display of local variables in log messages?

2021-10-28 Thread Martin
Martin added the comment: In this pull request[1] I introduced a `format_locals` which can be provided to customize the serialization of the local variables of each frame. This could be used to filter out variables with certain names, for example. In this context, you could use a certain nam

[issue23597] Allow easy display of local variables in log messages?

2021-10-22 Thread Irit Katriel
Irit Katriel added the comment: See also 43656. -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue23597] Allow easy display of local variables in log messages?

2021-10-22 Thread Irit Katriel
Change by Irit Katriel : -- type: -> enhancement versions: +Python 3.11 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mai

[issue23597] Allow easy display of local variables in log messages?

2015-08-25 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23597] Allow easy display of local variables in log messages?

2015-03-05 Thread Robert Collins
Robert Collins added the comment: Yes, for debugging etc this can be very useful. I suggest further extending the new traceback interface to allow a filtering/transform hook of some sort, to allow folk more granular control than just repr overloading. -- nosy: +rbcollins _

[issue23597] Allow easy display of local variables in log messages?

2015-03-05 Thread Nick Coghlan
Changes by Nick Coghlan : -- dependencies: +traceback module has no way to show locals ___ Python tracker ___ ___ Python-bugs-list mai

[issue23597] Allow easy display of local variables in log messages?

2015-03-05 Thread Nick Coghlan
New submission from Nick Coghlan: Issue #22936 added support for easily displaying local variables in tracebacks to the unittest and traceback modules. Would it be worth also making this capability readily available in the logging APIs that display traceback messages? The main argument agains