{"action":"created","comment":{"url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/comments/44978185","id":44978185,"diff_hunk":"@@ -549,12 +569,12 @@ def normalize_whitespace(s):\n     Strips the string and replace all whitespace sequences and other\n     non-printable characters with a single space.\n     \"\"\"\n-    assert isinstance(s, basestring)\n+    assert isinstance(s, six.string_types) or isinstance(s, six.string_types)","path":"synapseclient/utils.py","position":182,"original_position":182,"commit_id":"9fd5a975aa975f1aef4bce77c41df2dfeb8ab9f1","original_commit_id":"be134a15370a18d1925915cc72041077fc26c878","user":{"login":"cbare","id":170360,"avatar_url":"https://avatars.githubusercontent.com/u/170360?v=3","gravatar_id":"","url":"https://api.github.com/users/cbare","html_url":"https://github.com/cbare","followers_url":"https://api.github.com/users/cbare/followers","following_url":"https://api.github.com/users/cbare/following{/other_user}","gists_url":"https://api.github.com/users/cbare/gists{/gist_id}","starred_url":"https://api.github.com/users/cbare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbare/subscriptions","organizations_url":"https://api.github.com/users/cbare/orgs","repos_url":"https://api.github.com/users/cbare/repos","events_url":"https://api.github.com/users/cbare/events{/privacy}","received_events_url":"https://api.github.com/users/cbare/received_events","type":"User","site_admin":false},"body":"huh?","created_at":"2015-11-16T20:29:48Z","updated_at":"2015-11-16T20:29:48Z","html_url":"https://github.com/Sage-Bionetworks/synapsePythonClient/pull/256#discussion_r44978185","pull_request_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/256","_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/comments/44978185"},"html":{"href":"https://github.com/Sage-Bionetworks/synapsePythonClient/pull/256#discussion_r44978185"},"pull_request":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/256"}}},"pull_request":{"url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/256","id":50831878,"html_url":"https://github.com/Sage-Bionetworks/synapsePythonClient/pull/256","diff_url":"https://github.com/Sage-Bionetworks/synapsePythonClient/pull/256.diff","patch_url":"https://github.com/Sage-Bionetworks/synapsePythonClient/pull/256.patch","issue_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues/256","number":256,"state":"open","locked":false,"title":"Python3","user":{"login":"cbare","id":170360,"avatar_url":"https://avatars.githubusercontent.com/u/170360?v=3","gravatar_id":"","url":"https://api.github.com/users/cbare","html_url":"https://github.com/cbare","followers_url":"https://api.github.com/users/cbare/followers","following_url":"https://api.github.com/users/cbare/following{/other_user}","gists_url":"https://api.github.com/users/cbare/gists{/gist_id}","starred_url":"https://api.github.com/users/cbare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbare/subscriptions","organizations_url":"https://api.github.com/users/cbare/orgs","repos_url":"https://api.github.com/users/cbare/repos","events_url":"https://api.github.com/users/cbare/events{/privacy}","received_events_url":"https://api.github.com/users/cbare/received_events","type":"User","site_admin":false},"body":"This branch represents the continuation of the Python 3 compatibility work started by @adrinjalali in PR#150 \"2to3\". We hope to merge Python 3 compatibility into the develop branch after a period of testing.","created_at":"2015-11-16T16:26:31Z","updated_at":"2015-11-16T20:29:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65be28fb7eed3cf8973f2f9ab587e04961d8ae81","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/256/commits","review_comments_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/256/comments","review_comment_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues/256/comments","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/statuses/9fd5a975aa975f1aef4bce77c41df2dfeb8ab9f1","head":{"label":"cbare:python3","ref":"python3","sha":"9fd5a975aa975f1aef4bce77c41df2dfeb8ab9f1","user":{"login":"cbare","id":170360,"avatar_url":"https://avatars.githubusercontent.com/u/170360?v=3","gravatar_id":"","url":"https://api.github.com/users/cbare","html_url":"https://github.com/cbare","followers_url":"https://api.github.com/users/cbare/followers","following_url":"https://api.github.com/users/cbare/following{/other_user}","gists_url":"https://api.github.com/users/cbare/gists{/gist_id}","starred_url":"https://api.github.com/users/cbare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbare/subscriptions","organizations_url":"https://api.github.com/users/cbare/orgs","repos_url":"https://api.github.com/users/cbare/repos","events_url":"https://api.github.com/users/cbare/events{/privacy}","received_events_url":"https://api.github.com/users/cbare/received_events","type":"User","site_admin":false},"repo":{"id":5799950,"name":"synapsePythonClient","full_name":"cbare/synapsePythonClient","owner":{"login":"cbare","id":170360,"avatar_url":"https://avatars.githubusercontent.com/u/170360?v=3","gravatar_id":"","url":"https://api.github.com/users/cbare","html_url":"https://github.com/cbare","followers_url":"https://api.github.com/users/cbare/followers","following_url":"https://api.github.com/users/cbare/following{/other_user}","gists_url":"https://api.github.com/users/cbare/gists{/gist_id}","starred_url":"https://api.github.com/users/cbare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbare/subscriptions","organizations_url":"https://api.github.com/users/cbare/orgs","repos_url":"https://api.github.com/users/cbare/repos","events_url":"https://api.github.com/users/cbare/events{/privacy}","received_events_url":"https://api.github.com/users/cbare/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbare/synapsePythonClient","description":"Programmatic interface to Synapse services for Python. Please visit https://synapse.sagebase.org/ for more information.","fork":true,"url":"https://api.github.com/repos/cbare/synapsePythonClient","forks_url":"https://api.github.com/repos/cbare/synapsePythonClient/forks","keys_url":"https://api.github.com/repos/cbare/synapsePythonClient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbare/synapsePythonClient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbare/synapsePythonClient/teams","hooks_url":"https://api.github.com/repos/cbare/synapsePythonClient/hooks","issue_events_url":"https://api.github.com/repos/cbare/synapsePythonClient/issues/events{/number}","events_url":"https://api.github.com/repos/cbare/synapsePythonClient/events","assignees_url":"https://api.github.com/repos/cbare/synapsePythonClient/assignees{/user}","branches_url":"https://api.github.com/repos/cbare/synapsePythonClient/branches{/branch}","tags_url":"https://api.github.com/repos/cbare/synapsePythonClient/tags","blobs_url":"https://api.github.com/repos/cbare/synapsePythonClient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbare/synapsePythonClient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbare/synapsePythonClient/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbare/synapsePythonClient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbare/synapsePythonClient/statuses/{sha}","languages_url":"https://api.github.com/repos/cbare/synapsePythonClient/languages","stargazers_url":"https://api.github.com/repos/cbare/synapsePythonClient/stargazers","contributors_url":"https://api.github.com/repos/cbare/synapsePythonClient/contributors","subscribers_url":"https://api.github.com/repos/cbare/synapsePythonClient/subscribers","subscription_url":"https://api.github.com/repos/cbare/synapsePythonClient/subscription","commits_url":"https://api.github.com/repos/cbare/synapsePythonClient/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbare/synapsePythonClient/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbare/synapsePythonClient/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbare/synapsePythonClient/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbare/synapsePythonClient/contents/{+path}","compare_url":"https://api.github.com/repos/cbare/synapsePythonClient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbare/synapsePythonClient/merges","archive_url":"https://api.github.com/repos/cbare/synapsePythonClient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbare/synapsePythonClient/downloads","issues_url":"https://api.github.com/repos/cbare/synapsePythonClient/issues{/number}","pulls_url":"https://api.github.com/repos/cbare/synapsePythonClient/pulls{/number}","milestones_url":"https://api.github.com/repos/cbare/synapsePythonClient/milestones{/number}","notifications_url":"https://api.github.com/repos/cbare/synapsePythonClient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbare/synapsePythonClient/labels{/name}","releases_url":"https://api.github.com/repos/cbare/synapsePythonClient/releases{/id}","created_at":"2012-09-13T19:43:45Z","updated_at":"2014-09-30T00:13:09Z","pushed_at":"2015-11-16T20:21:53Z","git_url":"git://github.com/cbare/synapsePythonClient.git","ssh_url":"git@github.com:cbare/synapsePythonClient.git","clone_url":"https://github.com/cbare/synapsePythonClient.git","svn_url":"https://github.com/cbare/synapsePythonClient","homepage":"","size":2772,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"Sage-Bionetworks:python3","ref":"python3","sha":"0fa678a97b3457ef1922b9911a859bc8272090e4","user":{"login":"Sage-Bionetworks","id":1250897,"avatar_url":"https://avatars.githubusercontent.com/u/1250897?v=3","gravatar_id":"","url":"https://api.github.com/users/Sage-Bionetworks","html_url":"https://github.com/Sage-Bionetworks","followers_url":"https://api.github.com/users/Sage-Bionetworks/followers","following_url":"https://api.github.com/users/Sage-Bionetworks/following{/other_user}","gists_url":"https://api.github.com/users/Sage-Bionetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage-Bionetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage-Bionetworks/subscriptions","organizations_url":"https://api.github.com/users/Sage-Bionetworks/orgs","repos_url":"https://api.github.com/users/Sage-Bionetworks/repos","events_url":"https://api.github.com/users/Sage-Bionetworks/events{/privacy}","received_events_url":"https://api.github.com/users/Sage-Bionetworks/received_events","type":"Organization","site_admin":false},"repo":{"id":5497036,"name":"synapsePythonClient","full_name":"Sage-Bionetworks/synapsePythonClient","owner":{"login":"Sage-Bionetworks","id":1250897,"avatar_url":"https://avatars.githubusercontent.com/u/1250897?v=3","gravatar_id":"","url":"https://api.github.com/users/Sage-Bionetworks","html_url":"https://github.com/Sage-Bionetworks","followers_url":"https://api.github.com/users/Sage-Bionetworks/followers","following_url":"https://api.github.com/users/Sage-Bionetworks/following{/other_user}","gists_url":"https://api.github.com/users/Sage-Bionetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage-Bionetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage-Bionetworks/subscriptions","organizations_url":"https://api.github.com/users/Sage-Bionetworks/orgs","repos_url":"https://api.github.com/users/Sage-Bionetworks/repos","events_url":"https://api.github.com/users/Sage-Bionetworks/events{/privacy}","received_events_url":"https://api.github.com/users/Sage-Bionetworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sage-Bionetworks/synapsePythonClient","description":"Programmatic interface to Synapse services for Python","fork":false,"url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient","forks_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/forks","keys_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/teams","hooks_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/hooks","issue_events_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues/events{/number}","events_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/events","assignees_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/assignees{/user}","branches_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/branches{/branch}","tags_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/tags","blobs_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/statuses/{sha}","languages_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/languages","stargazers_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/stargazers","contributors_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/contributors","subscribers_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/subscribers","subscription_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/subscription","commits_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/contents/{+path}","compare_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/merges","archive_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/downloads","issues_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues{/number}","pulls_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls{/number}","milestones_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/milestones{/number}","notifications_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/labels{/name}","releases_url":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/releases{/id}","created_at":"2012-08-21T15:32:00Z","updated_at":"2015-11-09T17:38:41Z","pushed_at":"2015-11-16T20:21:54Z","git_url":"git://github.com/Sage-Bionetworks/synapsePythonClient.git","ssh_url":"git@github.com:Sage-Bionetworks/synapsePythonClient.git","clone_url":"https://github.com/Sage-Bionetworks/synapsePythonClient.git","svn_url":"https://github.com/Sage-Bionetworks/synapsePythonClient","homepage":"https://www.synapse.org","size":3965,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":3,"forks":23,"open_issues":3,"watchers":18,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/256"},"html":{"href":"https://github.com/Sage-Bionetworks/synapsePythonClient/pull/256"},"issue":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues/256"},"comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/issues/256/comments"},"review_comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/256/comments"},"review_comment":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/pulls/256/commits"},"statuses":{"href":"https://api.github.com/repos/Sage-Bionetworks/synapsePythonClient/statuses/9fd5a975aa975f1aef4bce77c41df2dfeb8ab9f1"}}}}