)]}'
{"trove/tests/api/users.py":[{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"a473366739f21d8e20c8a398ce6a123a18d0353a","unresolved":false,"context_lines":[{"line_number":142,"context_line":"    def test_create_users_handles_unicode_errors(self):"},{"line_number":143,"context_line":"        if not isinstance(instance_info.dbaas.client, TroveXmlClient):"},{"line_number":144,"context_line":"            users \u003d [{\"name\": \"Brtish\","},{"line_number":145,"context_line":"                      \"password\": \"%s12345\" % literals.POUND_SIGN,"},{"line_number":146,"context_line":"                      \"databases\": [{\"name\": self.db1}]}]"},{"line_number":147,"context_line":"            assert_raises(exceptions.BadRequest, self.dbaas.users.create,"},{"line_number":148,"context_line":"                          instance_info.id, users)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2FxFw%3D","line":145,"updated":"2013-10-29 11:07:43.000000000","message":"This can be simply written six.u(\"\\\\xa312345\")","commit_id":"a980522a7cc40791d36ac99251f9e5fc81da5504"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"c3c42d098fc28f23dbe6677e5cd23bdfacdb1d97","unresolved":false,"context_lines":[{"line_number":142,"context_line":"    def test_create_users_handles_unicode_errors(self):"},{"line_number":143,"context_line":"        if not isinstance(instance_info.dbaas.client, TroveXmlClient):"},{"line_number":144,"context_line":"            users \u003d [{\"name\": \"Brtish\","},{"line_number":145,"context_line":"                      \"password\": \"%s12345\" % literals.POUND_SIGN,"},{"line_number":146,"context_line":"                      \"databases\": [{\"name\": self.db1}]}]"},{"line_number":147,"context_line":"            assert_raises(exceptions.BadRequest, self.dbaas.users.create,"},{"line_number":148,"context_line":"                          instance_info.id, users)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2Fwps%3D","line":145,"in_reply_to":"AAAATn%2F%2FxFw%3D","updated":"2013-10-29 13:33:52.000000000","message":"For server code, we don\u0027t care about versions of Python 3 before 3.3, so it is safe to use the built-in literal u prefix to indicate a unicode literal string.\n\nIn this case, the format string should be unicode to safely handle the interpolation properly with the pound sign constant.","commit_id":"a980522a7cc40791d36ac99251f9e5fc81da5504"}],"trove/tests/literals.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"c3c42d098fc28f23dbe6677e5cd23bdfacdb1d97","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# vim:fileencoding\u003diso-8859-15"},{"line_number":2,"context_line":"\"\"\""},{"line_number":3,"context_line":"Defines some unicode literals. Stored here so that if people have trouble"},{"line_number":4,"context_line":"keeping the file encoding in their editors they can avoid touching this file."}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2Fwpk%3D","line":1,"updated":"2013-10-29 13:33:52.000000000","message":"Please use UTF-8 for source file encoding.","commit_id":"a980522a7cc40791d36ac99251f9e5fc81da5504"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"c46ada7b659a69163e81b083fb9f3594a0d0c271","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# vim:fileencoding\u003diso-8859-15"},{"line_number":2,"context_line":"\"\"\""},{"line_number":3,"context_line":"Defines some unicode literals. Stored here so that if people have trouble"},{"line_number":4,"context_line":"keeping the file encoding in their editors they can avoid touching this file."}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2Fwo0%3D","line":1,"in_reply_to":"AAAATn%2F%2Fwpk%3D","updated":"2013-10-29 13:39:10.000000000","message":"I\u0027m not sure Python will recognize this encoding specifier properly, either. It doesn\u0027t quite match any of the formats listed in http://www.python.org/dev/peps/pep-0263/.","commit_id":"a980522a7cc40791d36ac99251f9e5fc81da5504"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"c46ada7b659a69163e81b083fb9f3594a0d0c271","unresolved":false,"context_lines":[{"line_number":5,"context_line":"\"\"\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"POUND_SIGN \u003d \"£\""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F%2FwoM%3D","line":8,"updated":"2013-10-29 13:39:10.000000000","message":"This doesn\u0027t look like a proper unicode string.\n\n    \u003e\u003e\u003e POUND_SIGN \u003d \"£\"\n    \u003e\u003e\u003e type(POUND_SIGN)\n    \u003ctype \u0027str\u0027\u003e\n    \u003e\u003e\u003e POUND_SIGN\n    \u0027\\xc2\\xa3\u0027\n\nIt needs to be declared as a unicode literal.","commit_id":"a980522a7cc40791d36ac99251f9e5fc81da5504"}]}
