{"action":"created","comment":{"url":"https://api.github.com/repos/jupyter/notebook/pulls/comments/60212495","id":60212495,"diff_hunk":"@@ -277,8 +287,8 @@ def _read_notebook(self, os_path, as_version=4):\n             # Rename over existing file doesn't work on Windows\n             if os.name == 'nt' and os.path.exists(invalid_file):\n                 os.remove(invalid_file)","path":"notebook/services/contents/fileio.py","position":29,"original_position":29,"commit_id":"e07cb5a03cb480a9d645f1cc8aa15bd4f5034b35","original_commit_id":"e07cb5a03cb480a9d645f1cc8aa15bd4f5034b35","user":{"login":"takluyver","id":327925,"avatar_url":"https://avatars.githubusercontent.com/u/327925?v=3","gravatar_id":"","url":"https://api.github.com/users/takluyver","html_url":"https://github.com/takluyver","followers_url":"https://api.github.com/users/takluyver/followers","following_url":"https://api.github.com/users/takluyver/following{/other_user}","gists_url":"https://api.github.com/users/takluyver/gists{/gist_id}","starred_url":"https://api.github.com/users/takluyver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takluyver/subscriptions","organizations_url":"https://api.github.com/users/takluyver/orgs","repos_url":"https://api.github.com/users/takluyver/repos","events_url":"https://api.github.com/users/takluyver/events{/privacy}","received_events_url":"https://api.github.com/users/takluyver/received_events","type":"User","site_admin":false},"body":"Same here.","created_at":"2016-04-19T11:15:15Z","updated_at":"2016-04-19T11:15:15Z","html_url":"https://github.com/jupyter/notebook/pull/1370#discussion_r60212495","pull_request_url":"https://api.github.com/repos/jupyter/notebook/pulls/1370","_links":{"self":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/comments/60212495"},"html":{"href":"https://github.com/jupyter/notebook/pull/1370#discussion_r60212495"},"pull_request":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/1370"}}},"pull_request":{"url":"https://api.github.com/repos/jupyter/notebook/pulls/1370","id":66948304,"html_url":"https://github.com/jupyter/notebook/pull/1370","diff_url":"https://github.com/jupyter/notebook/pull/1370.diff","patch_url":"https://github.com/jupyter/notebook/pull/1370.patch","issue_url":"https://api.github.com/repos/jupyter/notebook/issues/1370","number":1370,"state":"open","locked":false,"title":"use os.replace instead of os.rename if available","user":{"login":"varmas","id":5624338,"avatar_url":"https://avatars.githubusercontent.com/u/5624338?v=3","gravatar_id":"","url":"https://api.github.com/users/varmas","html_url":"https://github.com/varmas","followers_url":"https://api.github.com/users/varmas/followers","following_url":"https://api.github.com/users/varmas/following{/other_user}","gists_url":"https://api.github.com/users/varmas/gists{/gist_id}","starred_url":"https://api.github.com/users/varmas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varmas/subscriptions","organizations_url":"https://api.github.com/users/varmas/orgs","repos_url":"https://api.github.com/users/varmas/repos","events_url":"https://api.github.com/users/varmas/events{/privacy}","received_events_url":"https://api.github.com/users/varmas/received_events","type":"User","site_admin":false},"body":"Closes #1270 \r\n\r\n@captainsafia \r\n\r\nYay!","created_at":"2016-04-19T01:36:13Z","updated_at":"2016-04-19T11:15:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3673f12680d96aa0027fce11f7d973f5595961f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jupyter/notebook/pulls/1370/commits","review_comments_url":"https://api.github.com/repos/jupyter/notebook/pulls/1370/comments","review_comment_url":"https://api.github.com/repos/jupyter/notebook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jupyter/notebook/issues/1370/comments","statuses_url":"https://api.github.com/repos/jupyter/notebook/statuses/e07cb5a03cb480a9d645f1cc8aa15bd4f5034b35","head":{"label":"varmas:use-os-replace","ref":"use-os-replace","sha":"e07cb5a03cb480a9d645f1cc8aa15bd4f5034b35","user":{"login":"varmas","id":5624338,"avatar_url":"https://avatars.githubusercontent.com/u/5624338?v=3","gravatar_id":"","url":"https://api.github.com/users/varmas","html_url":"https://github.com/varmas","followers_url":"https://api.github.com/users/varmas/followers","following_url":"https://api.github.com/users/varmas/following{/other_user}","gists_url":"https://api.github.com/users/varmas/gists{/gist_id}","starred_url":"https://api.github.com/users/varmas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varmas/subscriptions","organizations_url":"https://api.github.com/users/varmas/orgs","repos_url":"https://api.github.com/users/varmas/repos","events_url":"https://api.github.com/users/varmas/events{/privacy}","received_events_url":"https://api.github.com/users/varmas/received_events","type":"User","site_admin":false},"repo":{"id":56549447,"name":"notebook","full_name":"varmas/notebook","owner":{"login":"varmas","id":5624338,"avatar_url":"https://avatars.githubusercontent.com/u/5624338?v=3","gravatar_id":"","url":"https://api.github.com/users/varmas","html_url":"https://github.com/varmas","followers_url":"https://api.github.com/users/varmas/followers","following_url":"https://api.github.com/users/varmas/following{/other_user}","gists_url":"https://api.github.com/users/varmas/gists{/gist_id}","starred_url":"https://api.github.com/users/varmas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varmas/subscriptions","organizations_url":"https://api.github.com/users/varmas/orgs","repos_url":"https://api.github.com/users/varmas/repos","events_url":"https://api.github.com/users/varmas/events{/privacy}","received_events_url":"https://api.github.com/users/varmas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/varmas/notebook","description":"Jupyter Interactive Notebook","fork":true,"url":"https://api.github.com/repos/varmas/notebook","forks_url":"https://api.github.com/repos/varmas/notebook/forks","keys_url":"https://api.github.com/repos/varmas/notebook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/varmas/notebook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/varmas/notebook/teams","hooks_url":"https://api.github.com/repos/varmas/notebook/hooks","issue_events_url":"https://api.github.com/repos/varmas/notebook/issues/events{/number}","events_url":"https://api.github.com/repos/varmas/notebook/events","assignees_url":"https://api.github.com/repos/varmas/notebook/assignees{/user}","branches_url":"https://api.github.com/repos/varmas/notebook/branches{/branch}","tags_url":"https://api.github.com/repos/varmas/notebook/tags","blobs_url":"https://api.github.com/repos/varmas/notebook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/varmas/notebook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/varmas/notebook/git/refs{/sha}","trees_url":"https://api.github.com/repos/varmas/notebook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/varmas/notebook/statuses/{sha}","languages_url":"https://api.github.com/repos/varmas/notebook/languages","stargazers_url":"https://api.github.com/repos/varmas/notebook/stargazers","contributors_url":"https://api.github.com/repos/varmas/notebook/contributors","subscribers_url":"https://api.github.com/repos/varmas/notebook/subscribers","subscription_url":"https://api.github.com/repos/varmas/notebook/subscription","commits_url":"https://api.github.com/repos/varmas/notebook/commits{/sha}","git_commits_url":"https://api.github.com/repos/varmas/notebook/git/commits{/sha}","comments_url":"https://api.github.com/repos/varmas/notebook/comments{/number}","issue_comment_url":"https://api.github.com/repos/varmas/notebook/issues/comments{/number}","contents_url":"https://api.github.com/repos/varmas/notebook/contents/{+path}","compare_url":"https://api.github.com/repos/varmas/notebook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/varmas/notebook/merges","archive_url":"https://api.github.com/repos/varmas/notebook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/varmas/notebook/downloads","issues_url":"https://api.github.com/repos/varmas/notebook/issues{/number}","pulls_url":"https://api.github.com/repos/varmas/notebook/pulls{/number}","milestones_url":"https://api.github.com/repos/varmas/notebook/milestones{/number}","notifications_url":"https://api.github.com/repos/varmas/notebook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/varmas/notebook/labels{/name}","releases_url":"https://api.github.com/repos/varmas/notebook/releases{/id}","deployments_url":"https://api.github.com/repos/varmas/notebook/deployments","created_at":"2016-04-18T23:33:16Z","updated_at":"2016-04-18T23:33:19Z","pushed_at":"2016-04-19T01:34:41Z","git_url":"git://github.com/varmas/notebook.git","ssh_url":"git@github.com:varmas/notebook.git","clone_url":"https://github.com/varmas/notebook.git","svn_url":"https://github.com/varmas/notebook","homepage":"https://jupyter-notebook.readthedocs.org/","size":19219,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"jupyter:master","ref":"master","sha":"f75e591bd68d4a6d201a0883a5c3a60694055313","user":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"repo":{"id":33653601,"name":"notebook","full_name":"jupyter/notebook","owner":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jupyter/notebook","description":"Jupyter Interactive Notebook","fork":false,"url":"https://api.github.com/repos/jupyter/notebook","forks_url":"https://api.github.com/repos/jupyter/notebook/forks","keys_url":"https://api.github.com/repos/jupyter/notebook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jupyter/notebook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jupyter/notebook/teams","hooks_url":"https://api.github.com/repos/jupyter/notebook/hooks","issue_events_url":"https://api.github.com/repos/jupyter/notebook/issues/events{/number}","events_url":"https://api.github.com/repos/jupyter/notebook/events","assignees_url":"https://api.github.com/repos/jupyter/notebook/assignees{/user}","branches_url":"https://api.github.com/repos/jupyter/notebook/branches{/branch}","tags_url":"https://api.github.com/repos/jupyter/notebook/tags","blobs_url":"https://api.github.com/repos/jupyter/notebook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jupyter/notebook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jupyter/notebook/git/refs{/sha}","trees_url":"https://api.github.com/repos/jupyter/notebook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jupyter/notebook/statuses/{sha}","languages_url":"https://api.github.com/repos/jupyter/notebook/languages","stargazers_url":"https://api.github.com/repos/jupyter/notebook/stargazers","contributors_url":"https://api.github.com/repos/jupyter/notebook/contributors","subscribers_url":"https://api.github.com/repos/jupyter/notebook/subscribers","subscription_url":"https://api.github.com/repos/jupyter/notebook/subscription","commits_url":"https://api.github.com/repos/jupyter/notebook/commits{/sha}","git_commits_url":"https://api.github.com/repos/jupyter/notebook/git/commits{/sha}","comments_url":"https://api.github.com/repos/jupyter/notebook/comments{/number}","issue_comment_url":"https://api.github.com/repos/jupyter/notebook/issues/comments{/number}","contents_url":"https://api.github.com/repos/jupyter/notebook/contents/{+path}","compare_url":"https://api.github.com/repos/jupyter/notebook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jupyter/notebook/merges","archive_url":"https://api.github.com/repos/jupyter/notebook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jupyter/notebook/downloads","issues_url":"https://api.github.com/repos/jupyter/notebook/issues{/number}","pulls_url":"https://api.github.com/repos/jupyter/notebook/pulls{/number}","milestones_url":"https://api.github.com/repos/jupyter/notebook/milestones{/number}","notifications_url":"https://api.github.com/repos/jupyter/notebook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jupyter/notebook/labels{/name}","releases_url":"https://api.github.com/repos/jupyter/notebook/releases{/id}","deployments_url":"https://api.github.com/repos/jupyter/notebook/deployments","created_at":"2015-04-09T06:58:03Z","updated_at":"2016-04-19T09:13:25Z","pushed_at":"2016-04-19T09:46:50Z","git_url":"git://github.com/jupyter/notebook.git","ssh_url":"git@github.com:jupyter/notebook.git","clone_url":"https://github.com/jupyter/notebook.git","svn_url":"https://github.com/jupyter/notebook","homepage":"https://jupyter-notebook.readthedocs.org/","size":27820,"stargazers_count":987,"watchers_count":987,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":311,"mirror_url":null,"open_issues_count":334,"forks":311,"open_issues":334,"watchers":987,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/1370"},"html":{"href":"https://github.com/jupyter/notebook/pull/1370"},"issue":{"href":"https://api.github.com/repos/jupyter/notebook/issues/1370"},"comments":{"href":"https://api.github.com/repos/jupyter/notebook/issues/1370/comments"},"review_comments":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/1370/comments"},"review_comment":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jupyter/notebook/pulls/1370/commits"},"statuses":{"href":"https://api.github.com/repos/jupyter/notebook/statuses/e07cb5a03cb480a9d645f1cc8aa15bd4f5034b35"}}}}