{"action":"created","issue":{"url":"https://api.github.com/repos/antlr/antlr4-python2/issues/46","labels_url":"https://api.github.com/repos/antlr/antlr4-python2/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/antlr/antlr4-python2/issues/46/comments","events_url":"https://api.github.com/repos/antlr/antlr4-python2/issues/46/events","html_url":"https://github.com/antlr/antlr4-python2/issues/46","id":66063027,"number":46,"title":"self.children[i] if len(self.children)>=i else None","user":{"login":"rljacobson","id":1412598,"avatar_url":"https://avatars.githubusercontent.com/u/1412598?v=3","gravatar_id":"","url":"https://api.github.com/users/rljacobson","html_url":"https://github.com/rljacobson","followers_url":"https://api.github.com/users/rljacobson/followers","following_url":"https://api.github.com/users/rljacobson/following{/other_user}","gists_url":"https://api.github.com/users/rljacobson/gists{/gist_id}","starred_url":"https://api.github.com/users/rljacobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rljacobson/subscriptions","organizations_url":"https://api.github.com/users/rljacobson/orgs","repos_url":"https://api.github.com/users/rljacobson/repos","events_url":"https://api.github.com/users/rljacobson/events{/privacy}","received_events_url":"https://api.github.com/users/rljacobson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-03T03:10:02Z","updated_at":"2015-04-03T15:39:07Z","closed_at":null,"body":"In ParserRuleContext.py we have the definition of getChild():\r\n\r\n---snip---\r\ndef getChild(self, i, type = None):\r\n    if type is None:\r\n        return self.children[i] if len(self.children)>=i else None\r\n---snip---\r\n\r\nSurely the \">=\" is meant to be strict, i.e.:\r\n    return self.children[i] if len(self.children)>i else None"},"comment":{"url":"https://api.github.com/repos/antlr/antlr4-python2/issues/comments/89329682","html_url":"https://github.com/antlr/antlr4-python2/issues/46#issuecomment-89329682","issue_url":"https://api.github.com/repos/antlr/antlr4-python2/issues/46","id":89329682,"user":{"login":"rljacobson","id":1412598,"avatar_url":"https://avatars.githubusercontent.com/u/1412598?v=3","gravatar_id":"","url":"https://api.github.com/users/rljacobson","html_url":"https://github.com/rljacobson","followers_url":"https://api.github.com/users/rljacobson/followers","following_url":"https://api.github.com/users/rljacobson/following{/other_user}","gists_url":"https://api.github.com/users/rljacobson/gists{/gist_id}","starred_url":"https://api.github.com/users/rljacobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rljacobson/subscriptions","organizations_url":"https://api.github.com/users/rljacobson/orgs","repos_url":"https://api.github.com/users/rljacobson/repos","events_url":"https://api.github.com/users/rljacobson/events{/privacy}","received_events_url":"https://api.github.com/users/rljacobson/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T15:39:07Z","updated_at":"2015-04-03T15:39:07Z","body":"Will do. Are you referring to the contributors agreement in the antlr4 repository (https://github.com/antlr/antlr4/blob/master/contributors.txt)? Or is there a separate one for antlr4-python2 specifically that I don't see?"}}