{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/cpcloud/ipython-autotime/pulls/4","id":44642459,"html_url":"https://github.com/cpcloud/ipython-autotime/pull/4","diff_url":"https://github.com/cpcloud/ipython-autotime/pull/4.diff","patch_url":"https://github.com/cpcloud/ipython-autotime/pull/4.patch","issue_url":"https://api.github.com/repos/cpcloud/ipython-autotime/issues/4","number":4,"state":"closed","locked":false,"title":"Bug fix: fast commands fail the assert","user":{"login":"MatthieuBizien","id":173090,"avatar_url":"https://avatars.githubusercontent.com/u/173090?v=3","gravatar_id":"","url":"https://api.github.com/users/MatthieuBizien","html_url":"https://github.com/MatthieuBizien","followers_url":"https://api.github.com/users/MatthieuBizien/followers","following_url":"https://api.github.com/users/MatthieuBizien/following{/other_user}","gists_url":"https://api.github.com/users/MatthieuBizien/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthieuBizien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthieuBizien/subscriptions","organizations_url":"https://api.github.com/users/MatthieuBizien/orgs","repos_url":"https://api.github.com/users/MatthieuBizien/repos","events_url":"https://api.github.com/users/MatthieuBizien/events{/privacy}","received_events_url":"https://api.github.com/users/MatthieuBizien/received_events","type":"User","site_admin":false},"body":"Example:\r\n\r\nIn [3]:x=1\r\n\r\nError in callback <bound method LineWatcher.stop of <autotime.LineWatcher object at 0x0000000004445F28>> (for post_run_cell):\r\n---------------------------------------------------------------------------\r\nAssertionError                            Traceback (most recent call last)\r\nC:\\Users\\mbz\\.ipython\\extensions\\autotime.py in stop(self)\r\n     23         if self.start_time:\r\n     24             diff = time.time() - self.start_time\r\n---> 25             assert diff > 0\r\n     26             print('time: %s' % format_delta(diff))\r\n     27 \r\n\r\nAssertionError:","created_at":"2015-09-10T08:55:25Z","updated_at":"2015-09-10T08:56:08Z","closed_at":"2015-09-10T08:56:08Z","merged_at":null,"merge_commit_sha":"1949cdf0d54521151d6d9fdde1f8010161edc1b6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cpcloud/ipython-autotime/pulls/4/commits","review_comments_url":"https://api.github.com/repos/cpcloud/ipython-autotime/pulls/4/comments","review_comment_url":"https://api.github.com/repos/cpcloud/ipython-autotime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cpcloud/ipython-autotime/issues/4/comments","statuses_url":"https://api.github.com/repos/cpcloud/ipython-autotime/statuses/a8216b8ec4a85f13933646fdb884ce59e1f4c6bf","head":{"label":"MatthieuBizien:patch-1","ref":"patch-1","sha":"a8216b8ec4a85f13933646fdb884ce59e1f4c6bf","user":{"login":"MatthieuBizien","id":173090,"avatar_url":"https://avatars.githubusercontent.com/u/173090?v=3","gravatar_id":"","url":"https://api.github.com/users/MatthieuBizien","html_url":"https://github.com/MatthieuBizien","followers_url":"https://api.github.com/users/MatthieuBizien/followers","following_url":"https://api.github.com/users/MatthieuBizien/following{/other_user}","gists_url":"https://api.github.com/users/MatthieuBizien/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthieuBizien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthieuBizien/subscriptions","organizations_url":"https://api.github.com/users/MatthieuBizien/orgs","repos_url":"https://api.github.com/users/MatthieuBizien/repos","events_url":"https://api.github.com/users/MatthieuBizien/events{/privacy}","received_events_url":"https://api.github.com/users/MatthieuBizien/received_events","type":"User","site_admin":false},"repo":{"id":42233472,"name":"ipython-autotime","full_name":"MatthieuBizien/ipython-autotime","owner":{"login":"MatthieuBizien","id":173090,"avatar_url":"https://avatars.githubusercontent.com/u/173090?v=3","gravatar_id":"","url":"https://api.github.com/users/MatthieuBizien","html_url":"https://github.com/MatthieuBizien","followers_url":"https://api.github.com/users/MatthieuBizien/followers","following_url":"https://api.github.com/users/MatthieuBizien/following{/other_user}","gists_url":"https://api.github.com/users/MatthieuBizien/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthieuBizien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthieuBizien/subscriptions","organizations_url":"https://api.github.com/users/MatthieuBizien/orgs","repos_url":"https://api.github.com/users/MatthieuBizien/repos","events_url":"https://api.github.com/users/MatthieuBizien/events{/privacy}","received_events_url":"https://api.github.com/users/MatthieuBizien/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MatthieuBizien/ipython-autotime","description":"Time everything in IPython","fork":true,"url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime","forks_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/forks","keys_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/teams","hooks_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/hooks","issue_events_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/issues/events{/number}","events_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/events","assignees_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/assignees{/user}","branches_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/branches{/branch}","tags_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/tags","blobs_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/git/refs{/sha}","trees_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/statuses/{sha}","languages_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/languages","stargazers_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/stargazers","contributors_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/contributors","subscribers_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/subscribers","subscription_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/subscription","commits_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/commits{/sha}","git_commits_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/git/commits{/sha}","comments_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/comments{/number}","issue_comment_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/issues/comments{/number}","contents_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/contents/{+path}","compare_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/merges","archive_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/downloads","issues_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/issues{/number}","pulls_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/pulls{/number}","milestones_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/milestones{/number}","notifications_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/labels{/name}","releases_url":"https://api.github.com/repos/MatthieuBizien/ipython-autotime/releases{/id}","created_at":"2015-09-10T08:53:05Z","updated_at":"2015-09-10T08:53:05Z","pushed_at":"2015-09-10T08:55:18Z","git_url":"git://github.com/MatthieuBizien/ipython-autotime.git","ssh_url":"git@github.com:MatthieuBizien/ipython-autotime.git","clone_url":"https://github.com/MatthieuBizien/ipython-autotime.git","svn_url":"https://github.com/MatthieuBizien/ipython-autotime","homepage":null,"size":136,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"cpcloud:master","ref":"master","sha":"878c6ad6333666179275e41e1cf2edb4c86ff99c","user":{"login":"cpcloud","id":417981,"avatar_url":"https://avatars.githubusercontent.com/u/417981?v=3","gravatar_id":"","url":"https://api.github.com/users/cpcloud","html_url":"https://github.com/cpcloud","followers_url":"https://api.github.com/users/cpcloud/followers","following_url":"https://api.github.com/users/cpcloud/following{/other_user}","gists_url":"https://api.github.com/users/cpcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/cpcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpcloud/subscriptions","organizations_url":"https://api.github.com/users/cpcloud/orgs","repos_url":"https://api.github.com/users/cpcloud/repos","events_url":"https://api.github.com/users/cpcloud/events{/privacy}","received_events_url":"https://api.github.com/users/cpcloud/received_events","type":"User","site_admin":false},"repo":{"id":37021089,"name":"ipython-autotime","full_name":"cpcloud/ipython-autotime","owner":{"login":"cpcloud","id":417981,"avatar_url":"https://avatars.githubusercontent.com/u/417981?v=3","gravatar_id":"","url":"https://api.github.com/users/cpcloud","html_url":"https://github.com/cpcloud","followers_url":"https://api.github.com/users/cpcloud/followers","following_url":"https://api.github.com/users/cpcloud/following{/other_user}","gists_url":"https://api.github.com/users/cpcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/cpcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpcloud/subscriptions","organizations_url":"https://api.github.com/users/cpcloud/orgs","repos_url":"https://api.github.com/users/cpcloud/repos","events_url":"https://api.github.com/users/cpcloud/events{/privacy}","received_events_url":"https://api.github.com/users/cpcloud/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cpcloud/ipython-autotime","description":"Time everything in IPython","fork":false,"url":"https://api.github.com/repos/cpcloud/ipython-autotime","forks_url":"https://api.github.com/repos/cpcloud/ipython-autotime/forks","keys_url":"https://api.github.com/repos/cpcloud/ipython-autotime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpcloud/ipython-autotime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpcloud/ipython-autotime/teams","hooks_url":"https://api.github.com/repos/cpcloud/ipython-autotime/hooks","issue_events_url":"https://api.github.com/repos/cpcloud/ipython-autotime/issues/events{/number}","events_url":"https://api.github.com/repos/cpcloud/ipython-autotime/events","assignees_url":"https://api.github.com/repos/cpcloud/ipython-autotime/assignees{/user}","branches_url":"https://api.github.com/repos/cpcloud/ipython-autotime/branches{/branch}","tags_url":"https://api.github.com/repos/cpcloud/ipython-autotime/tags","blobs_url":"https://api.github.com/repos/cpcloud/ipython-autotime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpcloud/ipython-autotime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpcloud/ipython-autotime/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpcloud/ipython-autotime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpcloud/ipython-autotime/statuses/{sha}","languages_url":"https://api.github.com/repos/cpcloud/ipython-autotime/languages","stargazers_url":"https://api.github.com/repos/cpcloud/ipython-autotime/stargazers","contributors_url":"https://api.github.com/repos/cpcloud/ipython-autotime/contributors","subscribers_url":"https://api.github.com/repos/cpcloud/ipython-autotime/subscribers","subscription_url":"https://api.github.com/repos/cpcloud/ipython-autotime/subscription","commits_url":"https://api.github.com/repos/cpcloud/ipython-autotime/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpcloud/ipython-autotime/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpcloud/ipython-autotime/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpcloud/ipython-autotime/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpcloud/ipython-autotime/contents/{+path}","compare_url":"https://api.github.com/repos/cpcloud/ipython-autotime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpcloud/ipython-autotime/merges","archive_url":"https://api.github.com/repos/cpcloud/ipython-autotime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpcloud/ipython-autotime/downloads","issues_url":"https://api.github.com/repos/cpcloud/ipython-autotime/issues{/number}","pulls_url":"https://api.github.com/repos/cpcloud/ipython-autotime/pulls{/number}","milestones_url":"https://api.github.com/repos/cpcloud/ipython-autotime/milestones{/number}","notifications_url":"https://api.github.com/repos/cpcloud/ipython-autotime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpcloud/ipython-autotime/labels{/name}","releases_url":"https://api.github.com/repos/cpcloud/ipython-autotime/releases{/id}","created_at":"2015-06-07T15:19:07Z","updated_at":"2015-07-31T20:33:42Z","pushed_at":"2015-09-10T08:55:25Z","git_url":"git://github.com/cpcloud/ipython-autotime.git","ssh_url":"git@github.com:cpcloud/ipython-autotime.git","clone_url":"https://github.com/cpcloud/ipython-autotime.git","svn_url":"https://github.com/cpcloud/ipython-autotime","homepage":null,"size":136,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cpcloud/ipython-autotime/pulls/4"},"html":{"href":"https://github.com/cpcloud/ipython-autotime/pull/4"},"issue":{"href":"https://api.github.com/repos/cpcloud/ipython-autotime/issues/4"},"comments":{"href":"https://api.github.com/repos/cpcloud/ipython-autotime/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/cpcloud/ipython-autotime/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/cpcloud/ipython-autotime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cpcloud/ipython-autotime/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/cpcloud/ipython-autotime/statuses/a8216b8ec4a85f13933646fdb884ce59e1f4c6bf"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}