{"action":"created","issue":{"url":"https://api.github.com/repos/jaraco/path.py/issues/102","labels_url":"https://api.github.com/repos/jaraco/path.py/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/jaraco/path.py/issues/102/comments","events_url":"https://api.github.com/repos/jaraco/path.py/issues/102/events","html_url":"https://github.com/jaraco/path.py/issues/102","id":102886423,"number":102,"title":"Pylint gets confused: No name 'path' in module 'path'","user":{"login":"nedbat","id":23789,"avatar_url":"https://avatars.githubusercontent.com/u/23789?v=3","gravatar_id":"","url":"https://api.github.com/users/nedbat","html_url":"https://github.com/nedbat","followers_url":"https://api.github.com/users/nedbat/followers","following_url":"https://api.github.com/users/nedbat/following{/other_user}","gists_url":"https://api.github.com/users/nedbat/gists{/gist_id}","starred_url":"https://api.github.com/users/nedbat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nedbat/subscriptions","organizations_url":"https://api.github.com/users/nedbat/orgs","repos_url":"https://api.github.com/users/nedbat/repos","events_url":"https://api.github.com/users/nedbat/events{/privacy}","received_events_url":"https://api.github.com/users/nedbat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-24T20:39:07Z","updated_at":"2015-08-27T16:08:11Z","closed_at":"2015-08-27T12:20:06Z","body":"Pylint doesn't understand that path.py defines the name \"path\".  It does so with the @alias decorator, which is only used once in the file.  So there are six extra lines of code to define a decorator which only serves to confuse pylint.\r\n\r\nWould you mind getting rid of the decorator and replacing it with ``path = Path``?  Then pylint will understand."},"comment":{"url":"https://api.github.com/repos/jaraco/path.py/issues/comments/135479919","html_url":"https://github.com/jaraco/path.py/issues/102#issuecomment-135479919","issue_url":"https://api.github.com/repos/jaraco/path.py/issues/102","id":135479919,"user":{"login":"Nodd","id":506348,"avatar_url":"https://avatars.githubusercontent.com/u/506348?v=3","gravatar_id":"","url":"https://api.github.com/users/Nodd","html_url":"https://github.com/Nodd","followers_url":"https://api.github.com/users/Nodd/followers","following_url":"https://api.github.com/users/Nodd/following{/other_user}","gists_url":"https://api.github.com/users/Nodd/gists{/gist_id}","starred_url":"https://api.github.com/users/Nodd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nodd/subscriptions","organizations_url":"https://api.github.com/users/Nodd/orgs","repos_url":"https://api.github.com/users/Nodd/repos","events_url":"https://api.github.com/users/Nodd/events{/privacy}","received_events_url":"https://api.github.com/users/Nodd/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T16:08:10Z","updated_at":"2015-08-27T16:08:10Z","body":"@whitmo :+1: \r\n\"almost one year ago\" isn't very far in the past for lots of codebases. Given that a simple `path = Path` keeps back compatibility, it seems logical to keep it. A big warning in the documentation would be useful too."}}