{"action":"created","comment":{"url":"https://api.github.com/repos/ipython/ipython/pulls/comments/23866346","id":23866346,"diff_hunk":"@@ -80,7 +80,8 @@ def check_widgets(container, **to_check):\n     # build a widget dictionary, so it matches\n     widgets = {}\n     for w in container.children:\n-        widgets[w.description] = w\n+        if hasattr(w, 'description'):\n+            widgets[w.description] = w","path":"IPython/html/widgets/tests/test_interaction.py","position":6,"original_position":6,"commit_id":"79b63be3b2a10007995818b309c26091c0d4928a","original_commit_id":"79b63be3b2a10007995818b309c26091c0d4928a","user":{"login":"jdfreder","id":3292874,"avatar_url":"https://avatars.githubusercontent.com/u/3292874?v=3","gravatar_id":"","url":"https://api.github.com/users/jdfreder","html_url":"https://github.com/jdfreder","followers_url":"https://api.github.com/users/jdfreder/followers","following_url":"https://api.github.com/users/jdfreder/following{/other_user}","gists_url":"https://api.github.com/users/jdfreder/gists{/gist_id}","starred_url":"https://api.github.com/users/jdfreder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdfreder/subscriptions","organizations_url":"https://api.github.com/users/jdfreder/orgs","repos_url":"https://api.github.com/users/jdfreder/repos","events_url":"https://api.github.com/users/jdfreder/events{/privacy}","received_events_url":"https://api.github.com/users/jdfreder/received_events","type":"User","site_admin":false},"body":"It shouldn't be a problem, widgets without descriptions cause this code (without the check) to barf, so they can't be included as-is.","created_at":"2015-01-30T19:36:43Z","updated_at":"2015-01-30T19:36:43Z","html_url":"https://github.com/ipython/ipython/pull/7554#discussion_r23866346","pull_request_url":"https://api.github.com/repos/ipython/ipython/pulls/7554","_links":{"self":{"href":"https://api.github.com/repos/ipython/ipython/pulls/comments/23866346"},"html":{"href":"https://github.com/ipython/ipython/pull/7554#discussion_r23866346"},"pull_request":{"href":"https://api.github.com/repos/ipython/ipython/pulls/7554"}}},"pull_request":{"url":"https://api.github.com/repos/ipython/ipython/pulls/7554","id":27953027,"html_url":"https://github.com/ipython/ipython/pull/7554","diff_url":"https://github.com/ipython/ipython/pull/7554.diff","patch_url":"https://github.com/ipython/ipython/pull/7554.patch","issue_url":"https://api.github.com/repos/ipython/ipython/issues/7554","number":7554,"state":"open","locked":false,"title":"Use Output widget with Interact","user":{"login":"jdfreder","id":3292874,"avatar_url":"https://avatars.githubusercontent.com/u/3292874?v=3","gravatar_id":"","url":"https://api.github.com/users/jdfreder","html_url":"https://github.com/jdfreder","followers_url":"https://api.github.com/users/jdfreder/followers","following_url":"https://api.github.com/users/jdfreder/following{/other_user}","gists_url":"https://api.github.com/users/jdfreder/gists{/gist_id}","starred_url":"https://api.github.com/users/jdfreder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdfreder/subscriptions","organizations_url":"https://api.github.com/users/jdfreder/orgs","repos_url":"https://api.github.com/users/jdfreder/repos","events_url":"https://api.github.com/users/jdfreder/events{/privacy}","received_events_url":"https://api.github.com/users/jdfreder/received_events","type":"User","site_admin":false},"body":"closes #6534\r\nalternative to #7482\r\n\r\nPing @jasongrout who was also interested in this solution.\r\n\r\nAlso this fixes a small bug in which`get_ipython` is not defined in the context where the Output widget is `__enter__`ed.","created_at":"2015-01-23T20:32:03Z","updated_at":"2015-01-30T19:36:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe6de03ea196539aa225cc40ad15386b80f97228","assignee":null,"milestone":{"url":"https://api.github.com/repos/ipython/ipython/milestones/13","labels_url":"https://api.github.com/repos/ipython/ipython/milestones/13/labels","id":532467,"number":13,"title":"3.0","description":"IPython 3.0 \"Early\" 2015","creator":{"login":"Carreau","id":335567,"avatar_url":"https://avatars.githubusercontent.com/u/335567?v=3","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":1289,"state":"open","created_at":"2014-01-10T13:22:15Z","updated_at":"2015-01-30T18:33:31Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/ipython/ipython/pulls/7554/commits","review_comments_url":"https://api.github.com/repos/ipython/ipython/pulls/7554/comments","review_comment_url":"https://api.github.com/repos/ipython/ipython/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/7554/comments","statuses_url":"https://api.github.com/repos/ipython/ipython/statuses/79b63be3b2a10007995818b309c26091c0d4928a","head":{"label":"jdfreder:interact-fix","ref":"interact-fix","sha":"79b63be3b2a10007995818b309c26091c0d4928a","user":{"login":"jdfreder","id":3292874,"avatar_url":"https://avatars.githubusercontent.com/u/3292874?v=3","gravatar_id":"","url":"https://api.github.com/users/jdfreder","html_url":"https://github.com/jdfreder","followers_url":"https://api.github.com/users/jdfreder/followers","following_url":"https://api.github.com/users/jdfreder/following{/other_user}","gists_url":"https://api.github.com/users/jdfreder/gists{/gist_id}","starred_url":"https://api.github.com/users/jdfreder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdfreder/subscriptions","organizations_url":"https://api.github.com/users/jdfreder/orgs","repos_url":"https://api.github.com/users/jdfreder/repos","events_url":"https://api.github.com/users/jdfreder/events{/privacy}","received_events_url":"https://api.github.com/users/jdfreder/received_events","type":"User","site_admin":false},"repo":{"id":7768091,"name":"ipython","full_name":"jdfreder/ipython","owner":{"login":"jdfreder","id":3292874,"avatar_url":"https://avatars.githubusercontent.com/u/3292874?v=3","gravatar_id":"","url":"https://api.github.com/users/jdfreder","html_url":"https://github.com/jdfreder","followers_url":"https://api.github.com/users/jdfreder/followers","following_url":"https://api.github.com/users/jdfreder/following{/other_user}","gists_url":"https://api.github.com/users/jdfreder/gists{/gist_id}","starred_url":"https://api.github.com/users/jdfreder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdfreder/subscriptions","organizations_url":"https://api.github.com/users/jdfreder/orgs","repos_url":"https://api.github.com/users/jdfreder/repos","events_url":"https://api.github.com/users/jdfreder/events{/privacy}","received_events_url":"https://api.github.com/users/jdfreder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jdfreder/ipython","description":"Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.","fork":true,"url":"https://api.github.com/repos/jdfreder/ipython","forks_url":"https://api.github.com/repos/jdfreder/ipython/forks","keys_url":"https://api.github.com/repos/jdfreder/ipython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdfreder/ipython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdfreder/ipython/teams","hooks_url":"https://api.github.com/repos/jdfreder/ipython/hooks","issue_events_url":"https://api.github.com/repos/jdfreder/ipython/issues/events{/number}","events_url":"https://api.github.com/repos/jdfreder/ipython/events","assignees_url":"https://api.github.com/repos/jdfreder/ipython/assignees{/user}","branches_url":"https://api.github.com/repos/jdfreder/ipython/branches{/branch}","tags_url":"https://api.github.com/repos/jdfreder/ipython/tags","blobs_url":"https://api.github.com/repos/jdfreder/ipython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdfreder/ipython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdfreder/ipython/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdfreder/ipython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdfreder/ipython/statuses/{sha}","languages_url":"https://api.github.com/repos/jdfreder/ipython/languages","stargazers_url":"https://api.github.com/repos/jdfreder/ipython/stargazers","contributors_url":"https://api.github.com/repos/jdfreder/ipython/contributors","subscribers_url":"https://api.github.com/repos/jdfreder/ipython/subscribers","subscription_url":"https://api.github.com/repos/jdfreder/ipython/subscription","commits_url":"https://api.github.com/repos/jdfreder/ipython/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdfreder/ipython/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdfreder/ipython/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdfreder/ipython/issues/comments/{number}","contents_url":"https://api.github.com/repos/jdfreder/ipython/contents/{+path}","compare_url":"https://api.github.com/repos/jdfreder/ipython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdfreder/ipython/merges","archive_url":"https://api.github.com/repos/jdfreder/ipython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdfreder/ipython/downloads","issues_url":"https://api.github.com/repos/jdfreder/ipython/issues{/number}","pulls_url":"https://api.github.com/repos/jdfreder/ipython/pulls{/number}","milestones_url":"https://api.github.com/repos/jdfreder/ipython/milestones{/number}","notifications_url":"https://api.github.com/repos/jdfreder/ipython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdfreder/ipython/labels{/name}","releases_url":"https://api.github.com/repos/jdfreder/ipython/releases{/id}","created_at":"2013-01-23T05:05:43Z","updated_at":"2015-01-29T22:32:25Z","pushed_at":"2015-01-29T22:32:25Z","git_url":"git://github.com/jdfreder/ipython.git","ssh_url":"git@github.com:jdfreder/ipython.git","clone_url":"https://github.com/jdfreder/ipython.git","svn_url":"https://github.com/jdfreder/ipython","homepage":"http://ipython.org","size":69802,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"ipython:master","ref":"master","sha":"ea6167e85540a9e1361ab8777eeab5220f4cb1bd","user":{"login":"ipython","id":230453,"avatar_url":"https://avatars.githubusercontent.com/u/230453?v=3","gravatar_id":"","url":"https://api.github.com/users/ipython","html_url":"https://github.com/ipython","followers_url":"https://api.github.com/users/ipython/followers","following_url":"https://api.github.com/users/ipython/following{/other_user}","gists_url":"https://api.github.com/users/ipython/gists{/gist_id}","starred_url":"https://api.github.com/users/ipython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipython/subscriptions","organizations_url":"https://api.github.com/users/ipython/orgs","repos_url":"https://api.github.com/users/ipython/repos","events_url":"https://api.github.com/users/ipython/events{/privacy}","received_events_url":"https://api.github.com/users/ipython/received_events","type":"Organization","site_admin":false},"repo":{"id":658518,"name":"ipython","full_name":"ipython/ipython","owner":{"login":"ipython","id":230453,"avatar_url":"https://avatars.githubusercontent.com/u/230453?v=3","gravatar_id":"","url":"https://api.github.com/users/ipython","html_url":"https://github.com/ipython","followers_url":"https://api.github.com/users/ipython/followers","following_url":"https://api.github.com/users/ipython/following{/other_user}","gists_url":"https://api.github.com/users/ipython/gists{/gist_id}","starred_url":"https://api.github.com/users/ipython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipython/subscriptions","organizations_url":"https://api.github.com/users/ipython/orgs","repos_url":"https://api.github.com/users/ipython/repos","events_url":"https://api.github.com/users/ipython/events{/privacy}","received_events_url":"https://api.github.com/users/ipython/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipython/ipython","description":"Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.","fork":false,"url":"https://api.github.com/repos/ipython/ipython","forks_url":"https://api.github.com/repos/ipython/ipython/forks","keys_url":"https://api.github.com/repos/ipython/ipython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipython/ipython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipython/ipython/teams","hooks_url":"https://api.github.com/repos/ipython/ipython/hooks","issue_events_url":"https://api.github.com/repos/ipython/ipython/issues/events{/number}","events_url":"https://api.github.com/repos/ipython/ipython/events","assignees_url":"https://api.github.com/repos/ipython/ipython/assignees{/user}","branches_url":"https://api.github.com/repos/ipython/ipython/branches{/branch}","tags_url":"https://api.github.com/repos/ipython/ipython/tags","blobs_url":"https://api.github.com/repos/ipython/ipython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipython/ipython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipython/ipython/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipython/ipython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipython/ipython/statuses/{sha}","languages_url":"https://api.github.com/repos/ipython/ipython/languages","stargazers_url":"https://api.github.com/repos/ipython/ipython/stargazers","contributors_url":"https://api.github.com/repos/ipython/ipython/contributors","subscribers_url":"https://api.github.com/repos/ipython/ipython/subscribers","subscription_url":"https://api.github.com/repos/ipython/ipython/subscription","commits_url":"https://api.github.com/repos/ipython/ipython/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipython/ipython/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipython/ipython/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipython/ipython/issues/comments/{number}","contents_url":"https://api.github.com/repos/ipython/ipython/contents/{+path}","compare_url":"https://api.github.com/repos/ipython/ipython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipython/ipython/merges","archive_url":"https://api.github.com/repos/ipython/ipython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipython/ipython/downloads","issues_url":"https://api.github.com/repos/ipython/ipython/issues{/number}","pulls_url":"https://api.github.com/repos/ipython/ipython/pulls{/number}","milestones_url":"https://api.github.com/repos/ipython/ipython/milestones{/number}","notifications_url":"https://api.github.com/repos/ipython/ipython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipython/ipython/labels{/name}","releases_url":"https://api.github.com/repos/ipython/ipython/releases{/id}","created_at":"2010-05-10T04:46:06Z","updated_at":"2015-01-30T19:15:31Z","pushed_at":"2015-01-30T18:33:31Z","git_url":"git://github.com/ipython/ipython.git","ssh_url":"git@github.com:ipython/ipython.git","clone_url":"https://github.com/ipython/ipython.git","svn_url":"https://github.com/ipython/ipython","homepage":"http://ipython.org","size":104830,"stargazers_count":5613,"watchers_count":5613,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1679,"mirror_url":null,"open_issues_count":753,"forks":1679,"open_issues":753,"watchers":5613,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipython/ipython/pulls/7554"},"html":{"href":"https://github.com/ipython/ipython/pull/7554"},"issue":{"href":"https://api.github.com/repos/ipython/ipython/issues/7554"},"comments":{"href":"https://api.github.com/repos/ipython/ipython/issues/7554/comments"},"review_comments":{"href":"https://api.github.com/repos/ipython/ipython/pulls/7554/comments"},"review_comment":{"href":"https://api.github.com/repos/ipython/ipython/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ipython/ipython/pulls/7554/commits"},"statuses":{"href":"https://api.github.com/repos/ipython/ipython/statuses/79b63be3b2a10007995818b309c26091c0d4928a"}}}}