{"action":"created","issue":{"url":"https://api.github.com/repos/PyCQA/astroid/issues/435","repository_url":"https://api.github.com/repos/PyCQA/astroid","labels_url":"https://api.github.com/repos/PyCQA/astroid/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/PyCQA/astroid/issues/435/comments","events_url":"https://api.github.com/repos/PyCQA/astroid/issues/435/events","html_url":"https://github.com/PyCQA/astroid/issues/435","id":228785923,"number":435,"title":"\"no member\"","user":{"login":"rustyhowell","id":347223,"avatar_url":"https://avatars0.githubusercontent.com/u/347223?v=3","gravatar_id":"","url":"https://api.github.com/users/rustyhowell","html_url":"https://github.com/rustyhowell","followers_url":"https://api.github.com/users/rustyhowell/followers","following_url":"https://api.github.com/users/rustyhowell/following{/other_user}","gists_url":"https://api.github.com/users/rustyhowell/gists{/gist_id}","starred_url":"https://api.github.com/users/rustyhowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rustyhowell/subscriptions","organizations_url":"https://api.github.com/users/rustyhowell/orgs","repos_url":"https://api.github.com/users/rustyhowell/repos","events_url":"https://api.github.com/users/rustyhowell/events{/privacy}","received_events_url":"https://api.github.com/users/rustyhowell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-15T17:25:51Z","updated_at":"2017-05-15T17:45:34Z","closed_at":null,"body":"pylint is not correctly detecting members in several modules in my project, including netifaces.py.  My code works great and the python interpreter can find the alleged missing members just fine. But pylint cannot. I am using the same virtualenv to run pylint and my code. \r\n* Python 3.5.2\r\n* pytlint 1.7.1\r\n*  asteroid 1.5.2\r\n*  netifaces 0.10.5\r\n* Ubuntu 16.04 LTS x86_64\r\n\r\n### Steps to reproduce\r\nUsing Python 3.5.2, create main.py with the following contents:\r\n```\r\n~$ cat main.py\r\nimport netifaces\r\na = netifaces.gateway()\r\nb = netifaces.AF_INET\r\n```\r\nRun pylint on this small module:\r\n\r\n`~$ pylint main.py `\r\n\r\n\r\n### Current behavior\r\n```\r\npylint_test$ pylint --disable=all --enable=E main.py \r\nNo config file found, using default configuration\r\n************* Module main\r\nE:  4, 4: Module 'netifaces' has no 'gateways' member (no-member)\r\nE:  5, 4: Module 'netifaces' has no 'AF_INET' member (no-member)\r\n```\r\n### Expected behavior\r\n* Pylint should properly detect members in netifaces.py (and other similarly structured modules)\r\n\r\n\r\n### ``python -c \"from astroid import __pkginfo__; print(__pkginfo__.version)\"`` output\r\nastroid version == 1.5.2\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PyCQA/astroid/issues/comments/301549720","html_url":"https://github.com/PyCQA/astroid/issues/435#issuecomment-301549720","issue_url":"https://api.github.com/repos/PyCQA/astroid/issues/435","id":301549720,"user":{"login":"rogalski","id":9485217,"avatar_url":"https://avatars3.githubusercontent.com/u/9485217?v=3","gravatar_id":"","url":"https://api.github.com/users/rogalski","html_url":"https://github.com/rogalski","followers_url":"https://api.github.com/users/rogalski/followers","following_url":"https://api.github.com/users/rogalski/following{/other_user}","gists_url":"https://api.github.com/users/rogalski/gists{/gist_id}","starred_url":"https://api.github.com/users/rogalski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogalski/subscriptions","organizations_url":"https://api.github.com/users/rogalski/orgs","repos_url":"https://api.github.com/users/rogalski/repos","events_url":"https://api.github.com/users/rogalski/events{/privacy}","received_events_url":"https://api.github.com/users/rogalski/received_events","type":"User","site_admin":false},"created_at":"2017-05-15T17:45:34Z","updated_at":"2017-05-15T17:45:34Z","body":"[It's C extension](https://bitbucket.org/al45tair/netifaces/src/master/netifaces.c), consider running it after setting `extension-pkg-whitelist= netifaces `\r\n"}}
{"actor":{"display_login":"rogalski"}}