)]}'
{"keystone/tests/test_wsgi.py":[{"author":{"_account_id":6460,"name":"Brad Topol","email":"btopol@us.ibm.com","username":"btopol"},"change_message_id":"83594446aa30cbeb33efb58b71e8f3fb39dfe6c0","unresolved":false,"context_lines":[{"line_number":244,"context_line":""},{"line_number":245,"context_line":"    def test_middleware_exception_error(self):"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"        exception_str \u003d b\u0027EXCEPTIONERROR\u0027"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"        class FakeMiddleware(wsgi.Middleware):"},{"line_number":250,"context_line":"            def process_response(self, request, response):"}],"source_content_type":"text/x-python","patch_set":5,"id":"baada198_6af6205f","line":247,"updated":"2014-07-17 05:15:43.000000000","message":"Ok, So I get that you are making this a byte string so the assertNotIn statements below will work in python 3 where body\u0027s are byte string. My question is (assuming body\u0027s are not byte strings in 2.x ) is why doesn\u0027t this change break stuff when running 2.x","commit_id":"2de82d81de4defd9c3204192c64b340fd21aeb05"},{"author":{"_account_id":7725,"name":"David Stanek","email":"dstanek@dstanek.com","username":"dstanek"},"change_message_id":"31347d01b81c92abb858ca80a2951cb79c6dce44","unresolved":false,"context_lines":[{"line_number":244,"context_line":""},{"line_number":245,"context_line":"    def test_middleware_exception_error(self):"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"        exception_str \u003d b\u0027EXCEPTIONERROR\u0027"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"        class FakeMiddleware(wsgi.Middleware):"},{"line_number":250,"context_line":"            def process_response(self, request, response):"}],"source_content_type":"text/x-python","patch_set":5,"id":"baada198_fb9d9967","line":247,"in_reply_to":"baada198_6af6205f","updated":"2014-07-17 09:49:27.000000000","message":"Actually in Python 2 strings *are* byte strings and we have the additional unicode type for text. In Python 3 they switched it. Strings are unicode and they added a new type for byte strings.\n\nThe u prefix (u\u0027\u0027) is gone in Python 3, but the b prefix (b\u0027\u0027) works in all versions. In Python 2 (type(b\u0027\u0027\u0027) is str) and in Python 3 (type(b\u0027\u0027) is bytes).","commit_id":"2de82d81de4defd9c3204192c64b340fd21aeb05"}],"tox.ini":[{"author":{"_account_id":6460,"name":"Brad Topol","email":"btopol@us.ibm.com","username":"btopol"},"change_message_id":"83594446aa30cbeb33efb58b71e8f3fb39dfe6c0","unresolved":false,"context_lines":[{"line_number":36,"context_line":"      keystone/tests/test_url_middleware.py \\"},{"line_number":37,"context_line":"      keystone/tests/test_utils.py \\"},{"line_number":38,"context_line":"      keystone/tests/test_v3_controller.py \\"},{"line_number":39,"context_line":"      keystone/tests/test_wsgi.py"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"[testenv:pep8]"},{"line_number":42,"context_line":"envdir \u003d {toxworkdir}/venv"}],"source_content_type":"text/x-properties","patch_set":5,"id":"baada198_8a2b7432","line":39,"updated":"2014-07-17 05:15:43.000000000","message":"As I see the list of tests supported growing slowly, it reminds me of Karate Kid 2 where Mr. Miyagi continues to karate chop this huge log thinking one day he may actually break it :-)  Keep chopping stanek !!","commit_id":"2de82d81de4defd9c3204192c64b340fd21aeb05"},{"author":{"_account_id":7725,"name":"David Stanek","email":"dstanek@dstanek.com","username":"dstanek"},"change_message_id":"31347d01b81c92abb858ca80a2951cb79c6dce44","unresolved":false,"context_lines":[{"line_number":36,"context_line":"      keystone/tests/test_url_middleware.py \\"},{"line_number":37,"context_line":"      keystone/tests/test_utils.py \\"},{"line_number":38,"context_line":"      keystone/tests/test_v3_controller.py \\"},{"line_number":39,"context_line":"      keystone/tests/test_wsgi.py"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"[testenv:pep8]"},{"line_number":42,"context_line":"envdir \u003d {toxworkdir}/venv"}],"source_content_type":"text/x-properties","patch_set":5,"id":"baada198_3bb551d0","line":39,"in_reply_to":"baada198_8a2b7432","updated":"2014-07-17 09:49:27.000000000","message":"To me it\u0027s more like Karate Kid 3 where Terry make Daniel bust up his foot kicking 2x4s.","commit_id":"2de82d81de4defd9c3204192c64b340fd21aeb05"}]}
