)]}'
{"taskflow/exceptions.py":[{"author":{"_account_id":7366,"name":"Ivan Melnikov","email":"imelnikov@griddynamics.com","username":"imelnikov"},"change_message_id":"44ca16e94c6df76c2e23a54f9acf40dc077a37d9","unresolved":false,"context_lines":[{"line_number":174,"context_line":"def exception_message(exc):"},{"line_number":175,"context_line":"    \"\"\"Return the unicode representation of an exceptions message.\"\"\""},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"    def try_bytes(obj, errors):"},{"line_number":178,"context_line":"        \"\"\"Try to convert to raw bytes.\"\"\""},{"line_number":179,"context_line":"        try:"},{"line_number":180,"context_line":"            if six.PY3:"}],"source_content_type":"text/x-python","patch_set":3,"id":"9ad9bd40_e87db9e8","line":177,"updated":"2014-05-05 06:15:06.000000000","message":"I don\u0027t understand the usefulness of this function here.\n\nLet\u0027s consider the case when six.text_type(obj) raises UnicodeError. Then, we\u0027ll go try_bytes on line 192. In Python 3, this will lead to line 182, which will raise UnicodeError again, and then to line 185 that will rise UnicodeError for the 3-d time.","commit_id":"fa10cb3e95e1a1530bf1729a12e0ae01cf94d0d6"},{"author":{"_account_id":7366,"name":"Ivan Melnikov","email":"imelnikov@griddynamics.com","username":"imelnikov"},"change_message_id":"44ca16e94c6df76c2e23a54f9acf40dc077a37d9","unresolved":false,"context_lines":[{"line_number":180,"context_line":"            if six.PY3:"},{"line_number":181,"context_line":"                return six.text_type(obj).encode(\u0027utf-8\u0027)"},{"line_number":182,"context_line":"            else:"},{"line_number":183,"context_line":"                return bytes(obj)"},{"line_number":184,"context_line":"        except UnicodeEncodeError:"},{"line_number":185,"context_line":"            return six.text_type(obj).encode(\u0027utf-8\u0027, errors)"},{"line_number":186,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9ad9bd40_c87ab5f0","line":183,"updated":"2014-05-05 06:15:06.000000000","message":"Using bytes in py2 is somewhat confusing. Is this alias availiable in python 2.6?","commit_id":"fa10cb3e95e1a1530bf1729a12e0ae01cf94d0d6"}]}
