)]}'
{"swift/common/utils.py":[{"author":{"_account_id":7233,"name":"Matthew Oliver","email":"matt@oliver.net.au","username":"mattoliverau"},"change_message_id":"9f8271b227e01fb3d9fdc4b76953339f0610e5e7","unresolved":false,"context_lines":[{"line_number":2239,"context_line":"    \"\"\""},{"line_number":2240,"context_line":"    def __init__(self, size_or_pool):"},{"line_number":2241,"context_line":"        \"\"\""},{"line_number":2242,"context_line":"        :param size: size pool of green threads to use"},{"line_number":2243,"context_line":"        \"\"\""},{"line_number":2244,"context_line":"        if isinstance(size_or_pool, GreenPool):"},{"line_number":2245,"context_line":"            self._pool \u003d size_or_pool"}],"source_content_type":"text/x-python","patch_set":3,"id":"1a6ced46_11bcb005","line":2242,"updated":"2015-03-26 05:26:03.000000000","message":"Update param","commit_id":"bca1d9f6b1e511a979f0f577179ba4642c2dc9e5"}],"test/unit/proxy/test_server.py":[{"author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"change_message_id":"4f375797f6a633d6d95eeec83c9e434cb889d42d","unresolved":false,"context_lines":[{"line_number":2078,"context_line":""},{"line_number":2079,"context_line":"        def explodey_ec_app_iter(policy, iterators, *a, **kw):"},{"line_number":2080,"context_line":"            # Each thing in `iterators` here is a document-parts iterator,"},{"line_number":2081,"context_line":"            # and we want to fail after getting a little into each part."},{"line_number":2082,"context_line":"            #"},{"line_number":2083,"context_line":"            # That way, we ensure we\u0027ve started streaming the response to"},{"line_number":2084,"context_line":"            # the client when things go wrong."}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_b91ccc78","line":2081,"updated":"2015-03-25 10:03:51.000000000","message":"Maybe it\u0027s just a small misunderstanding from my side, but it looks like it fails exactly at the segment boundary? Is that intended?\n\nBased on the comment I would expect either less or more bytes than the segment size? Or am I wrong?","commit_id":"5ae940cc88f51a98067af36d1229523c1b763f76"},{"author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"change_message_id":"fd04238a620b3ec87fcbc23ef05c5e740d7054c6","unresolved":false,"context_lines":[{"line_number":2078,"context_line":""},{"line_number":2079,"context_line":"        def explodey_ec_app_iter(policy, iterators, *a, **kw):"},{"line_number":2080,"context_line":"            # Each thing in `iterators` here is a document-parts iterator,"},{"line_number":2081,"context_line":"            # and we want to fail after getting a little into each part."},{"line_number":2082,"context_line":"            #"},{"line_number":2083,"context_line":"            # That way, we ensure we\u0027ve started streaming the response to"},{"line_number":2084,"context_line":"            # the client when things go wrong."}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_cea8c422","line":2081,"in_reply_to":"1a6ced46_1f6da9cc","updated":"2015-03-25 19:50:01.000000000","message":"Yeah, great - it does exactly this, so all of this is fine with me.","commit_id":"5ae940cc88f51a98067af36d1229523c1b763f76"},{"author":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"change_message_id":"e774ebea475518293b38ca5a40fcaa4db1ffe271","unresolved":false,"context_lines":[{"line_number":2078,"context_line":""},{"line_number":2079,"context_line":"        def explodey_ec_app_iter(policy, iterators, *a, **kw):"},{"line_number":2080,"context_line":"            # Each thing in `iterators` here is a document-parts iterator,"},{"line_number":2081,"context_line":"            # and we want to fail after getting a little into each part."},{"line_number":2082,"context_line":"            #"},{"line_number":2083,"context_line":"            # That way, we ensure we\u0027ve started streaming the response to"},{"line_number":2084,"context_line":"            # the client when things go wrong."}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_1f6da9cc","line":2081,"in_reply_to":"1a6ced46_b91ccc78","updated":"2015-03-25 18:48:08.000000000","message":"We\u0027re mocking out the fragment iters to yield exactly one fragment, then fail, so I guess that\u0027ll result in exactly one segment getting yielded.\n\nFor testing the failure handling, it doesn\u0027t really matter what the number of bytes is, so long as it\u0027s at least 1. The goal is to force the response headers and some body out of the socket, then fail.","commit_id":"5ae940cc88f51a98067af36d1229523c1b763f76"}]}
