{"action":"created","comment":{"url":"https://api.github.com/repos/Theano/Theano/pulls/comments/50023726","id":50023726,"diff_hunk":"@@ -1360,8 +1408,9 @@ def get_c_macros(self, node, name, check_input=None):\n         if check_input:\n             # Extract the various properties of the input and output variables\n             variables = node.inputs + node.outputs\n-            variable_names = ([\"INPUT_%i\" % i for i in range(len(node.inputs))] +\n-                              [\"OUTPUT_%i\" % i for i in range(len(node.inputs))])\n+            variable_names = ([\"INPUT_%i\" %\n+                               i for i in range(len(node.inputs))] + [\"OUTPUT_%i\" %\n+                                                                      i for i in range(len(node.inputs))])","path":"theano/gof/op.py","position":229,"original_position":229,"commit_id":"f380577a13e5c376bcc93fbae2c920de89c2e6ec","original_commit_id":"f380577a13e5c376bcc93fbae2c920de89c2e6ec","user":{"login":"lamblin","id":178249,"avatar_url":"https://avatars.githubusercontent.com/u/178249?v=3","gravatar_id":"","url":"https://api.github.com/users/lamblin","html_url":"https://github.com/lamblin","followers_url":"https://api.github.com/users/lamblin/followers","following_url":"https://api.github.com/users/lamblin/following{/other_user}","gists_url":"https://api.github.com/users/lamblin/gists{/gist_id}","starred_url":"https://api.github.com/users/lamblin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamblin/subscriptions","organizations_url":"https://api.github.com/users/lamblin/orgs","repos_url":"https://api.github.com/users/lamblin/repos","events_url":"https://api.github.com/users/lamblin/events{/privacy}","received_events_url":"https://api.github.com/users/lamblin/received_events","type":"User","site_admin":false},"body":"Agreed, I think it is more confusing for several reasons.","created_at":"2016-01-18T17:17:13Z","updated_at":"2016-01-18T17:17:13Z","html_url":"https://github.com/Theano/Theano/pull/3747#discussion_r50023726","pull_request_url":"https://api.github.com/repos/Theano/Theano/pulls/3747","_links":{"self":{"href":"https://api.github.com/repos/Theano/Theano/pulls/comments/50023726"},"html":{"href":"https://github.com/Theano/Theano/pull/3747#discussion_r50023726"},"pull_request":{"href":"https://api.github.com/repos/Theano/Theano/pulls/3747"}}},"pull_request":{"url":"https://api.github.com/repos/Theano/Theano/pulls/3747","id":52753446,"html_url":"https://github.com/Theano/Theano/pull/3747","diff_url":"https://github.com/Theano/Theano/pull/3747.diff","patch_url":"https://github.com/Theano/Theano/pull/3747.patch","issue_url":"https://api.github.com/repos/Theano/Theano/issues/3747","number":3747,"state":"open","locked":false,"title":"Quick python op with gradient","user":{"login":"Sentient07","id":6195312,"avatar_url":"https://avatars.githubusercontent.com/u/6195312?v=3","gravatar_id":"","url":"https://api.github.com/users/Sentient07","html_url":"https://github.com/Sentient07","followers_url":"https://api.github.com/users/Sentient07/followers","following_url":"https://api.github.com/users/Sentient07/following{/other_user}","gists_url":"https://api.github.com/users/Sentient07/gists{/gist_id}","starred_url":"https://api.github.com/users/Sentient07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sentient07/subscriptions","organizations_url":"https://api.github.com/users/Sentient07/orgs","repos_url":"https://api.github.com/users/Sentient07/repos","events_url":"https://api.github.com/users/Sentient07/events{/privacy}","received_events_url":"https://api.github.com/users/Sentient07/received_events","type":"User","site_admin":false},"body":"fix #3094 ","created_at":"2015-12-05T11:46:51Z","updated_at":"2016-01-18T17:17:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d85e548c86ea423c186f787cafebe3682fe5846","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Theano/Theano/pulls/3747/commits","review_comments_url":"https://api.github.com/repos/Theano/Theano/pulls/3747/comments","review_comment_url":"https://api.github.com/repos/Theano/Theano/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Theano/Theano/issues/3747/comments","statuses_url":"https://api.github.com/repos/Theano/Theano/statuses/f380577a13e5c376bcc93fbae2c920de89c2e6ec","head":{"label":"Sentient07:issue-3094","ref":"issue-3094","sha":"f380577a13e5c376bcc93fbae2c920de89c2e6ec","user":{"login":"Sentient07","id":6195312,"avatar_url":"https://avatars.githubusercontent.com/u/6195312?v=3","gravatar_id":"","url":"https://api.github.com/users/Sentient07","html_url":"https://github.com/Sentient07","followers_url":"https://api.github.com/users/Sentient07/followers","following_url":"https://api.github.com/users/Sentient07/following{/other_user}","gists_url":"https://api.github.com/users/Sentient07/gists{/gist_id}","starred_url":"https://api.github.com/users/Sentient07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sentient07/subscriptions","organizations_url":"https://api.github.com/users/Sentient07/orgs","repos_url":"https://api.github.com/users/Sentient07/repos","events_url":"https://api.github.com/users/Sentient07/events{/privacy}","received_events_url":"https://api.github.com/users/Sentient07/received_events","type":"User","site_admin":false},"repo":{"id":46736322,"name":"Theano","full_name":"Sentient07/Theano","owner":{"login":"Sentient07","id":6195312,"avatar_url":"https://avatars.githubusercontent.com/u/6195312?v=3","gravatar_id":"","url":"https://api.github.com/users/Sentient07","html_url":"https://github.com/Sentient07","followers_url":"https://api.github.com/users/Sentient07/followers","following_url":"https://api.github.com/users/Sentient07/following{/other_user}","gists_url":"https://api.github.com/users/Sentient07/gists{/gist_id}","starred_url":"https://api.github.com/users/Sentient07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sentient07/subscriptions","organizations_url":"https://api.github.com/users/Sentient07/orgs","repos_url":"https://api.github.com/users/Sentient07/repos","events_url":"https://api.github.com/users/Sentient07/events{/privacy}","received_events_url":"https://api.github.com/users/Sentient07/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sentient07/Theano","description":"Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. It can use GPUs and perform efficient symbolic differentiation.","fork":true,"url":"https://api.github.com/repos/Sentient07/Theano","forks_url":"https://api.github.com/repos/Sentient07/Theano/forks","keys_url":"https://api.github.com/repos/Sentient07/Theano/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sentient07/Theano/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sentient07/Theano/teams","hooks_url":"https://api.github.com/repos/Sentient07/Theano/hooks","issue_events_url":"https://api.github.com/repos/Sentient07/Theano/issues/events{/number}","events_url":"https://api.github.com/repos/Sentient07/Theano/events","assignees_url":"https://api.github.com/repos/Sentient07/Theano/assignees{/user}","branches_url":"https://api.github.com/repos/Sentient07/Theano/branches{/branch}","tags_url":"https://api.github.com/repos/Sentient07/Theano/tags","blobs_url":"https://api.github.com/repos/Sentient07/Theano/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sentient07/Theano/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sentient07/Theano/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sentient07/Theano/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sentient07/Theano/statuses/{sha}","languages_url":"https://api.github.com/repos/Sentient07/Theano/languages","stargazers_url":"https://api.github.com/repos/Sentient07/Theano/stargazers","contributors_url":"https://api.github.com/repos/Sentient07/Theano/contributors","subscribers_url":"https://api.github.com/repos/Sentient07/Theano/subscribers","subscription_url":"https://api.github.com/repos/Sentient07/Theano/subscription","commits_url":"https://api.github.com/repos/Sentient07/Theano/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sentient07/Theano/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sentient07/Theano/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sentient07/Theano/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sentient07/Theano/contents/{+path}","compare_url":"https://api.github.com/repos/Sentient07/Theano/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sentient07/Theano/merges","archive_url":"https://api.github.com/repos/Sentient07/Theano/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sentient07/Theano/downloads","issues_url":"https://api.github.com/repos/Sentient07/Theano/issues{/number}","pulls_url":"https://api.github.com/repos/Sentient07/Theano/pulls{/number}","milestones_url":"https://api.github.com/repos/Sentient07/Theano/milestones{/number}","notifications_url":"https://api.github.com/repos/Sentient07/Theano/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sentient07/Theano/labels{/name}","releases_url":"https://api.github.com/repos/Sentient07/Theano/releases{/id}","created_at":"2015-11-23T17:21:47Z","updated_at":"2015-11-23T17:21:56Z","pushed_at":"2016-01-07T20:06:32Z","git_url":"git://github.com/Sentient07/Theano.git","ssh_url":"git@github.com:Sentient07/Theano.git","clone_url":"https://github.com/Sentient07/Theano.git","svn_url":"https://github.com/Sentient07/Theano","homepage":"http://www.deeplearning.net/software/theano","size":46996,"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":"Theano:master","ref":"master","sha":"22db393020ed19ca799075529b1e76f3cec4866d","user":{"login":"Theano","id":970517,"avatar_url":"https://avatars.githubusercontent.com/u/970517?v=3","gravatar_id":"","url":"https://api.github.com/users/Theano","html_url":"https://github.com/Theano","followers_url":"https://api.github.com/users/Theano/followers","following_url":"https://api.github.com/users/Theano/following{/other_user}","gists_url":"https://api.github.com/users/Theano/gists{/gist_id}","starred_url":"https://api.github.com/users/Theano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Theano/subscriptions","organizations_url":"https://api.github.com/users/Theano/orgs","repos_url":"https://api.github.com/users/Theano/repos","events_url":"https://api.github.com/users/Theano/events{/privacy}","received_events_url":"https://api.github.com/users/Theano/received_events","type":"Organization","site_admin":false},"repo":{"id":2183193,"name":"Theano","full_name":"Theano/Theano","owner":{"login":"Theano","id":970517,"avatar_url":"https://avatars.githubusercontent.com/u/970517?v=3","gravatar_id":"","url":"https://api.github.com/users/Theano","html_url":"https://github.com/Theano","followers_url":"https://api.github.com/users/Theano/followers","following_url":"https://api.github.com/users/Theano/following{/other_user}","gists_url":"https://api.github.com/users/Theano/gists{/gist_id}","starred_url":"https://api.github.com/users/Theano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Theano/subscriptions","organizations_url":"https://api.github.com/users/Theano/orgs","repos_url":"https://api.github.com/users/Theano/repos","events_url":"https://api.github.com/users/Theano/events{/privacy}","received_events_url":"https://api.github.com/users/Theano/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Theano/Theano","description":"Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. It can use GPUs and perform efficient symbolic differentiation.","fork":false,"url":"https://api.github.com/repos/Theano/Theano","forks_url":"https://api.github.com/repos/Theano/Theano/forks","keys_url":"https://api.github.com/repos/Theano/Theano/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Theano/Theano/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Theano/Theano/teams","hooks_url":"https://api.github.com/repos/Theano/Theano/hooks","issue_events_url":"https://api.github.com/repos/Theano/Theano/issues/events{/number}","events_url":"https://api.github.com/repos/Theano/Theano/events","assignees_url":"https://api.github.com/repos/Theano/Theano/assignees{/user}","branches_url":"https://api.github.com/repos/Theano/Theano/branches{/branch}","tags_url":"https://api.github.com/repos/Theano/Theano/tags","blobs_url":"https://api.github.com/repos/Theano/Theano/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Theano/Theano/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Theano/Theano/git/refs{/sha}","trees_url":"https://api.github.com/repos/Theano/Theano/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Theano/Theano/statuses/{sha}","languages_url":"https://api.github.com/repos/Theano/Theano/languages","stargazers_url":"https://api.github.com/repos/Theano/Theano/stargazers","contributors_url":"https://api.github.com/repos/Theano/Theano/contributors","subscribers_url":"https://api.github.com/repos/Theano/Theano/subscribers","subscription_url":"https://api.github.com/repos/Theano/Theano/subscription","commits_url":"https://api.github.com/repos/Theano/Theano/commits{/sha}","git_commits_url":"https://api.github.com/repos/Theano/Theano/git/commits{/sha}","comments_url":"https://api.github.com/repos/Theano/Theano/comments{/number}","issue_comment_url":"https://api.github.com/repos/Theano/Theano/issues/comments{/number}","contents_url":"https://api.github.com/repos/Theano/Theano/contents/{+path}","compare_url":"https://api.github.com/repos/Theano/Theano/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Theano/Theano/merges","archive_url":"https://api.github.com/repos/Theano/Theano/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Theano/Theano/downloads","issues_url":"https://api.github.com/repos/Theano/Theano/issues{/number}","pulls_url":"https://api.github.com/repos/Theano/Theano/pulls{/number}","milestones_url":"https://api.github.com/repos/Theano/Theano/milestones{/number}","notifications_url":"https://api.github.com/repos/Theano/Theano/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Theano/Theano/labels{/name}","releases_url":"https://api.github.com/repos/Theano/Theano/releases{/id}","created_at":"2011-08-10T03:48:06Z","updated_at":"2016-01-18T17:15:19Z","pushed_at":"2016-01-18T16:30:20Z","git_url":"git://github.com/Theano/Theano.git","ssh_url":"git@github.com:Theano/Theano.git","clone_url":"https://github.com/Theano/Theano.git","svn_url":"https://github.com/Theano/Theano","homepage":"http://www.deeplearning.net/software/theano","size":55616,"stargazers_count":2804,"watchers_count":2804,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1008,"mirror_url":null,"open_issues_count":570,"forks":1008,"open_issues":570,"watchers":2804,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Theano/Theano/pulls/3747"},"html":{"href":"https://github.com/Theano/Theano/pull/3747"},"issue":{"href":"https://api.github.com/repos/Theano/Theano/issues/3747"},"comments":{"href":"https://api.github.com/repos/Theano/Theano/issues/3747/comments"},"review_comments":{"href":"https://api.github.com/repos/Theano/Theano/pulls/3747/comments"},"review_comment":{"href":"https://api.github.com/repos/Theano/Theano/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Theano/Theano/pulls/3747/commits"},"statuses":{"href":"https://api.github.com/repos/Theano/Theano/statuses/f380577a13e5c376bcc93fbae2c920de89c2e6ec"}}}}