{"action":"created","issue":{"url":"https://api.github.com/repos/profjsb/python-bootcamp/issues/5","labels_url":"https://api.github.com/repos/profjsb/python-bootcamp/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/profjsb/python-bootcamp/issues/5/comments","events_url":"https://api.github.com/repos/profjsb/python-bootcamp/issues/5/events","html_url":"https://github.com/profjsb/python-bootcamp/issues/5","id":101224276,"number":5,"title":"nb2to3","user":{"login":"choldgraf","id":1839645,"avatar_url":"https://avatars.githubusercontent.com/u/1839645?v=3","gravatar_id":"","url":"https://api.github.com/users/choldgraf","html_url":"https://github.com/choldgraf","followers_url":"https://api.github.com/users/choldgraf/followers","following_url":"https://api.github.com/users/choldgraf/following{/other_user}","gists_url":"https://api.github.com/users/choldgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/choldgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choldgraf/subscriptions","organizations_url":"https://api.github.com/users/choldgraf/orgs","repos_url":"https://api.github.com/users/choldgraf/repos","events_url":"https://api.github.com/users/choldgraf/events{/privacy}","received_events_url":"https://api.github.com/users/choldgraf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-16T01:46:15Z","updated_at":"2015-08-22T04:41:15Z","closed_at":"2015-08-22T04:41:15Z","body":"Just a quick thing I think the conversion script misses. I was getting an error when Python tried to annotate a plot. Here's the line in question:\r\n\r\n`ax.text(3, 2, str(\"unicode: Institut f\\374r Festk\\366rperphysik\", \"latin-1\"), fontsize=18)`\r\n\r\nI was getting the following error:\r\n\r\n`TypeError: decoding str is not supported`\r\n\r\nI found [this stackoverflow post](http://stackoverflow.com/questions/6269765/what-does-the-b-character-do-in-front-of-a-string-literal), and tried putting a `b` in front of the string. That solved the problem.\r\n\r\n`ax.text(3, 2, str(b\"unicode: Institut f\\374r Festk\\366rperphysik\", \"latin-1\"), fontsize=18)`\r\n\r\nSo perhaps this is something that the conversion tool could look for as well? Any time someone invokes `str(` followed by a string that doesn't begin with `b` followed by any extra arguments, it appends the `b` in there?"},"comment":{"url":"https://api.github.com/repos/profjsb/python-bootcamp/issues/comments/133634472","html_url":"https://github.com/profjsb/python-bootcamp/issues/5#issuecomment-133634472","issue_url":"https://api.github.com/repos/profjsb/python-bootcamp/issues/5","id":133634472,"user":{"login":"choldgraf","id":1839645,"avatar_url":"https://avatars.githubusercontent.com/u/1839645?v=3","gravatar_id":"","url":"https://api.github.com/users/choldgraf","html_url":"https://github.com/choldgraf","followers_url":"https://api.github.com/users/choldgraf/followers","following_url":"https://api.github.com/users/choldgraf/following{/other_user}","gists_url":"https://api.github.com/users/choldgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/choldgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choldgraf/subscriptions","organizations_url":"https://api.github.com/users/choldgraf/orgs","repos_url":"https://api.github.com/users/choldgraf/repos","events_url":"https://api.github.com/users/choldgraf/events{/privacy}","received_events_url":"https://api.github.com/users/choldgraf/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T04:41:15Z","updated_at":"2015-08-22T04:41:15Z","body":"Fair enough - just wanted to bring this to attention just in case...I'll close the issue"}}