{"action":"created","issue":{"url":"https://api.github.com/repos/PyCQA/pylint/issues/952","repository_url":"https://api.github.com/repos/PyCQA/pylint","labels_url":"https://api.github.com/repos/PyCQA/pylint/issues/952/labels{/name}","comments_url":"https://api.github.com/repos/PyCQA/pylint/issues/952/comments","events_url":"https://api.github.com/repos/PyCQA/pylint/issues/952/events","html_url":"https://github.com/PyCQA/pylint/issues/952","id":162052539,"number":952,"title":"pylint infinite loop with a recursive method + comprehension list","user":{"login":"moylop260","id":6644187,"avatar_url":"https://avatars.githubusercontent.com/u/6644187?v=3","gravatar_id":"","url":"https://api.github.com/users/moylop260","html_url":"https://github.com/moylop260","followers_url":"https://api.github.com/users/moylop260/followers","following_url":"https://api.github.com/users/moylop260/following{/other_user}","gists_url":"https://api.github.com/users/moylop260/gists{/gist_id}","starred_url":"https://api.github.com/users/moylop260/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moylop260/subscriptions","organizations_url":"https://api.github.com/users/moylop260/orgs","repos_url":"https://api.github.com/users/moylop260/repos","events_url":"https://api.github.com/users/moylop260/events{/privacy}","received_events_url":"https://api.github.com/users/moylop260/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-24T00:31:55Z","updated_at":"2016-06-24T00:32:36Z","closed_at":null,"body":"### Steps to reproduce\r\n\r\n1. Save the following code in a file:\r\n\r\n  ```python\r\ndef recursive_method(mylist_objs):\r\n    ids2 = []\r\n    if random.randint(1, 3) == 3:\r\n        ids2 += recursive_method([x.value for x in mylist_objs])\r\n    return ids2\r\n```\r\n2. Execute `pylint myfile.py`\r\n\r\n### Current behaviour\r\n\r\n- `RuntimeError: maximum recursion depth exceeded`\r\n\r\n### Expected behaviour\r\n - pylint checks results.\r\n\r\n### pylint --version output\r\n```bash\r\nNo config file found, using default configuration\r\npylint 2.0.0,\r\nastroid 1.5.0\r\nPython 2.7.6 (default, Jun 22 2015, 17:58:13)\r\n[GCC 4.8.2]\r\n```\r\n\r\nThe shas are the last of master for astroid and pylint.\r\n\r\n\r\nNOTE: Yeah the code is ugly this is just a example to report this issue."},"comment":{"url":"https://api.github.com/repos/PyCQA/pylint/issues/comments/228225388","html_url":"https://github.com/PyCQA/pylint/issues/952#issuecomment-228225388","issue_url":"https://api.github.com/repos/PyCQA/pylint/issues/952","id":228225388,"user":{"login":"moylop260","id":6644187,"avatar_url":"https://avatars.githubusercontent.com/u/6644187?v=3","gravatar_id":"","url":"https://api.github.com/users/moylop260","html_url":"https://github.com/moylop260","followers_url":"https://api.github.com/users/moylop260/followers","following_url":"https://api.github.com/users/moylop260/following{/other_user}","gists_url":"https://api.github.com/users/moylop260/gists{/gist_id}","starred_url":"https://api.github.com/users/moylop260/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moylop260/subscriptions","organizations_url":"https://api.github.com/users/moylop260/orgs","repos_url":"https://api.github.com/users/moylop260/repos","events_url":"https://api.github.com/users/moylop260/events{/privacy}","received_events_url":"https://api.github.com/users/moylop260/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T00:32:36Z","updated_at":"2016-06-24T00:32:36Z","body":"@PCManticore \r\nDo you make sense?"}}
{"actor":{"display_login":"moylop260"}}