)]}'
{"openstackclient/compute/v2/console.py":[{"author":{"_account_id":23913,"name":"David Rabel","email":"rabel@b1-systems.de","username":"rabel"},"change_message_id":"d928e61185eecfca26c51ade72c9362d4d63efab","unresolved":false,"context_lines":[{"line_number":61,"context_line":"            length +\u003d 1"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"        data \u003d server.get_console_output(length\u003dlength)"},{"line_number":64,"context_line":"        sys.stdout \u003d codecs.getwriter(\u0027utf8\u0027)(sys.stdout)"},{"line_number":65,"context_line":"        sys.stdout.write(data)"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa0c359_7409652a","line":64,"range":{"start_line":64,"start_character":7,"end_line":64,"end_character":57},"updated":"2018-02-07 09:07:40.000000000","message":"If you are sure this works, please ignore my comment.\n\nI tried to verify this on a local python console (python-2.7.13).\n\nTo do this I used\nsys.stdout \u003d codecs.getwriter(\u0027ascii\u0027)(sys.stdout)\nand\nsys.stdout \u003d codecs.getwriter(\u0027utf-8\u0027)(sys.stdout)\n\nBefore running the first command, I can write any unicode-character, after the first command I get the same error as in the bug report. After running the second command, the error persists.\n\nThat makes me believe, your patch won\u0027t fix the issue completely.","commit_id":"9c1a417c5574309bdbbae615740552fc8c65c039"}]}
