{"action":"opened","number":471,"pull_request":{"url":"https://api.github.com/repos/cython/cython/pulls/471","id":52478344,"html_url":"https://github.com/cython/cython/pull/471","diff_url":"https://github.com/cython/cython/pull/471.diff","patch_url":"https://github.com/cython/cython/pull/471.patch","issue_url":"https://api.github.com/repos/cython/cython/issues/471","number":471,"state":"open","locked":false,"title":"Vector and list with two template parameters","user":{"login":"molpopgen","id":6416159,"avatar_url":"https://avatars.githubusercontent.com/u/6416159?v=3","gravatar_id":"","url":"https://api.github.com/users/molpopgen","html_url":"https://github.com/molpopgen","followers_url":"https://api.github.com/users/molpopgen/followers","following_url":"https://api.github.com/users/molpopgen/following{/other_user}","gists_url":"https://api.github.com/users/molpopgen/gists{/gist_id}","starred_url":"https://api.github.com/users/molpopgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molpopgen/subscriptions","organizations_url":"https://api.github.com/users/molpopgen/orgs","repos_url":"https://api.github.com/users/molpopgen/repos","events_url":"https://api.github.com/users/molpopgen/events{/privacy}","received_events_url":"https://api.github.com/users/molpopgen/received_events","type":"User","site_admin":false},"body":"Rationale:\r\n\r\n* STL containers take a type and an allocator as template params\r\n* Current .pxd files rely on the default allocator\r\n* There are better-performing allocators out there (boost, Intel's TBB library, etc.)\r\n* These new .pxd files seem to be the \"best we can do\" as Cython doesn't support template type parameter defaults.\r\n\r\nThe downside is that cimports need to be careful about name conflicts, but \"cimport x as y\" solves that.\r\n\r\n","created_at":"2015-12-03T01:01:25Z","updated_at":"2015-12-03T01:01:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cython/cython/pulls/471/commits","review_comments_url":"https://api.github.com/repos/cython/cython/pulls/471/comments","review_comment_url":"https://api.github.com/repos/cython/cython/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cython/cython/issues/471/comments","statuses_url":"https://api.github.com/repos/cython/cython/statuses/a99692bed055418bc0c63e6f1321d8763a4f4c4f","head":{"label":"molpopgen:stl_alloc","ref":"stl_alloc","sha":"a99692bed055418bc0c63e6f1321d8763a4f4c4f","user":{"login":"molpopgen","id":6416159,"avatar_url":"https://avatars.githubusercontent.com/u/6416159?v=3","gravatar_id":"","url":"https://api.github.com/users/molpopgen","html_url":"https://github.com/molpopgen","followers_url":"https://api.github.com/users/molpopgen/followers","following_url":"https://api.github.com/users/molpopgen/following{/other_user}","gists_url":"https://api.github.com/users/molpopgen/gists{/gist_id}","starred_url":"https://api.github.com/users/molpopgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molpopgen/subscriptions","organizations_url":"https://api.github.com/users/molpopgen/orgs","repos_url":"https://api.github.com/users/molpopgen/repos","events_url":"https://api.github.com/users/molpopgen/events{/privacy}","received_events_url":"https://api.github.com/users/molpopgen/received_events","type":"User","site_admin":false},"repo":{"id":44030856,"name":"cython","full_name":"molpopgen/cython","owner":{"login":"molpopgen","id":6416159,"avatar_url":"https://avatars.githubusercontent.com/u/6416159?v=3","gravatar_id":"","url":"https://api.github.com/users/molpopgen","html_url":"https://github.com/molpopgen","followers_url":"https://api.github.com/users/molpopgen/followers","following_url":"https://api.github.com/users/molpopgen/following{/other_user}","gists_url":"https://api.github.com/users/molpopgen/gists{/gist_id}","starred_url":"https://api.github.com/users/molpopgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molpopgen/subscriptions","organizations_url":"https://api.github.com/users/molpopgen/orgs","repos_url":"https://api.github.com/users/molpopgen/repos","events_url":"https://api.github.com/users/molpopgen/events{/privacy}","received_events_url":"https://api.github.com/users/molpopgen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/molpopgen/cython","description":"A Python to C compiler","fork":true,"url":"https://api.github.com/repos/molpopgen/cython","forks_url":"https://api.github.com/repos/molpopgen/cython/forks","keys_url":"https://api.github.com/repos/molpopgen/cython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/molpopgen/cython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/molpopgen/cython/teams","hooks_url":"https://api.github.com/repos/molpopgen/cython/hooks","issue_events_url":"https://api.github.com/repos/molpopgen/cython/issues/events{/number}","events_url":"https://api.github.com/repos/molpopgen/cython/events","assignees_url":"https://api.github.com/repos/molpopgen/cython/assignees{/user}","branches_url":"https://api.github.com/repos/molpopgen/cython/branches{/branch}","tags_url":"https://api.github.com/repos/molpopgen/cython/tags","blobs_url":"https://api.github.com/repos/molpopgen/cython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/molpopgen/cython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/molpopgen/cython/git/refs{/sha}","trees_url":"https://api.github.com/repos/molpopgen/cython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/molpopgen/cython/statuses/{sha}","languages_url":"https://api.github.com/repos/molpopgen/cython/languages","stargazers_url":"https://api.github.com/repos/molpopgen/cython/stargazers","contributors_url":"https://api.github.com/repos/molpopgen/cython/contributors","subscribers_url":"https://api.github.com/repos/molpopgen/cython/subscribers","subscription_url":"https://api.github.com/repos/molpopgen/cython/subscription","commits_url":"https://api.github.com/repos/molpopgen/cython/commits{/sha}","git_commits_url":"https://api.github.com/repos/molpopgen/cython/git/commits{/sha}","comments_url":"https://api.github.com/repos/molpopgen/cython/comments{/number}","issue_comment_url":"https://api.github.com/repos/molpopgen/cython/issues/comments{/number}","contents_url":"https://api.github.com/repos/molpopgen/cython/contents/{+path}","compare_url":"https://api.github.com/repos/molpopgen/cython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/molpopgen/cython/merges","archive_url":"https://api.github.com/repos/molpopgen/cython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/molpopgen/cython/downloads","issues_url":"https://api.github.com/repos/molpopgen/cython/issues{/number}","pulls_url":"https://api.github.com/repos/molpopgen/cython/pulls{/number}","milestones_url":"https://api.github.com/repos/molpopgen/cython/milestones{/number}","notifications_url":"https://api.github.com/repos/molpopgen/cython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/molpopgen/cython/labels{/name}","releases_url":"https://api.github.com/repos/molpopgen/cython/releases{/id}","created_at":"2015-10-10T22:34:34Z","updated_at":"2015-10-10T22:34:43Z","pushed_at":"2015-12-03T00:57:55Z","git_url":"git://github.com/molpopgen/cython.git","ssh_url":"git@github.com:molpopgen/cython.git","clone_url":"https://github.com/molpopgen/cython.git","svn_url":"https://github.com/molpopgen/cython","homepage":"http://cython.org","size":51685,"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":"cython:master","ref":"master","sha":"0c62e665c02b438be331e445bbde2f1c6bd9dff0","user":{"login":"cython","id":486082,"avatar_url":"https://avatars.githubusercontent.com/u/486082?v=3","gravatar_id":"","url":"https://api.github.com/users/cython","html_url":"https://github.com/cython","followers_url":"https://api.github.com/users/cython/followers","following_url":"https://api.github.com/users/cython/following{/other_user}","gists_url":"https://api.github.com/users/cython/gists{/gist_id}","starred_url":"https://api.github.com/users/cython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cython/subscriptions","organizations_url":"https://api.github.com/users/cython/orgs","repos_url":"https://api.github.com/users/cython/repos","events_url":"https://api.github.com/users/cython/events{/privacy}","received_events_url":"https://api.github.com/users/cython/received_events","type":"Organization","site_admin":false},"repo":{"id":1099265,"name":"cython","full_name":"cython/cython","owner":{"login":"cython","id":486082,"avatar_url":"https://avatars.githubusercontent.com/u/486082?v=3","gravatar_id":"","url":"https://api.github.com/users/cython","html_url":"https://github.com/cython","followers_url":"https://api.github.com/users/cython/followers","following_url":"https://api.github.com/users/cython/following{/other_user}","gists_url":"https://api.github.com/users/cython/gists{/gist_id}","starred_url":"https://api.github.com/users/cython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cython/subscriptions","organizations_url":"https://api.github.com/users/cython/orgs","repos_url":"https://api.github.com/users/cython/repos","events_url":"https://api.github.com/users/cython/events{/privacy}","received_events_url":"https://api.github.com/users/cython/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cython/cython","description":"A Python to C compiler","fork":false,"url":"https://api.github.com/repos/cython/cython","forks_url":"https://api.github.com/repos/cython/cython/forks","keys_url":"https://api.github.com/repos/cython/cython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cython/cython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cython/cython/teams","hooks_url":"https://api.github.com/repos/cython/cython/hooks","issue_events_url":"https://api.github.com/repos/cython/cython/issues/events{/number}","events_url":"https://api.github.com/repos/cython/cython/events","assignees_url":"https://api.github.com/repos/cython/cython/assignees{/user}","branches_url":"https://api.github.com/repos/cython/cython/branches{/branch}","tags_url":"https://api.github.com/repos/cython/cython/tags","blobs_url":"https://api.github.com/repos/cython/cython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cython/cython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cython/cython/git/refs{/sha}","trees_url":"https://api.github.com/repos/cython/cython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cython/cython/statuses/{sha}","languages_url":"https://api.github.com/repos/cython/cython/languages","stargazers_url":"https://api.github.com/repos/cython/cython/stargazers","contributors_url":"https://api.github.com/repos/cython/cython/contributors","subscribers_url":"https://api.github.com/repos/cython/cython/subscribers","subscription_url":"https://api.github.com/repos/cython/cython/subscription","commits_url":"https://api.github.com/repos/cython/cython/commits{/sha}","git_commits_url":"https://api.github.com/repos/cython/cython/git/commits{/sha}","comments_url":"https://api.github.com/repos/cython/cython/comments{/number}","issue_comment_url":"https://api.github.com/repos/cython/cython/issues/comments{/number}","contents_url":"https://api.github.com/repos/cython/cython/contents/{+path}","compare_url":"https://api.github.com/repos/cython/cython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cython/cython/merges","archive_url":"https://api.github.com/repos/cython/cython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cython/cython/downloads","issues_url":"https://api.github.com/repos/cython/cython/issues{/number}","pulls_url":"https://api.github.com/repos/cython/cython/pulls{/number}","milestones_url":"https://api.github.com/repos/cython/cython/milestones{/number}","notifications_url":"https://api.github.com/repos/cython/cython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cython/cython/labels{/name}","releases_url":"https://api.github.com/repos/cython/cython/releases{/id}","created_at":"2010-11-21T07:44:20Z","updated_at":"2015-12-02T21:32:39Z","pushed_at":"2015-12-02T22:20:48Z","git_url":"git://github.com/cython/cython.git","ssh_url":"git@github.com:cython/cython.git","clone_url":"https://github.com/cython/cython.git","svn_url":"https://github.com/cython/cython","homepage":"http://cython.org","size":54213,"stargazers_count":1398,"watchers_count":1398,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":352,"mirror_url":null,"open_issues_count":29,"forks":352,"open_issues":29,"watchers":1398,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cython/cython/pulls/471"},"html":{"href":"https://github.com/cython/cython/pull/471"},"issue":{"href":"https://api.github.com/repos/cython/cython/issues/471"},"comments":{"href":"https://api.github.com/repos/cython/cython/issues/471/comments"},"review_comments":{"href":"https://api.github.com/repos/cython/cython/pulls/471/comments"},"review_comment":{"href":"https://api.github.com/repos/cython/cython/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cython/cython/pulls/471/commits"},"statuses":{"href":"https://api.github.com/repos/cython/cython/statuses/a99692bed055418bc0c63e6f1321d8763a4f4c4f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":165,"deletions":1,"changed_files":4}}