)]}'
{"neutron/common/exceptions.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"a699a11e10e023d6c696349ce4c648d45ea1c47a","unresolved":false,"context_lines":[{"line_number":44,"context_line":"        return unicode(self.msg)"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    def __str__(self):"},{"line_number":47,"context_line":"        return str(self.msg)"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    def use_fatal_exceptions(self):"},{"line_number":50,"context_line":"        return False"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAW3%2F%2F3jA%3D","line":47,"updated":"2014-04-09 19:59:01.000000000","message":"why do we need this change? __unicode__ is preferred way and __str__ is older one in my understanding.\n\nIn addition str() cannot accept unicode string and an exception message is usually unicode string. This means if a message is translated __str__() raises an error.\n\nIs there any reason __unicode__ cannot be used?","commit_id":"35be9c220a3099ad28cf8f0cb4151d1ce916bc97"}]}
