{"action":"created","issue":{"url":"https://api.github.com/repos/pandas-dev/pandas2/issues/40","repository_url":"https://api.github.com/repos/pandas-dev/pandas2","labels_url":"https://api.github.com/repos/pandas-dev/pandas2/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/pandas-dev/pandas2/issues/40/comments","events_url":"https://api.github.com/repos/pandas-dev/pandas2/issues/40/events","html_url":"https://github.com/pandas-dev/pandas2/pull/40","id":182657552,"number":40,"title":"Prototype array view interface, buffer copying","user":{"login":"wesm","id":329591,"avatar_url":"https://avatars.githubusercontent.com/u/329591?v=3","gravatar_id":"","url":"https://api.github.com/users/wesm","html_url":"https://github.com/wesm","followers_url":"https://api.github.com/users/wesm/followers","following_url":"https://api.github.com/users/wesm/following{/other_user}","gists_url":"https://api.github.com/users/wesm/gists{/gist_id}","starred_url":"https://api.github.com/users/wesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesm/subscriptions","organizations_url":"https://api.github.com/users/wesm/orgs","repos_url":"https://api.github.com/users/wesm/repos","events_url":"https://api.github.com/users/wesm/events{/privacy}","received_events_url":"https://api.github.com/users/wesm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-12T23:16:28Z","updated_at":"2016-10-15T14:06:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pandas-dev/pandas2/pulls/40","html_url":"https://github.com/pandas-dev/pandas2/pull/40","diff_url":"https://github.com/pandas-dev/pandas2/pull/40.diff","patch_url":"https://github.com/pandas-dev/pandas2/pull/40.patch"},"body":"Please leave code comments on Gerrit: https://review.gerrithub.io/#/c/298035/"},"comment":{"url":"https://api.github.com/repos/pandas-dev/pandas2/issues/comments/253986334","html_url":"https://github.com/pandas-dev/pandas2/pull/40#issuecomment-253986334","issue_url":"https://api.github.com/repos/pandas-dev/pandas2/issues/40","id":253986334,"user":{"login":"leifwalsh","id":46406,"avatar_url":"https://avatars.githubusercontent.com/u/46406?v=3","gravatar_id":"","url":"https://api.github.com/users/leifwalsh","html_url":"https://github.com/leifwalsh","followers_url":"https://api.github.com/users/leifwalsh/followers","following_url":"https://api.github.com/users/leifwalsh/following{/other_user}","gists_url":"https://api.github.com/users/leifwalsh/gists{/gist_id}","starred_url":"https://api.github.com/users/leifwalsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leifwalsh/subscriptions","organizations_url":"https://api.github.com/users/leifwalsh/orgs","repos_url":"https://api.github.com/users/leifwalsh/repos","events_url":"https://api.github.com/users/leifwalsh/events{/privacy}","received_events_url":"https://api.github.com/users/leifwalsh/received_events","type":"User","site_admin":false},"created_at":"2016-10-15T14:06:05Z","updated_at":"2016-10-15T14:06:05Z","body":"> This is a slippery slope.\r\n\r\n...that leads to what? \r\n\r\nI'm concerned with programming errors where you forget to call EnsureMutable but then use the mutating parts of the API anyway. Rather than calling a side-effecting method that makes sure the object you had was mutable, I'd rather you call a function that gives you a new \"value\" which *is* mutable. When you're done mutating and you want to make more views without copying, you can use the move constructor of the immutable view to ensure that the programmer gives up the right to mutate. The Buffer/MutableBuffer split in arrow sounds exactly like this, why would pandas not want this? "}}
{"actor":{"display_login":"leifwalsh"}}