{"action":"created","issue":{"url":"https://api.github.com/repos/rackerlabs/silverberg/issues/55","labels_url":"https://api.github.com/repos/rackerlabs/silverberg/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/rackerlabs/silverberg/issues/55/comments","events_url":"https://api.github.com/repos/rackerlabs/silverberg/issues/55/events","html_url":"https://github.com/rackerlabs/silverberg/pull/55","id":68873155,"number":55,"title":"marshals set type","user":{"login":"TimothyZhang","id":2084580,"avatar_url":"https://avatars.githubusercontent.com/u/2084580?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyZhang","html_url":"https://github.com/TimothyZhang","followers_url":"https://api.github.com/users/TimothyZhang/followers","following_url":"https://api.github.com/users/TimothyZhang/following{/other_user}","gists_url":"https://api.github.com/users/TimothyZhang/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyZhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyZhang/subscriptions","organizations_url":"https://api.github.com/users/TimothyZhang/orgs","repos_url":"https://api.github.com/users/TimothyZhang/repos","events_url":"https://api.github.com/users/TimothyZhang/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyZhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-16T08:32:38Z","updated_at":"2015-04-17T09:26:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rackerlabs/silverberg/pulls/55","html_url":"https://github.com/rackerlabs/silverberg/pull/55","diff_url":"https://github.com/rackerlabs/silverberg/pull/55.diff","patch_url":"https://github.com/rackerlabs/silverberg/pull/55.patch"},"body":"#53 complains that set type is not well marshalled. I figured out it's because python str representation of set type is not what cassandra needs.\r\npython str() produces:\r\n```\r\n>>> s = {1, 2, 3}\r\n>>> str(s)\r\n'set([1, 2, 3])'\r\n```\r\nbut cassandra wants `{1, 2, 3}`. So we have to marshal set elements one by one."},"comment":{"url":"https://api.github.com/repos/rackerlabs/silverberg/issues/comments/93951524","html_url":"https://github.com/rackerlabs/silverberg/pull/55#issuecomment-93951524","issue_url":"https://api.github.com/repos/rackerlabs/silverberg/issues/55","id":93951524,"user":{"login":"TimothyZhang","id":2084580,"avatar_url":"https://avatars.githubusercontent.com/u/2084580?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyZhang","html_url":"https://github.com/TimothyZhang","followers_url":"https://api.github.com/users/TimothyZhang/followers","following_url":"https://api.github.com/users/TimothyZhang/following{/other_user}","gists_url":"https://api.github.com/users/TimothyZhang/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyZhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyZhang/subscriptions","organizations_url":"https://api.github.com/users/TimothyZhang/orgs","repos_url":"https://api.github.com/users/TimothyZhang/repos","events_url":"https://api.github.com/users/TimothyZhang/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyZhang/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T09:26:49Z","updated_at":"2015-04-17T09:26:49Z","body":"hi @cyli I resolved the conflict. And also added code to marshal `set` type, originally only `sortedset` was marshaled, but I think `set` should be marshaled too."}}