[issue20900] distutils register command should print text, not bytes repr

ingrid report at bugs.python.org
Wed Mar 19 15:38:25 CET 2014


ingrid added the comment:

I'm not quite clear on what you mean, could you please post an example output? Initially the response was not showing up at all for me because the announce call in register was missing a log level, but when I used log.INFO, the response did print for me, and it did look something like "----------b'xxx'----------". 

On a side note, the announce function defined in cmd.py seems to default to a log level 1, and messages with a log level of 1 do not seem to be printed to stdout regardless of what self.verbose is set to. I'm not sure if that is intentional or a bug, but I thought it was worth mentioning.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20900>
_______________________________________


More information about the Python-bugs-list mailing list