{"action":"created","issue":{"url":"https://api.github.com/repos/praw-dev/praw/issues/485","labels_url":"https://api.github.com/repos/praw-dev/praw/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/praw-dev/praw/issues/485/comments","events_url":"https://api.github.com/repos/praw-dev/praw/issues/485/events","html_url":"https://github.com/praw-dev/praw/issues/485","id":97972923,"number":485,"title":"login() function returning error when given no params","user":{"login":"RGood","id":1679433,"avatar_url":"https://avatars.githubusercontent.com/u/1679433?v=3","gravatar_id":"","url":"https://api.github.com/users/RGood","html_url":"https://github.com/RGood","followers_url":"https://api.github.com/users/RGood/followers","following_url":"https://api.github.com/users/RGood/following{/other_user}","gists_url":"https://api.github.com/users/RGood/gists{/gist_id}","starred_url":"https://api.github.com/users/RGood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RGood/subscriptions","organizations_url":"https://api.github.com/users/RGood/orgs","repos_url":"https://api.github.com/users/RGood/repos","events_url":"https://api.github.com/users/RGood/events{/privacy}","received_events_url":"https://api.github.com/users/RGood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-29T16:15:22Z","updated_at":"2015-08-23T21:02:42Z","closed_at":null,"body":"Whenever the .login() function was called without being passed parameters, it would prompt the user for them. When done now the code throws an exception\r\n\r\n    >>> r.login()\r\n    Username: The1RGood\r\n    Traceback (most recent call last):\r\n      File \"<stdin>\", line 1, in <module>\r\n      File \"<string>\", line 2, in login\r\n      File \"C:\\python27\\lib\\site-packages\\praw-3.1.0-py2.7.egg\\praw\\decorators.py\", line 75, in wrap\r\n        return function(*args, **kwargs)\r\n       File \"C:\\python27\\lib\\site-packages\\praw-3.1.0-py2.7.egg\\praw\\__init__.py\", line 1390, in login\r\n        pswd = getpass.getpass('Password for %s: ' % user)\r\n      File \"C:\\python27\\lib\\getpass.py\", line 95, in win_getpass\r\n        msvcrt.putch(c)\r\n    TypeError: must be char, not unicode"},"comment":{"url":"https://api.github.com/repos/praw-dev/praw/issues/comments/133937337","html_url":"https://github.com/praw-dev/praw/issues/485#issuecomment-133937337","issue_url":"https://api.github.com/repos/praw-dev/praw/issues/485","id":133937337,"user":{"login":"bboe","id":48100,"avatar_url":"https://avatars.githubusercontent.com/u/48100?v=3","gravatar_id":"","url":"https://api.github.com/users/bboe","html_url":"https://github.com/bboe","followers_url":"https://api.github.com/users/bboe/followers","following_url":"https://api.github.com/users/bboe/following{/other_user}","gists_url":"https://api.github.com/users/bboe/gists{/gist_id}","starred_url":"https://api.github.com/users/bboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboe/subscriptions","organizations_url":"https://api.github.com/users/bboe/orgs","repos_url":"https://api.github.com/users/bboe/repos","events_url":"https://api.github.com/users/bboe/events{/privacy}","received_events_url":"https://api.github.com/users/bboe/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T21:02:42Z","updated_at":"2015-08-23T21:02:42Z","body":"Should be fixed in #505."}}