{"action":"opened","issue":{"url":"https://api.github.com/repos/brandon-rhodes/pycon-pandas-tutorial/issues/18","repository_url":"https://api.github.com/repos/brandon-rhodes/pycon-pandas-tutorial","labels_url":"https://api.github.com/repos/brandon-rhodes/pycon-pandas-tutorial/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/brandon-rhodes/pycon-pandas-tutorial/issues/18/comments","events_url":"https://api.github.com/repos/brandon-rhodes/pycon-pandas-tutorial/issues/18/events","html_url":"https://github.com/brandon-rhodes/pycon-pandas-tutorial/issues/18","id":188634550,"number":18,"title":"BUILD.py - TypeError with option 'wb'","user":{"login":"speedchase","id":6219992,"avatar_url":"https://avatars.githubusercontent.com/u/6219992?v=3","gravatar_id":"","url":"https://api.github.com/users/speedchase","html_url":"https://github.com/speedchase","followers_url":"https://api.github.com/users/speedchase/followers","following_url":"https://api.github.com/users/speedchase/following{/other_user}","gists_url":"https://api.github.com/users/speedchase/gists{/gist_id}","starred_url":"https://api.github.com/users/speedchase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/speedchase/subscriptions","organizations_url":"https://api.github.com/users/speedchase/orgs","repos_url":"https://api.github.com/users/speedchase/repos","events_url":"https://api.github.com/users/speedchase/events{/privacy}","received_events_url":"https://api.github.com/users/speedchase/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-10T22:21:43Z","updated_at":"2016-11-10T22:21:43Z","closed_at":null,"body":"On Windows with Python 3.5, I get the following error with  'wb' option for the open file statement. As advised, with just the 'w' option, blank lines are added to the file. Below is the error message.\r\n\r\n\\build\\BUILD.py\", line 58, in main\r\n    output.writerow(('title', 'year'))\r\nTypeError: a bytes-like object is required, not 'str'"}}
{"actor":{"display_login":"speedchase"}}