[issue36033] logging.makeLogRecord should update "rv" using a dict defined with bytes instead of strings

Vinay Sajip report at bugs.python.org
Tue Feb 19 14:04:09 EST 2019


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

If the arguments are retrieved from a byte source, why can't they be converted to strings before passing to logging? This may be an issue for OpenStack. It's not logging's job to convert bytes passed to APIs that expect strings.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36033>
_______________________________________


More information about the Python-bugs-list mailing list