{"action":"opened","number":104,"pull_request":{"url":"https://api.github.com/repos/spulec/freezegun/pulls/104","id":40668163,"html_url":"https://github.com/spulec/freezegun/pull/104","diff_url":"https://github.com/spulec/freezegun/pull/104.diff","patch_url":"https://github.com/spulec/freezegun/pull/104.patch","issue_url":"https://api.github.com/repos/spulec/freezegun/issues/104","number":104,"state":"open","locked":false,"title":"Improve memory usage: forget about undo_changes after they are undone","user":{"login":"adamchainz","id":857609,"avatar_url":"https://avatars.githubusercontent.com/u/857609?v=3","gravatar_id":"","url":"https://api.github.com/users/adamchainz","html_url":"https://github.com/adamchainz","followers_url":"https://api.github.com/users/adamchainz/followers","following_url":"https://api.github.com/users/adamchainz/following{/other_user}","gists_url":"https://api.github.com/users/adamchainz/gists{/gist_id}","starred_url":"https://api.github.com/users/adamchainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamchainz/subscriptions","organizations_url":"https://api.github.com/users/adamchainz/orgs","repos_url":"https://api.github.com/users/adamchainz/repos","events_url":"https://api.github.com/users/adamchainz/events{/privacy}","received_events_url":"https://api.github.com/users/adamchainz/received_events","type":"User","site_admin":false},"body":"List of 1000s of 3-tuples * many uses in tests = high memory use  :(\r\n\r\nAlso repeat use of the same `_freeze_time` object would continue adding to the existing list and then do multiple times the work necessary on `stop()`.","created_at":"2015-07-23T12:50:21Z","updated_at":"2015-07-23T12:50:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spulec/freezegun/pulls/104/commits","review_comments_url":"https://api.github.com/repos/spulec/freezegun/pulls/104/comments","review_comment_url":"https://api.github.com/repos/spulec/freezegun/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spulec/freezegun/issues/104/comments","statuses_url":"https://api.github.com/repos/spulec/freezegun/statuses/93c00fb7b96cf7ad7e826e92ff5073a80b272eb3","head":{"label":"adamchainz:memory_improvements","ref":"memory_improvements","sha":"93c00fb7b96cf7ad7e826e92ff5073a80b272eb3","user":{"login":"adamchainz","id":857609,"avatar_url":"https://avatars.githubusercontent.com/u/857609?v=3","gravatar_id":"","url":"https://api.github.com/users/adamchainz","html_url":"https://github.com/adamchainz","followers_url":"https://api.github.com/users/adamchainz/followers","following_url":"https://api.github.com/users/adamchainz/following{/other_user}","gists_url":"https://api.github.com/users/adamchainz/gists{/gist_id}","starred_url":"https://api.github.com/users/adamchainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamchainz/subscriptions","organizations_url":"https://api.github.com/users/adamchainz/orgs","repos_url":"https://api.github.com/users/adamchainz/repos","events_url":"https://api.github.com/users/adamchainz/events{/privacy}","received_events_url":"https://api.github.com/users/adamchainz/received_events","type":"User","site_admin":false},"repo":{"id":39442551,"name":"freezegun","full_name":"adamchainz/freezegun","owner":{"login":"adamchainz","id":857609,"avatar_url":"https://avatars.githubusercontent.com/u/857609?v=3","gravatar_id":"","url":"https://api.github.com/users/adamchainz","html_url":"https://github.com/adamchainz","followers_url":"https://api.github.com/users/adamchainz/followers","following_url":"https://api.github.com/users/adamchainz/following{/other_user}","gists_url":"https://api.github.com/users/adamchainz/gists{/gist_id}","starred_url":"https://api.github.com/users/adamchainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamchainz/subscriptions","organizations_url":"https://api.github.com/users/adamchainz/orgs","repos_url":"https://api.github.com/users/adamchainz/repos","events_url":"https://api.github.com/users/adamchainz/events{/privacy}","received_events_url":"https://api.github.com/users/adamchainz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamchainz/freezegun","description":"Let your Python tests travel through time","fork":true,"url":"https://api.github.com/repos/adamchainz/freezegun","forks_url":"https://api.github.com/repos/adamchainz/freezegun/forks","keys_url":"https://api.github.com/repos/adamchainz/freezegun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamchainz/freezegun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamchainz/freezegun/teams","hooks_url":"https://api.github.com/repos/adamchainz/freezegun/hooks","issue_events_url":"https://api.github.com/repos/adamchainz/freezegun/issues/events{/number}","events_url":"https://api.github.com/repos/adamchainz/freezegun/events","assignees_url":"https://api.github.com/repos/adamchainz/freezegun/assignees{/user}","branches_url":"https://api.github.com/repos/adamchainz/freezegun/branches{/branch}","tags_url":"https://api.github.com/repos/adamchainz/freezegun/tags","blobs_url":"https://api.github.com/repos/adamchainz/freezegun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamchainz/freezegun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamchainz/freezegun/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamchainz/freezegun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamchainz/freezegun/statuses/{sha}","languages_url":"https://api.github.com/repos/adamchainz/freezegun/languages","stargazers_url":"https://api.github.com/repos/adamchainz/freezegun/stargazers","contributors_url":"https://api.github.com/repos/adamchainz/freezegun/contributors","subscribers_url":"https://api.github.com/repos/adamchainz/freezegun/subscribers","subscription_url":"https://api.github.com/repos/adamchainz/freezegun/subscription","commits_url":"https://api.github.com/repos/adamchainz/freezegun/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamchainz/freezegun/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamchainz/freezegun/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamchainz/freezegun/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamchainz/freezegun/contents/{+path}","compare_url":"https://api.github.com/repos/adamchainz/freezegun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamchainz/freezegun/merges","archive_url":"https://api.github.com/repos/adamchainz/freezegun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamchainz/freezegun/downloads","issues_url":"https://api.github.com/repos/adamchainz/freezegun/issues{/number}","pulls_url":"https://api.github.com/repos/adamchainz/freezegun/pulls{/number}","milestones_url":"https://api.github.com/repos/adamchainz/freezegun/milestones{/number}","notifications_url":"https://api.github.com/repos/adamchainz/freezegun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamchainz/freezegun/labels{/name}","releases_url":"https://api.github.com/repos/adamchainz/freezegun/releases{/id}","created_at":"2015-07-21T11:54:41Z","updated_at":"2015-07-21T11:54:41Z","pushed_at":"2015-07-23T12:48:25Z","git_url":"git://github.com/adamchainz/freezegun.git","ssh_url":"git@github.com:adamchainz/freezegun.git","clone_url":"https://github.com/adamchainz/freezegun.git","svn_url":"https://github.com/adamchainz/freezegun","homepage":null,"size":1281,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spulec:master","ref":"master","sha":"8f4b6e01fb1cf29a181997abf269e7da09179bdf","user":{"login":"spulec","id":292606,"avatar_url":"https://avatars.githubusercontent.com/u/292606?v=3","gravatar_id":"","url":"https://api.github.com/users/spulec","html_url":"https://github.com/spulec","followers_url":"https://api.github.com/users/spulec/followers","following_url":"https://api.github.com/users/spulec/following{/other_user}","gists_url":"https://api.github.com/users/spulec/gists{/gist_id}","starred_url":"https://api.github.com/users/spulec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spulec/subscriptions","organizations_url":"https://api.github.com/users/spulec/orgs","repos_url":"https://api.github.com/users/spulec/repos","events_url":"https://api.github.com/users/spulec/events{/privacy}","received_events_url":"https://api.github.com/users/spulec/received_events","type":"User","site_admin":false},"repo":{"id":7106250,"name":"freezegun","full_name":"spulec/freezegun","owner":{"login":"spulec","id":292606,"avatar_url":"https://avatars.githubusercontent.com/u/292606?v=3","gravatar_id":"","url":"https://api.github.com/users/spulec","html_url":"https://github.com/spulec","followers_url":"https://api.github.com/users/spulec/followers","following_url":"https://api.github.com/users/spulec/following{/other_user}","gists_url":"https://api.github.com/users/spulec/gists{/gist_id}","starred_url":"https://api.github.com/users/spulec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spulec/subscriptions","organizations_url":"https://api.github.com/users/spulec/orgs","repos_url":"https://api.github.com/users/spulec/repos","events_url":"https://api.github.com/users/spulec/events{/privacy}","received_events_url":"https://api.github.com/users/spulec/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spulec/freezegun","description":"Let your Python tests travel through time","fork":false,"url":"https://api.github.com/repos/spulec/freezegun","forks_url":"https://api.github.com/repos/spulec/freezegun/forks","keys_url":"https://api.github.com/repos/spulec/freezegun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spulec/freezegun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spulec/freezegun/teams","hooks_url":"https://api.github.com/repos/spulec/freezegun/hooks","issue_events_url":"https://api.github.com/repos/spulec/freezegun/issues/events{/number}","events_url":"https://api.github.com/repos/spulec/freezegun/events","assignees_url":"https://api.github.com/repos/spulec/freezegun/assignees{/user}","branches_url":"https://api.github.com/repos/spulec/freezegun/branches{/branch}","tags_url":"https://api.github.com/repos/spulec/freezegun/tags","blobs_url":"https://api.github.com/repos/spulec/freezegun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spulec/freezegun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spulec/freezegun/git/refs{/sha}","trees_url":"https://api.github.com/repos/spulec/freezegun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spulec/freezegun/statuses/{sha}","languages_url":"https://api.github.com/repos/spulec/freezegun/languages","stargazers_url":"https://api.github.com/repos/spulec/freezegun/stargazers","contributors_url":"https://api.github.com/repos/spulec/freezegun/contributors","subscribers_url":"https://api.github.com/repos/spulec/freezegun/subscribers","subscription_url":"https://api.github.com/repos/spulec/freezegun/subscription","commits_url":"https://api.github.com/repos/spulec/freezegun/commits{/sha}","git_commits_url":"https://api.github.com/repos/spulec/freezegun/git/commits{/sha}","comments_url":"https://api.github.com/repos/spulec/freezegun/comments{/number}","issue_comment_url":"https://api.github.com/repos/spulec/freezegun/issues/comments{/number}","contents_url":"https://api.github.com/repos/spulec/freezegun/contents/{+path}","compare_url":"https://api.github.com/repos/spulec/freezegun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spulec/freezegun/merges","archive_url":"https://api.github.com/repos/spulec/freezegun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spulec/freezegun/downloads","issues_url":"https://api.github.com/repos/spulec/freezegun/issues{/number}","pulls_url":"https://api.github.com/repos/spulec/freezegun/pulls{/number}","milestones_url":"https://api.github.com/repos/spulec/freezegun/milestones{/number}","notifications_url":"https://api.github.com/repos/spulec/freezegun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spulec/freezegun/labels{/name}","releases_url":"https://api.github.com/repos/spulec/freezegun/releases{/id}","created_at":"2012-12-11T05:11:00Z","updated_at":"2015-07-21T12:46:21Z","pushed_at":"2015-07-23T02:12:50Z","git_url":"git://github.com/spulec/freezegun.git","ssh_url":"git@github.com:spulec/freezegun.git","clone_url":"https://github.com/spulec/freezegun.git","svn_url":"https://github.com/spulec/freezegun","homepage":null,"size":1281,"stargazers_count":497,"watchers_count":497,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":51,"mirror_url":null,"open_issues_count":8,"forks":51,"open_issues":8,"watchers":497,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spulec/freezegun/pulls/104"},"html":{"href":"https://github.com/spulec/freezegun/pull/104"},"issue":{"href":"https://api.github.com/repos/spulec/freezegun/issues/104"},"comments":{"href":"https://api.github.com/repos/spulec/freezegun/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/spulec/freezegun/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/spulec/freezegun/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spulec/freezegun/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/spulec/freezegun/statuses/93c00fb7b96cf7ad7e826e92ff5073a80b272eb3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}