{"action":"created","issue":{"url":"https://api.github.com/repos/Suor/funcy/issues/39","labels_url":"https://api.github.com/repos/Suor/funcy/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/Suor/funcy/issues/39/comments","events_url":"https://api.github.com/repos/Suor/funcy/issues/39/events","html_url":"https://github.com/Suor/funcy/issues/39","id":128032887,"number":39,"title":"@once and cousins choke on methods","user":{"login":"sbi","id":670763,"avatar_url":"https://avatars.githubusercontent.com/u/670763?v=3","gravatar_id":"","url":"https://api.github.com/users/sbi","html_url":"https://github.com/sbi","followers_url":"https://api.github.com/users/sbi/followers","following_url":"https://api.github.com/users/sbi/following{/other_user}","gists_url":"https://api.github.com/users/sbi/gists{/gist_id}","starred_url":"https://api.github.com/users/sbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbi/subscriptions","organizations_url":"https://api.github.com/users/sbi/orgs","repos_url":"https://api.github.com/users/sbi/repos","events_url":"https://api.github.com/users/sbi/events{/privacy}","received_events_url":"https://api.github.com/users/sbi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-21T22:14:43Z","updated_at":"2016-01-21T22:25:49Z","closed_at":"2016-01-21T22:25:23Z","body":"Using the @once decorators on object methods instead of functions does not work (at least on 1.5, appologies if this was fixed in 1.6, I can't upgrade right now). I'm getting TypeErrors on the number of arguments passed to the wrapped method. Is this supposed to work? If not, I'd try and write a patch."},"comment":{"url":"https://api.github.com/repos/Suor/funcy/issues/comments/173733958","html_url":"https://github.com/Suor/funcy/issues/39#issuecomment-173733958","issue_url":"https://api.github.com/repos/Suor/funcy/issues/39","id":173733958,"user":{"login":"sbi","id":670763,"avatar_url":"https://avatars.githubusercontent.com/u/670763?v=3","gravatar_id":"","url":"https://api.github.com/users/sbi","html_url":"https://github.com/sbi","followers_url":"https://api.github.com/users/sbi/followers","following_url":"https://api.github.com/users/sbi/following{/other_user}","gists_url":"https://api.github.com/users/sbi/gists{/gist_id}","starred_url":"https://api.github.com/users/sbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbi/subscriptions","organizations_url":"https://api.github.com/users/sbi/orgs","repos_url":"https://api.github.com/users/sbi/repos","events_url":"https://api.github.com/users/sbi/events{/privacy}","received_events_url":"https://api.github.com/users/sbi/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T22:25:49Z","updated_at":"2016-01-21T22:25:49Z","body":"I'm sorry, my code was at fault. I should sleep..."}}