{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/python-client/issues/209","repository_url":"https://api.github.com/repos/neovim/python-client","labels_url":"https://api.github.com/repos/neovim/python-client/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/neovim/python-client/issues/209/comments","events_url":"https://api.github.com/repos/neovim/python-client/issues/209/events","html_url":"https://github.com/neovim/python-client/pull/209","id":158745422,"number":209,"title":"vim.buffers is a map not a list.","user":{"login":"asankah","id":157769,"avatar_url":"https://avatars.githubusercontent.com/u/157769?v=3","gravatar_id":"","url":"https://api.github.com/users/asankah","html_url":"https://github.com/asankah","followers_url":"https://api.github.com/users/asankah/followers","following_url":"https://api.github.com/users/asankah/following{/other_user}","gists_url":"https://api.github.com/users/asankah/gists{/gist_id}","starred_url":"https://api.github.com/users/asankah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asankah/subscriptions","organizations_url":"https://api.github.com/users/asankah/orgs","repos_url":"https://api.github.com/users/asankah/repos","events_url":"https://api.github.com/users/asankah/events{/privacy}","received_events_url":"https://api.github.com/users/asankah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-06-06T18:40:27Z","updated_at":"2016-06-14T11:35:14Z","closed_at":"2016-06-08T21:59:48Z","pull_request":{"url":"https://api.github.com/repos/neovim/python-client/pulls/209","html_url":"https://github.com/neovim/python-client/pull/209","diff_url":"https://github.com/neovim/python-client/pull/209.diff","patch_url":"https://github.com/neovim/python-client/pull/209.patch"},"body":"`python-buffers` describes `vim.buffers` as a mapping object. `python-buffer`\r\ndocuments that `b.number` where `b` is a Buffer object can be used as a\r\n`python-buffers` key. I.e. `b == vim.buffers[b.number]` should be true if `b`\r\nis a valid buffer object.\r\n\r\n`nvim.py` was implementing `vim.buffers` as a `RemoteSequence` which doesn't\r\nprovide the aforementioned properties. This change implements it as a\r\n`RemoteSequenceAsMap` object instead. The latter is a new class that\r\nallows a sequence returned via a single msgpack-rpc call to be exposed\r\nto Python as a map."},"comment":{"url":"https://api.github.com/repos/neovim/python-client/issues/comments/225854956","html_url":"https://github.com/neovim/python-client/pull/209#issuecomment-225854956","issue_url":"https://api.github.com/repos/neovim/python-client/issues/209","id":225854956,"user":{"login":"asankah","id":157769,"avatar_url":"https://avatars.githubusercontent.com/u/157769?v=3","gravatar_id":"","url":"https://api.github.com/users/asankah","html_url":"https://github.com/asankah","followers_url":"https://api.github.com/users/asankah/followers","following_url":"https://api.github.com/users/asankah/following{/other_user}","gists_url":"https://api.github.com/users/asankah/gists{/gist_id}","starred_url":"https://api.github.com/users/asankah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asankah/subscriptions","organizations_url":"https://api.github.com/users/asankah/orgs","repos_url":"https://api.github.com/users/asankah/repos","events_url":"https://api.github.com/users/asankah/events{/privacy}","received_events_url":"https://api.github.com/users/asankah/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T11:35:13Z","updated_at":"2016-06-14T11:35:13Z","body":"@ianks : Which version? The change should be in 0.1.9."}}
{"actor":{"display_login":"asankah"}}