{"action":"created","issue":{"url":"https://api.github.com/repos/tornadoweb/tornado/issues/2008","repository_url":"https://api.github.com/repos/tornadoweb/tornado","labels_url":"https://api.github.com/repos/tornadoweb/tornado/issues/2008/labels{/name}","comments_url":"https://api.github.com/repos/tornadoweb/tornado/issues/2008/comments","events_url":"https://api.github.com/repos/tornadoweb/tornado/issues/2008/events","html_url":"https://github.com/tornadoweb/tornado/pull/2008","id":221203032,"number":2008,"title":"iostream: Fix unreleased memoryview","user":{"login":"methane","id":199592,"avatar_url":"https://avatars2.githubusercontent.com/u/199592?v=4","gravatar_id":"","url":"https://api.github.com/users/methane","html_url":"https://github.com/methane","followers_url":"https://api.github.com/users/methane/followers","following_url":"https://api.github.com/users/methane/following{/other_user}","gists_url":"https://api.github.com/users/methane/gists{/gist_id}","starred_url":"https://api.github.com/users/methane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/methane/subscriptions","organizations_url":"https://api.github.com/users/methane/orgs","repos_url":"https://api.github.com/users/methane/repos","events_url":"https://api.github.com/users/methane/events{/privacy}","received_events_url":"https://api.github.com/users/methane/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":34,"created_at":"2017-04-12T09:28:03Z","updated_at":"2018-03-16T00:32:26Z","closed_at":"2017-04-15T13:03:48Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/tornadoweb/tornado/pulls/2008","html_url":"https://github.com/tornadoweb/tornado/pull/2008","diff_url":"https://github.com/tornadoweb/tornado/pull/2008.diff","patch_url":"https://github.com/tornadoweb/tornado/pull/2008.patch"},"body":"memoryview should be released explicitly.  Otherwise, a bytearray\nholded by the memoryview is not resizable until GC.\n\nSee also: https://bugs.python.org/issue29178"},"comment":{"url":"https://api.github.com/repos/tornadoweb/tornado/issues/comments/373565850","html_url":"https://github.com/tornadoweb/tornado/pull/2008#issuecomment-373565850","issue_url":"https://api.github.com/repos/tornadoweb/tornado/issues/2008","id":373565850,"user":{"login":"aayla-secura","id":9867046,"avatar_url":"https://avatars3.githubusercontent.com/u/9867046?v=4","gravatar_id":"","url":"https://api.github.com/users/aayla-secura","html_url":"https://github.com/aayla-secura","followers_url":"https://api.github.com/users/aayla-secura/followers","following_url":"https://api.github.com/users/aayla-secura/following{/other_user}","gists_url":"https://api.github.com/users/aayla-secura/gists{/gist_id}","starred_url":"https://api.github.com/users/aayla-secura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aayla-secura/subscriptions","organizations_url":"https://api.github.com/users/aayla-secura/orgs","repos_url":"https://api.github.com/users/aayla-secura/repos","events_url":"https://api.github.com/users/aayla-secura/events{/privacy}","received_events_url":"https://api.github.com/users/aayla-secura/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T00:32:26Z","updated_at":"2018-03-16T00:32:26Z","author_association":"NONE","body":"I am seeing the exact same AssertionError as @jeffreydwalter with python 3.6 and tornado 4.5.3. It only happens when I am updating the document (from a callback called from another thread via `session_context.with_locked_document`) at a very high rate (several times a second). And it happens at random times. It doesn't happen if I add a delay and limit the rate at which the callback is executed, or if I don't change anything in the document from within the callback. I'm wondering if `session_context.with_locked_document` is not the right way to update a session's document from another thread."}}
{"actor":{"display_login":"aayla-secura"}}