{"action":"created","issue":{"url":"https://api.github.com/repos/kbandla/dpkt/issues/103","labels_url":"https://api.github.com/repos/kbandla/dpkt/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/kbandla/dpkt/issues/103/comments","events_url":"https://api.github.com/repos/kbandla/dpkt/issues/103/events","html_url":"https://github.com/kbandla/dpkt/issues/103","id":84856749,"number":103,"title":"Python 3 support","user":{"login":"kbandla","id":200847,"avatar_url":"https://avatars.githubusercontent.com/u/200847?v=3","gravatar_id":"","url":"https://api.github.com/users/kbandla","html_url":"https://github.com/kbandla","followers_url":"https://api.github.com/users/kbandla/followers","following_url":"https://api.github.com/users/kbandla/following{/other_user}","gists_url":"https://api.github.com/users/kbandla/gists{/gist_id}","starred_url":"https://api.github.com/users/kbandla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbandla/subscriptions","organizations_url":"https://api.github.com/users/kbandla/orgs","repos_url":"https://api.github.com/users/kbandla/repos","events_url":"https://api.github.com/users/kbandla/events{/privacy}","received_events_url":"https://api.github.com/users/kbandla/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kbandla/dpkt/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/kbandla/dpkt/labels/imported","name":"imported","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-04T01:46:07Z","updated_at":"2015-06-04T01:46:07Z","closed_at":null,"body":"_From [johann....@gmail.com](https://code.google.com/u/118084747536112177642/) on September 25, 2011 11:02:57_\n\nAttached is a patch for python3 support.\r\nThe patch is not pretty and not perfect, but it works for me.\r\n\r\nShould work with versions 2.6-3.2, though i only tested it with python2.7 and python3.2. For versions \\< 2.6 there'd be a lot more work to do.\r\n\r\nAPI break for py3k:\r\nyou have to use for example:\r\na = IP(b'asd')\r\nb = bytes(a)\r\nassert a == IP(b)\r\n\r\nFor py2 it should remain the same as before.\n\n**Attachment:** [py3.patch](http://code.google.com/p/dpkt/issues/detail?id=76)\n\n_Original issue: http://code.google.com/p/dpkt/issues/detail?id=76_"},"comment":{"url":"https://api.github.com/repos/kbandla/dpkt/issues/comments/108676353","html_url":"https://github.com/kbandla/dpkt/issues/103#issuecomment-108676353","issue_url":"https://api.github.com/repos/kbandla/dpkt/issues/103","id":108676353,"user":{"login":"kbandla","id":200847,"avatar_url":"https://avatars.githubusercontent.com/u/200847?v=3","gravatar_id":"","url":"https://api.github.com/users/kbandla","html_url":"https://github.com/kbandla","followers_url":"https://api.github.com/users/kbandla/followers","following_url":"https://api.github.com/users/kbandla/following{/other_user}","gists_url":"https://api.github.com/users/kbandla/gists{/gist_id}","starred_url":"https://api.github.com/users/kbandla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbandla/subscriptions","organizations_url":"https://api.github.com/users/kbandla/orgs","repos_url":"https://api.github.com/users/kbandla/repos","events_url":"https://api.github.com/users/kbandla/events{/privacy}","received_events_url":"https://api.github.com/users/kbandla/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T01:46:07Z","updated_at":"2015-06-04T01:46:07Z","body":"_From [phihag.de@gmail.com](https://code.google.com/u/phihag.de@gmail.com/) on July 10, 2012 02:23:05_\n\nWorks fine here, but this patch requires six to be installed."}}