{"action":"created","issue":{"url":"https://api.github.com/repos/mfonsen/parsestatements/issues/1","repository_url":"https://api.github.com/repos/mfonsen/parsestatements","labels_url":"https://api.github.com/repos/mfonsen/parsestatements/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mfonsen/parsestatements/issues/1/comments","events_url":"https://api.github.com/repos/mfonsen/parsestatements/issues/1/events","html_url":"https://github.com/mfonsen/parsestatements/pull/1","id":154652327,"number":1,"title":"Python 3 compatibility","user":{"login":"akaihola","id":13725,"avatar_url":"https://avatars.githubusercontent.com/u/13725?v=3","gravatar_id":"","url":"https://api.github.com/users/akaihola","html_url":"https://github.com/akaihola","followers_url":"https://api.github.com/users/akaihola/followers","following_url":"https://api.github.com/users/akaihola/following{/other_user}","gists_url":"https://api.github.com/users/akaihola/gists{/gist_id}","starred_url":"https://api.github.com/users/akaihola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaihola/subscriptions","organizations_url":"https://api.github.com/users/akaihola/orgs","repos_url":"https://api.github.com/users/akaihola/repos","events_url":"https://api.github.com/users/akaihola/events{/privacy}","received_events_url":"https://api.github.com/users/akaihola/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-13T07:43:57Z","updated_at":"2016-05-15T08:56:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mfonsen/parsestatements/pulls/1","html_url":"https://github.com/mfonsen/parsestatements/pull/1","diff_url":"https://github.com/mfonsen/parsestatements/pull/1.diff","patch_url":"https://github.com/mfonsen/parsestatements/pull/1.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/mfonsen/parsestatements/issues/comments/219273972","html_url":"https://github.com/mfonsen/parsestatements/pull/1#issuecomment-219273972","issue_url":"https://api.github.com/repos/mfonsen/parsestatements/issues/1","id":219273972,"user":{"login":"mfonsen","id":5822841,"avatar_url":"https://avatars.githubusercontent.com/u/5822841?v=3","gravatar_id":"","url":"https://api.github.com/users/mfonsen","html_url":"https://github.com/mfonsen","followers_url":"https://api.github.com/users/mfonsen/followers","following_url":"https://api.github.com/users/mfonsen/following{/other_user}","gists_url":"https://api.github.com/users/mfonsen/gists{/gist_id}","starred_url":"https://api.github.com/users/mfonsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfonsen/subscriptions","organizations_url":"https://api.github.com/users/mfonsen/orgs","repos_url":"https://api.github.com/users/mfonsen/repos","events_url":"https://api.github.com/users/mfonsen/events{/privacy}","received_events_url":"https://api.github.com/users/mfonsen/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T08:56:15Z","updated_at":"2016-05-15T08:56:15Z","body":"Big thanks for the PR!\r\n\r\nDoes this drop Python 2.7 compatibility?\r\n\r\nI get the following error when testing on a Mac + Python 2.7.11: \r\n```\r\nTraceback (most recent call last):\r\n  File \"statementparser.py\", line 157, in <module>\r\n    transactionsOsuuspankki = filereader(args.input,'csv',osuuspankki.transactionslookup)\r\n  File \"statementparser.py\", line 98, in filereader\r\n    transactions.extend(handlermethod(f,path))\r\n  File \"/Users/mika/projects/parsestatements/osuuspankki.py\", line 207, in transactionslookup\r\n    print('*** Reading file: {}'.format(path))\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 53: ordinal not in range(128)\r\n```\r\nThis points to: https://github.com/akaihola/parsestatements/blob/b828def5a72ae0479906fe0d18f22a2ca451302b/osuuspankki.py#L207\r\n\r\nPlanning to try this with Python 3 later."}}