{"action":"closed","issue":{"url":"https://api.github.com/repos/kbandla/dpkt/issues/209","labels_url":"https://api.github.com/repos/kbandla/dpkt/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/kbandla/dpkt/issues/209/comments","events_url":"https://api.github.com/repos/kbandla/dpkt/issues/209/events","html_url":"https://github.com/kbandla/dpkt/issues/209","id":96807421,"number":209,"title":"Should we drop Python 2.5 and older Python support in dpkt 2.0?","user":{"login":"sunhao2014","id":5916357,"avatar_url":"https://avatars.githubusercontent.com/u/5916357?v=3","gravatar_id":"","url":"https://api.github.com/users/sunhao2014","html_url":"https://github.com/sunhao2014","followers_url":"https://api.github.com/users/sunhao2014/followers","following_url":"https://api.github.com/users/sunhao2014/following{/other_user}","gists_url":"https://api.github.com/users/sunhao2014/gists{/gist_id}","starred_url":"https://api.github.com/users/sunhao2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunhao2014/subscriptions","organizations_url":"https://api.github.com/users/sunhao2014/orgs","repos_url":"https://api.github.com/users/sunhao2014/repos","events_url":"https://api.github.com/users/sunhao2014/events{/privacy}","received_events_url":"https://api.github.com/users/sunhao2014/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-23T12:57:18Z","updated_at":"2015-07-31T13:59:27Z","closed_at":"2015-07-31T13:59:26Z","body":"Hi there,\r\n\r\nRecently I was working on migrating `dpkt` to Python 3, which is an important feature of dpkt 2.0. I discussed with @kbandla early today about dropping the support for Python 2.5 and older versions in our new release. Because we suppose there are not so many users still run our packet on those old Python machines, also it will make it easier for our migration job. For instance, in Python 2 iterators have a `.next()` method we use to get the next value from the iterator. For example,\r\n\r\n``` python\r\n>>> i = iter(range(5))\r\n>>> i.next()\r\n0\r\n>>> i.next()\r\n1\r\n```\r\n\r\nThis special method has in Python 3 been renamed to `.__next__()` to be consistent with the naming of special attributes elswhere in Python. However, we should generally not call it directly, but instead use the builtin is `next()` function. _However, this function is only available from Python 2.6._\r\n\r\nThere are also some similar issues for the migration to Python 3. Thus what's your opinion? Should we just drop the support for old Python versions (<= 2.5)?\r\n\r\nThanks,\r\nHao\r\n"}}