{"action":"created","issue":{"url":"https://api.github.com/repos/ideawu/ssdb/issues/838","labels_url":"https://api.github.com/repos/ideawu/ssdb/issues/838/labels{/name}","comments_url":"https://api.github.com/repos/ideawu/ssdb/issues/838/comments","events_url":"https://api.github.com/repos/ideawu/ssdb/issues/838/events","html_url":"https://github.com/ideawu/ssdb/pull/838","id":121814970,"number":838,"title":"SSDB.py refactoring","user":{"login":"deslum","id":5096014,"avatar_url":"https://avatars.githubusercontent.com/u/5096014?v=3","gravatar_id":"","url":"https://api.github.com/users/deslum","html_url":"https://github.com/deslum","followers_url":"https://api.github.com/users/deslum/followers","following_url":"https://api.github.com/users/deslum/following{/other_user}","gists_url":"https://api.github.com/users/deslum/gists{/gist_id}","starred_url":"https://api.github.com/users/deslum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deslum/subscriptions","organizations_url":"https://api.github.com/users/deslum/orgs","repos_url":"https://api.github.com/users/deslum/repos","events_url":"https://api.github.com/users/deslum/events{/privacy}","received_events_url":"https://api.github.com/users/deslum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-11T23:47:55Z","updated_at":"2015-12-21T03:03:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ideawu/ssdb/pulls/838","html_url":"https://github.com/ideawu/ssdb/pull/838","diff_url":"https://github.com/ideawu/ssdb/pull/838.diff","patch_url":"https://github.com/ideawu/ssdb/pull/838.patch"},"body":"#### Refactoring\r\n\r\n* Remove excess **pass** statements\r\n* Compare long **if...or** on list \r\n\r\n       `if cmd in ['zscan','zrscan','zrange','zrrange','zpop_front','zpop_back']:`\r\n\r\n* Delete excess conversions str(), typle()\r\n\r\nCode tested on demo.py and my home project"},"comment":{"url":"https://api.github.com/repos/ideawu/ssdb/issues/comments/166184828","html_url":"https://github.com/ideawu/ssdb/pull/838#issuecomment-166184828","issue_url":"https://api.github.com/repos/ideawu/ssdb/issues/838","id":166184828,"user":{"login":"ideawu","id":3202758,"avatar_url":"https://avatars.githubusercontent.com/u/3202758?v=3","gravatar_id":"","url":"https://api.github.com/users/ideawu","html_url":"https://github.com/ideawu","followers_url":"https://api.github.com/users/ideawu/followers","following_url":"https://api.github.com/users/ideawu/following{/other_user}","gists_url":"https://api.github.com/users/ideawu/gists{/gist_id}","starred_url":"https://api.github.com/users/ideawu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ideawu/subscriptions","organizations_url":"https://api.github.com/users/ideawu/orgs","repos_url":"https://api.github.com/users/ideawu/repos","events_url":"https://api.github.com/users/ideawu/events{/privacy}","received_events_url":"https://api.github.com/users/ideawu/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T03:03:02Z","updated_at":"2015-12-21T03:03:02Z","body":"Hi, @deslum:\r\n\r\n1. the recommented way to use SSDB.py is to create separated connection for each thread/process.\r\n2. you choose your way.\r\n3. the parse() do return list or null.\r\n\r\nI think you can create a new repository to develop, I would like to add you repository to the client list at: http://ssdb.io/docs/clients.html"}}