{"action":"created","issue":{"url":"https://api.github.com/repos/benjaminp/six/issues/234","repository_url":"https://api.github.com/repos/benjaminp/six","labels_url":"https://api.github.com/repos/benjaminp/six/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/benjaminp/six/issues/234/comments","events_url":"https://api.github.com/repos/benjaminp/six/issues/234/events","html_url":"https://github.com/benjaminp/six/issues/234","id":307203908,"node_id":"MDU6SXNzdWUzMDcyMDM5MDg=","number":234,"title":"too-many-function-args with functions inside urllib.parse ","user":{"login":"mpeterson","id":11870,"node_id":"MDQ6VXNlcjExODcw","avatar_url":"https://avatars0.githubusercontent.com/u/11870?v=4","gravatar_id":"","url":"https://api.github.com/users/mpeterson","html_url":"https://github.com/mpeterson","followers_url":"https://api.github.com/users/mpeterson/followers","following_url":"https://api.github.com/users/mpeterson/following{/other_user}","gists_url":"https://api.github.com/users/mpeterson/gists{/gist_id}","starred_url":"https://api.github.com/users/mpeterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpeterson/subscriptions","organizations_url":"https://api.github.com/users/mpeterson/orgs","repos_url":"https://api.github.com/users/mpeterson/repos","events_url":"https://api.github.com/users/mpeterson/events{/privacy}","received_events_url":"https://api.github.com/users/mpeterson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-21T11:16:52Z","updated_at":"2018-12-10T00:47:56Z","closed_at":"2018-12-10T00:47:56Z","author_association":"NONE","body":"**Description:**\r\n\r\nThere seems to be a problem with the usage of urllib.parse through six and how pylint handles it. Take the following example:\r\n\r\n**foo.py**\r\n```python\r\nfrom six.moves import urllib_parse as urlparse\r\n\r\nurlparse.urlunparse(\r\n    urlparse.ParseResult('http', '', '', None, None, None)\r\n)\r\n```\r\n\r\nThat would result in a `too-many-function-args` errors from PyLint on urlunparse, as you can see here:\r\n\r\n```\r\n$ pylint foo.py\r\nNo config file found, using default configuration\r\n************* Module foo\r\nC:  1, 0: Missing module docstring (missing-docstring)\r\nE:  3, 0: Too many positional arguments for function call (too-many-function-args)\r\n\r\n----------------------------------------------------------------------\r\nYour code has been rated at -20.00/10 (previous run: -20.00/10, +0.00)\r\n```\r\n\r\n**Version info:**\r\n```\r\n$ pylint --version\r\nNo config file found, using default configuration   \r\npylint 1.8.3,                                       \r\nastroid 1.6.2\r\n```\r\n```\r\n$ python -c 'import six; print(six.__version__)'\r\n1.11.0\r\n```\r\n```\r\n$ python --version\r\nPython 2.7.14\r\n```"},"comment":{"url":"https://api.github.com/repos/benjaminp/six/issues/comments/445600910","html_url":"https://github.com/benjaminp/six/issues/234#issuecomment-445600910","issue_url":"https://api.github.com/repos/benjaminp/six/issues/234","id":445600910,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTYwMDkxMA==","user":{"login":"benjaminp","id":219470,"node_id":"MDQ6VXNlcjIxOTQ3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/219470?v=4","gravatar_id":"","url":"https://api.github.com/users/benjaminp","html_url":"https://github.com/benjaminp","followers_url":"https://api.github.com/users/benjaminp/followers","following_url":"https://api.github.com/users/benjaminp/following{/other_user}","gists_url":"https://api.github.com/users/benjaminp/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminp/subscriptions","organizations_url":"https://api.github.com/users/benjaminp/orgs","repos_url":"https://api.github.com/users/benjaminp/repos","events_url":"https://api.github.com/users/benjaminp/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminp/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T00:47:56Z","updated_at":"2018-12-10T00:47:56Z","author_association":"OWNER","body":"Closing since it seems like this isn't a six bug."}}
{"actor":{"display_login":"benjaminp"}}