{"action":"created","issue":{"url":"https://api.github.com/repos/wonderfan/python/issues/23","labels_url":"https://api.github.com/repos/wonderfan/python/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/wonderfan/python/issues/23/comments","events_url":"https://api.github.com/repos/wonderfan/python/issues/23/events","html_url":"https://github.com/wonderfan/python/issues/23","id":71617605,"number":23,"title":"Python __new__ method","user":{"login":"wonderfan","id":1715077,"avatar_url":"https://avatars.githubusercontent.com/u/1715077?v=3","gravatar_id":"","url":"https://api.github.com/users/wonderfan","html_url":"https://github.com/wonderfan","followers_url":"https://api.github.com/users/wonderfan/followers","following_url":"https://api.github.com/users/wonderfan/following{/other_user}","gists_url":"https://api.github.com/users/wonderfan/gists{/gist_id}","starred_url":"https://api.github.com/users/wonderfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonderfan/subscriptions","organizations_url":"https://api.github.com/users/wonderfan/orgs","repos_url":"https://api.github.com/users/wonderfan/repos","events_url":"https://api.github.com/users/wonderfan/events{/privacy}","received_events_url":"https://api.github.com/users/wonderfan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wonderfan/python/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-28T15:14:43Z","updated_at":"2015-04-28T22:52:25Z","closed_at":null,"body":"magic methods: <http://www.rafekettler.com/magicmethods.html>"},"comment":{"url":"https://api.github.com/repos/wonderfan/python/issues/comments/97249355","html_url":"https://github.com/wonderfan/python/issues/23#issuecomment-97249355","issue_url":"https://api.github.com/repos/wonderfan/python/issues/23","id":97249355,"user":{"login":"wonderfan","id":1715077,"avatar_url":"https://avatars.githubusercontent.com/u/1715077?v=3","gravatar_id":"","url":"https://api.github.com/users/wonderfan","html_url":"https://github.com/wonderfan","followers_url":"https://api.github.com/users/wonderfan/followers","following_url":"https://api.github.com/users/wonderfan/following{/other_user}","gists_url":"https://api.github.com/users/wonderfan/gists{/gist_id}","starred_url":"https://api.github.com/users/wonderfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonderfan/subscriptions","organizations_url":"https://api.github.com/users/wonderfan/orgs","repos_url":"https://api.github.com/users/wonderfan/repos","events_url":"https://api.github.com/users/wonderfan/events{/privacy}","received_events_url":"https://api.github.com/users/wonderfan/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T22:52:24Z","updated_at":"2015-04-28T22:52:24Z","body":"__new__ is the first method to get called in an object's instantiation. It takes the class, then any other arguments that it will pass along to __init__. __new__ is used fairly rarely, but it does have its purposes, particularly when subclassing an immutable type like a tuple or a string."}}