{"action":"created","issue":{"url":"https://api.github.com/repos/gvwilson/amy/issues/13","labels_url":"https://api.github.com/repos/gvwilson/amy/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/gvwilson/amy/issues/13/comments","events_url":"https://api.github.com/repos/gvwilson/amy/issues/13/events","html_url":"https://github.com/gvwilson/amy/pull/13","id":56247363,"number":13,"title":"Revert StringIO change + fix (not unicode) strings","user":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-02T15:06:48Z","updated_at":"2015-02-02T17:41:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gvwilson/amy/pulls/13","html_url":"https://github.com/gvwilson/amy/pull/13","diff_url":"https://github.com/gvwilson/amy/pull/13.diff","patch_url":"https://github.com/gvwilson/amy/pull/13.patch"},"body":"This pull request reverts \"undoing\" @wking's 0dae639 Py3-compatible change to StringIO.\r\n\r\nAdditionally, it fixes the errors that popped out during tests. The errors were about wrong type being passed to StringIO constructor as an argument: it was \"str\", should be \"unicode\"."},"comment":{"url":"https://api.github.com/repos/gvwilson/amy/issues/comments/72501149","html_url":"https://github.com/gvwilson/amy/pull/13#issuecomment-72501149","issue_url":"https://api.github.com/repos/gvwilson/amy/issues/13","id":72501149,"user":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T17:41:44Z","updated_at":"2015-02-02T17:41:44Z","body":"From what I understand we need:\r\n```python\r\nfrom io import StringIO\r\n```\r\n\r\nplus\r\n```python\r\nfrom __future__ import unicode_literals\r\n```\r\n\r\nplus `python-unicodecsv`.\r\n\r\nFrom my testing, unicode_literals were required for `io.StringIO` but not for `cStringIO.StringIO`."}}