{"action":"created","issue":{"url":"https://api.github.com/repos/peterlevi/variety-slideshow/issues/3","repository_url":"https://api.github.com/repos/peterlevi/variety-slideshow","labels_url":"https://api.github.com/repos/peterlevi/variety-slideshow/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/peterlevi/variety-slideshow/issues/3/comments","events_url":"https://api.github.com/repos/peterlevi/variety-slideshow/issues/3/events","html_url":"https://github.com/peterlevi/variety-slideshow/issues/3","id":173659984,"number":3,"title":"adding Python 3 support","user":{"login":"cgoldberg","id":1113081,"avatar_url":"https://avatars.githubusercontent.com/u/1113081?v=3","gravatar_id":"","url":"https://api.github.com/users/cgoldberg","html_url":"https://github.com/cgoldberg","followers_url":"https://api.github.com/users/cgoldberg/followers","following_url":"https://api.github.com/users/cgoldberg/following{/other_user}","gists_url":"https://api.github.com/users/cgoldberg/gists{/gist_id}","starred_url":"https://api.github.com/users/cgoldberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgoldberg/subscriptions","organizations_url":"https://api.github.com/users/cgoldberg/orgs","repos_url":"https://api.github.com/users/cgoldberg/repos","events_url":"https://api.github.com/users/cgoldberg/events{/privacy}","received_events_url":"https://api.github.com/users/cgoldberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-28T18:23:36Z","updated_at":"2016-09-23T21:11:23Z","closed_at":null,"body":"Hi @peterlevi ,\r\nDo you have plans for porting variety-slideshow to Python 3?  If not, would you be willing to accept a PR if I contributed it?\r\n\r\nThe only dependency used in variety is the `gi` package... and  `python3-gi` has been in the Ubuntu archive since 12.04.  Besides `gi.repository`, the variety codebase uses only standard library modules... so that would be a straight forward effort to support Python 3.\r\n\r\nThere are basically 2 ways to approach Python 3 compatibility:\r\n\r\n1) convert entire source to Python 3 syntax and drop Python 2 support\r\n2) modify variety-slideshow so there is a single codebase that supports both Python2 and Python3 (with conditional imports and such)\r\n\r\nWhich way would you like to see variety go?\r\n\r\nThanks!\r\n\r\n-Corey"},"comment":{"url":"https://api.github.com/repos/peterlevi/variety-slideshow/issues/comments/249303370","html_url":"https://github.com/peterlevi/variety-slideshow/issues/3#issuecomment-249303370","issue_url":"https://api.github.com/repos/peterlevi/variety-slideshow/issues/3","id":249303370,"user":{"login":"peterlevi","id":1457048,"avatar_url":"https://avatars.githubusercontent.com/u/1457048?v=3","gravatar_id":"","url":"https://api.github.com/users/peterlevi","html_url":"https://github.com/peterlevi","followers_url":"https://api.github.com/users/peterlevi/followers","following_url":"https://api.github.com/users/peterlevi/following{/other_user}","gists_url":"https://api.github.com/users/peterlevi/gists{/gist_id}","starred_url":"https://api.github.com/users/peterlevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterlevi/subscriptions","organizations_url":"https://api.github.com/users/peterlevi/orgs","repos_url":"https://api.github.com/users/peterlevi/repos","events_url":"https://api.github.com/users/peterlevi/events{/privacy}","received_events_url":"https://api.github.com/users/peterlevi/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T21:11:23Z","updated_at":"2016-09-23T21:11:23Z","body":"Hi @cgoldberg,\r\n\r\nSorry for slow response, quite busy with work recently, not much time for the personal projects. But I'm happy to hear there's contributors' interest!\r\n\r\nI hadn't planned on porting to Python 3, but, yes, I would accept a PR that makes it support both Python 2 and 3. Dropping Python 2 is a no-go for now, because variety-slideshow is (to some extent) part of Variety (https://launchpad.net/variety) which is Python 2 only, no plans to port that one for now, and I'd prefer Variety + Slideshow combined to require one Python version only on the machine, not both.\r\n\r\nThanks,\r\nPeter"}}
{"actor":{"display_login":"peterlevi"}}