{"action":"opened","number":1886,"pull_request":{"url":"https://api.github.com/repos/TykTechnologies/tyk/pulls/1886","id":210380049,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMzgwMDQ5","html_url":"https://github.com/TykTechnologies/tyk/pull/1886","diff_url":"https://github.com/TykTechnologies/tyk/pull/1886.diff","patch_url":"https://github.com/TykTechnologies/tyk/pull/1886.patch","issue_url":"https://api.github.com/repos/TykTechnologies/tyk/issues/1886","number":1886,"state":"open","locked":false,"title":"Fix Python memory issues","user":{"login":"matiasinsaurralde","id":20110,"node_id":"MDQ6VXNlcjIwMTEw","avatar_url":"https://avatars1.githubusercontent.com/u/20110?v=4","gravatar_id":"","url":"https://api.github.com/users/matiasinsaurralde","html_url":"https://github.com/matiasinsaurralde","followers_url":"https://api.github.com/users/matiasinsaurralde/followers","following_url":"https://api.github.com/users/matiasinsaurralde/following{/other_user}","gists_url":"https://api.github.com/users/matiasinsaurralde/gists{/gist_id}","starred_url":"https://api.github.com/users/matiasinsaurralde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiasinsaurralde/subscriptions","organizations_url":"https://api.github.com/users/matiasinsaurralde/orgs","repos_url":"https://api.github.com/users/matiasinsaurralde/repos","events_url":"https://api.github.com/users/matiasinsaurralde/events{/privacy}","received_events_url":"https://api.github.com/users/matiasinsaurralde/received_events","type":"User","site_admin":false},"body":"Related to #1228.\r\n\r\nAdded Python refcount macros. Modified the C.free calls to avoid any GC issues.\r\n\r\nPython_DispatchHook uses memcpy to avoid accessing the internal buffer of the resulting PyObject.\r\n","created_at":"2018-08-23T09:10:35Z","updated_at":"2018-08-23T09:10:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/TykTechnologies/tyk/pulls/1886/commits","review_comments_url":"https://api.github.com/repos/TykTechnologies/tyk/pulls/1886/comments","review_comment_url":"https://api.github.com/repos/TykTechnologies/tyk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TykTechnologies/tyk/issues/1886/comments","statuses_url":"https://api.github.com/repos/TykTechnologies/tyk/statuses/75760a9732d3c0e6e0a38008b3931f9951257b14","head":{"label":"matiasinsaurralde:python-memory-issue","ref":"python-memory-issue","sha":"75760a9732d3c0e6e0a38008b3931f9951257b14","user":{"login":"matiasinsaurralde","id":20110,"node_id":"MDQ6VXNlcjIwMTEw","avatar_url":"https://avatars1.githubusercontent.com/u/20110?v=4","gravatar_id":"","url":"https://api.github.com/users/matiasinsaurralde","html_url":"https://github.com/matiasinsaurralde","followers_url":"https://api.github.com/users/matiasinsaurralde/followers","following_url":"https://api.github.com/users/matiasinsaurralde/following{/other_user}","gists_url":"https://api.github.com/users/matiasinsaurralde/gists{/gist_id}","starred_url":"https://api.github.com/users/matiasinsaurralde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiasinsaurralde/subscriptions","organizations_url":"https://api.github.com/users/matiasinsaurralde/orgs","repos_url":"https://api.github.com/users/matiasinsaurralde/repos","events_url":"https://api.github.com/users/matiasinsaurralde/events{/privacy}","received_events_url":"https://api.github.com/users/matiasinsaurralde/received_events","type":"User","site_admin":false},"repo":{"id":79131958,"node_id":"MDEwOlJlcG9zaXRvcnk3OTEzMTk1OA==","name":"tyk","full_name":"matiasinsaurralde/tyk","owner":{"login":"matiasinsaurralde","id":20110,"node_id":"MDQ6VXNlcjIwMTEw","avatar_url":"https://avatars1.githubusercontent.com/u/20110?v=4","gravatar_id":"","url":"https://api.github.com/users/matiasinsaurralde","html_url":"https://github.com/matiasinsaurralde","followers_url":"https://api.github.com/users/matiasinsaurralde/followers","following_url":"https://api.github.com/users/matiasinsaurralde/following{/other_user}","gists_url":"https://api.github.com/users/matiasinsaurralde/gists{/gist_id}","starred_url":"https://api.github.com/users/matiasinsaurralde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiasinsaurralde/subscriptions","organizations_url":"https://api.github.com/users/matiasinsaurralde/orgs","repos_url":"https://api.github.com/users/matiasinsaurralde/repos","events_url":"https://api.github.com/users/matiasinsaurralde/events{/privacy}","received_events_url":"https://api.github.com/users/matiasinsaurralde/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matiasinsaurralde/tyk","description":"Tyk Open Source API Gateway written in Go","fork":true,"url":"https://api.github.com/repos/matiasinsaurralde/tyk","forks_url":"https://api.github.com/repos/matiasinsaurralde/tyk/forks","keys_url":"https://api.github.com/repos/matiasinsaurralde/tyk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matiasinsaurralde/tyk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matiasinsaurralde/tyk/teams","hooks_url":"https://api.github.com/repos/matiasinsaurralde/tyk/hooks","issue_events_url":"https://api.github.com/repos/matiasinsaurralde/tyk/issues/events{/number}","events_url":"https://api.github.com/repos/matiasinsaurralde/tyk/events","assignees_url":"https://api.github.com/repos/matiasinsaurralde/tyk/assignees{/user}","branches_url":"https://api.github.com/repos/matiasinsaurralde/tyk/branches{/branch}","tags_url":"https://api.github.com/repos/matiasinsaurralde/tyk/tags","blobs_url":"https://api.github.com/repos/matiasinsaurralde/tyk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matiasinsaurralde/tyk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matiasinsaurralde/tyk/git/refs{/sha}","trees_url":"https://api.github.com/repos/matiasinsaurralde/tyk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matiasinsaurralde/tyk/statuses/{sha}","languages_url":"https://api.github.com/repos/matiasinsaurralde/tyk/languages","stargazers_url":"https://api.github.com/repos/matiasinsaurralde/tyk/stargazers","contributors_url":"https://api.github.com/repos/matiasinsaurralde/tyk/contributors","subscribers_url":"https://api.github.com/repos/matiasinsaurralde/tyk/subscribers","subscription_url":"https://api.github.com/repos/matiasinsaurralde/tyk/subscription","commits_url":"https://api.github.com/repos/matiasinsaurralde/tyk/commits{/sha}","git_commits_url":"https://api.github.com/repos/matiasinsaurralde/tyk/git/commits{/sha}","comments_url":"https://api.github.com/repos/matiasinsaurralde/tyk/comments{/number}","issue_comment_url":"https://api.github.com/repos/matiasinsaurralde/tyk/issues/comments{/number}","contents_url":"https://api.github.com/repos/matiasinsaurralde/tyk/contents/{+path}","compare_url":"https://api.github.com/repos/matiasinsaurralde/tyk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matiasinsaurralde/tyk/merges","archive_url":"https://api.github.com/repos/matiasinsaurralde/tyk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matiasinsaurralde/tyk/downloads","issues_url":"https://api.github.com/repos/matiasinsaurralde/tyk/issues{/number}","pulls_url":"https://api.github.com/repos/matiasinsaurralde/tyk/pulls{/number}","milestones_url":"https://api.github.com/repos/matiasinsaurralde/tyk/milestones{/number}","notifications_url":"https://api.github.com/repos/matiasinsaurralde/tyk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matiasinsaurralde/tyk/labels{/name}","releases_url":"https://api.github.com/repos/matiasinsaurralde/tyk/releases{/id}","deployments_url":"https://api.github.com/repos/matiasinsaurralde/tyk/deployments","created_at":"2017-01-16T15:31:04Z","updated_at":"2018-08-23T08:47:30Z","pushed_at":"2018-08-23T09:09:42Z","git_url":"git://github.com/matiasinsaurralde/tyk.git","ssh_url":"git@github.com:matiasinsaurralde/tyk.git","clone_url":"https://github.com/matiasinsaurralde/tyk.git","svn_url":"https://github.com/matiasinsaurralde/tyk","homepage":"","size":118889,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"TykTechnologies:master","ref":"master","sha":"04972c3735a35a35a69db76caf8a0c6bad0a5616","user":{"login":"TykTechnologies","id":16121529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTIxNTI5","avatar_url":"https://avatars3.githubusercontent.com/u/16121529?v=4","gravatar_id":"","url":"https://api.github.com/users/TykTechnologies","html_url":"https://github.com/TykTechnologies","followers_url":"https://api.github.com/users/TykTechnologies/followers","following_url":"https://api.github.com/users/TykTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/TykTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/TykTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TykTechnologies/subscriptions","organizations_url":"https://api.github.com/users/TykTechnologies/orgs","repos_url":"https://api.github.com/users/TykTechnologies/repos","events_url":"https://api.github.com/users/TykTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/TykTechnologies/received_events","type":"Organization","site_admin":false},"repo":{"id":19537979,"node_id":"MDEwOlJlcG9zaXRvcnkxOTUzNzk3OQ==","name":"tyk","full_name":"TykTechnologies/tyk","owner":{"login":"TykTechnologies","id":16121529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTIxNTI5","avatar_url":"https://avatars3.githubusercontent.com/u/16121529?v=4","gravatar_id":"","url":"https://api.github.com/users/TykTechnologies","html_url":"https://github.com/TykTechnologies","followers_url":"https://api.github.com/users/TykTechnologies/followers","following_url":"https://api.github.com/users/TykTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/TykTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/TykTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TykTechnologies/subscriptions","organizations_url":"https://api.github.com/users/TykTechnologies/orgs","repos_url":"https://api.github.com/users/TykTechnologies/repos","events_url":"https://api.github.com/users/TykTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/TykTechnologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TykTechnologies/tyk","description":"Tyk Open Source API Gateway written in Go","fork":false,"url":"https://api.github.com/repos/TykTechnologies/tyk","forks_url":"https://api.github.com/repos/TykTechnologies/tyk/forks","keys_url":"https://api.github.com/repos/TykTechnologies/tyk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TykTechnologies/tyk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TykTechnologies/tyk/teams","hooks_url":"https://api.github.com/repos/TykTechnologies/tyk/hooks","issue_events_url":"https://api.github.com/repos/TykTechnologies/tyk/issues/events{/number}","events_url":"https://api.github.com/repos/TykTechnologies/tyk/events","assignees_url":"https://api.github.com/repos/TykTechnologies/tyk/assignees{/user}","branches_url":"https://api.github.com/repos/TykTechnologies/tyk/branches{/branch}","tags_url":"https://api.github.com/repos/TykTechnologies/tyk/tags","blobs_url":"https://api.github.com/repos/TykTechnologies/tyk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TykTechnologies/tyk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TykTechnologies/tyk/git/refs{/sha}","trees_url":"https://api.github.com/repos/TykTechnologies/tyk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TykTechnologies/tyk/statuses/{sha}","languages_url":"https://api.github.com/repos/TykTechnologies/tyk/languages","stargazers_url":"https://api.github.com/repos/TykTechnologies/tyk/stargazers","contributors_url":"https://api.github.com/repos/TykTechnologies/tyk/contributors","subscribers_url":"https://api.github.com/repos/TykTechnologies/tyk/subscribers","subscription_url":"https://api.github.com/repos/TykTechnologies/tyk/subscription","commits_url":"https://api.github.com/repos/TykTechnologies/tyk/commits{/sha}","git_commits_url":"https://api.github.com/repos/TykTechnologies/tyk/git/commits{/sha}","comments_url":"https://api.github.com/repos/TykTechnologies/tyk/comments{/number}","issue_comment_url":"https://api.github.com/repos/TykTechnologies/tyk/issues/comments{/number}","contents_url":"https://api.github.com/repos/TykTechnologies/tyk/contents/{+path}","compare_url":"https://api.github.com/repos/TykTechnologies/tyk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TykTechnologies/tyk/merges","archive_url":"https://api.github.com/repos/TykTechnologies/tyk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TykTechnologies/tyk/downloads","issues_url":"https://api.github.com/repos/TykTechnologies/tyk/issues{/number}","pulls_url":"https://api.github.com/repos/TykTechnologies/tyk/pulls{/number}","milestones_url":"https://api.github.com/repos/TykTechnologies/tyk/milestones{/number}","notifications_url":"https://api.github.com/repos/TykTechnologies/tyk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TykTechnologies/tyk/labels{/name}","releases_url":"https://api.github.com/repos/TykTechnologies/tyk/releases{/id}","deployments_url":"https://api.github.com/repos/TykTechnologies/tyk/deployments","created_at":"2014-05-07T14:38:24Z","updated_at":"2018-08-23T01:07:02Z","pushed_at":"2018-08-22T16:04:19Z","git_url":"git://github.com/TykTechnologies/tyk.git","ssh_url":"git@github.com:TykTechnologies/tyk.git","clone_url":"https://github.com/TykTechnologies/tyk.git","svn_url":"https://github.com/TykTechnologies/tyk","homepage":"","size":123480,"stargazers_count":3702,"watchers_count":3702,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":497,"mirror_url":null,"archived":false,"open_issues_count":342,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":497,"open_issues":342,"watchers":3702,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TykTechnologies/tyk/pulls/1886"},"html":{"href":"https://github.com/TykTechnologies/tyk/pull/1886"},"issue":{"href":"https://api.github.com/repos/TykTechnologies/tyk/issues/1886"},"comments":{"href":"https://api.github.com/repos/TykTechnologies/tyk/issues/1886/comments"},"review_comments":{"href":"https://api.github.com/repos/TykTechnologies/tyk/pulls/1886/comments"},"review_comment":{"href":"https://api.github.com/repos/TykTechnologies/tyk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TykTechnologies/tyk/pulls/1886/commits"},"statuses":{"href":"https://api.github.com/repos/TykTechnologies/tyk/statuses/75760a9732d3c0e6e0a38008b3931f9951257b14"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":40,"deletions":27,"changed_files":4}}
{"actor":{"display_login":"matiasinsaurralde"}}