)]}'
{"neutron/wsgi.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"428bf299d56b3d64a676497f5c845fc103182d61","unresolved":false,"context_lines":[{"line_number":941,"context_line":"        print((\"*\" * 40) + \" REQUEST ENVIRON\")"},{"line_number":942,"context_line":"        for key, value in req.environ.items():"},{"line_number":943,"context_line":"            print(key, \"\u003d\", value)"},{"line_number":944,"context_line":"        print()"},{"line_number":945,"context_line":"        resp \u003d req.get_response(self.application)"},{"line_number":946,"context_line":""},{"line_number":947,"context_line":"        print((\"*\" * 40) + \" RESPONSE HEADERS\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F%2Bbks%3D","line":944,"updated":"2014-01-26 20:39:32.000000000","message":"Unfortunately this changes the behavior in python 2.7. print() in python 2.7 prints ().\n\nDoes the following work (though I didn\u0027t test it in python3)?\n\n  print(\"\")","commit_id":"1b7d7f1878058a40ae1a331b1be2743c3c9a36e1"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"00665a513f047a405ef316809112bb3c435b08c0","unresolved":false,"context_lines":[{"line_number":941,"context_line":"        print((\"*\" * 40) + \" REQUEST ENVIRON\")"},{"line_number":942,"context_line":"        for key, value in req.environ.items():"},{"line_number":943,"context_line":"            print(key, \"\u003d\", value)"},{"line_number":944,"context_line":"        print()"},{"line_number":945,"context_line":"        resp \u003d req.get_response(self.application)"},{"line_number":946,"context_line":""},{"line_number":947,"context_line":"        print((\"*\" * 40) + \" RESPONSE HEADERS\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F%2Bak8%3D","line":944,"in_reply_to":"AAAAUH%2F%2BalU%3D","updated":"2014-01-27 06:36:50.000000000","message":"This is a middleware for debug and I think it is okay to keep printing an empty line for readability.","commit_id":"1b7d7f1878058a40ae1a331b1be2743c3c9a36e1"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fa10d13f2c38ba0247d58b92b91a8b35bd2c1c9a","unresolved":false,"context_lines":[{"line_number":941,"context_line":"        print((\"*\" * 40) + \" REQUEST ENVIRON\")"},{"line_number":942,"context_line":"        for key, value in req.environ.items():"},{"line_number":943,"context_line":"            print(key, \"\u003d\", value)"},{"line_number":944,"context_line":"        print()"},{"line_number":945,"context_line":"        resp \u003d req.get_response(self.application)"},{"line_number":946,"context_line":""},{"line_number":947,"context_line":"        print((\"*\" * 40) + \" RESPONSE HEADERS\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F%2BalU%3D","line":944,"in_reply_to":"AAAAUH%2F%2BbUc%3D","updated":"2014-01-27 06:35:38.000000000","message":"Thanks. Sorry, I totally forgot \"from __future__ import print_function\".","commit_id":"1b7d7f1878058a40ae1a331b1be2743c3c9a36e1"},{"author":{"_account_id":6676,"name":"zqfan","email":"aji.zqfan@gmail.com","username":"aji-zqfan"},"change_message_id":"930eb303c4293c179182c412c4b49312eff7cfd8","unresolved":false,"context_lines":[{"line_number":941,"context_line":"        print((\"*\" * 40) + \" REQUEST ENVIRON\")"},{"line_number":942,"context_line":"        for key, value in req.environ.items():"},{"line_number":943,"context_line":"            print(key, \"\u003d\", value)"},{"line_number":944,"context_line":"        print()"},{"line_number":945,"context_line":"        resp \u003d req.get_response(self.application)"},{"line_number":946,"context_line":""},{"line_number":947,"context_line":"        print((\"*\" * 40) + \" RESPONSE HEADERS\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F%2BbTY%3D","line":944,"in_reply_to":"AAAAUH%2F%2Bbks%3D","updated":"2014-01-27 00:27:25.000000000","message":"@Akihiro Motoki\n\nthanks for your review :)\n\nplease note that L21: from __future__ import print_function, so the default print in python2.7 has changed. and print() has same effect as print(\"\")\n\nin python2.7 shell\n\n    # python\n    Python 2.7.3 (default, Sep 26 2013, 20:03:06) \n    [GCC 4.6.3] on linux2\n    Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n    \u003e\u003e\u003e from __future__ import print_function\n    \u003e\u003e\u003e print()\n\n    \u003e\u003e\u003e print(\"\")\n\n    \u003e\u003e\u003e\n\nreverify this in a module test:\n\n    # cat /tmp/test.py \n    from __future__ import print_function\n\n    print()\n    print(\u0027end\u0027)\n    # python /tmp/test.py \n\n    end\n\nin python3.3 shell:\n\n    # python3.3\n    Python 3.3.2 (default, Jan 27 2014, 08:18:53) \n    [GCC 4.6.3] on linux\n    Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n    \u003e\u003e\u003e from __future__ import print_function\n    \u003e\u003e\u003e print()\n\n    \u003e\u003e\u003e print(\"\")\n\n    \u003e\u003e\u003e","commit_id":"1b7d7f1878058a40ae1a331b1be2743c3c9a36e1"},{"author":{"_account_id":6676,"name":"zqfan","email":"aji.zqfan@gmail.com","username":"aji-zqfan"},"change_message_id":"930eb303c4293c179182c412c4b49312eff7cfd8","unresolved":false,"context_lines":[{"line_number":941,"context_line":"        print((\"*\" * 40) + \" REQUEST ENVIRON\")"},{"line_number":942,"context_line":"        for key, value in req.environ.items():"},{"line_number":943,"context_line":"            print(key, \"\u003d\", value)"},{"line_number":944,"context_line":"        print()"},{"line_number":945,"context_line":"        resp \u003d req.get_response(self.application)"},{"line_number":946,"context_line":""},{"line_number":947,"context_line":"        print((\"*\" * 40) + \" RESPONSE HEADERS\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F%2BbUc%3D","line":944,"in_reply_to":"AAAAUH%2F%2Bbks%3D","updated":"2014-01-27 00:27:25.000000000","message":"@Salvatore Orlando\n\nI\u0027m not very sure, atthe first glance, I guess maybe the author want to keep the output more clearly, so he/she prints an empty line after ENV, HEADER, and BODY of the response\n\nSince I don\u0027t now the real purpose, and considering this patch aims at enable h233, so I don\u0027t change this.\n\neven today, after a second thought, I still don\u0027t get the point except for style nit.","commit_id":"1b7d7f1878058a40ae1a331b1be2743c3c9a36e1"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"981290500a21f1f1ef6e234902164c2b54e153bb","unresolved":false,"context_lines":[{"line_number":941,"context_line":"        print((\"*\" * 40) + \" REQUEST ENVIRON\")"},{"line_number":942,"context_line":"        for key, value in req.environ.items():"},{"line_number":943,"context_line":"            print(key, \"\u003d\", value)"},{"line_number":944,"context_line":"        print()"},{"line_number":945,"context_line":"        resp \u003d req.get_response(self.application)"},{"line_number":946,"context_line":""},{"line_number":947,"context_line":"        print((\"*\" * 40) + \" RESPONSE HEADERS\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F%2BbiI%3D","line":944,"in_reply_to":"AAAAUH%2F%2Bbks%3D","updated":"2014-01-26 20:56:26.000000000","message":"btw, what would be the point of printing an empty line?","commit_id":"1b7d7f1878058a40ae1a331b1be2743c3c9a36e1"}]}
