{"action":"closed","issue":{"url":"https://api.github.com/repos/uqfoundation/dill/issues/54","labels_url":"https://api.github.com/repos/uqfoundation/dill/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/uqfoundation/dill/issues/54/comments","events_url":"https://api.github.com/repos/uqfoundation/dill/issues/54/events","html_url":"https://github.com/uqfoundation/dill/issues/54","id":37702182,"number":54,"title":"dill.source.getsource() does not return expected results in IPython terminal or Notebook","user":{"login":"vinc456","id":1473574,"avatar_url":"https://avatars.githubusercontent.com/u/1473574?v=3","gravatar_id":"","url":"https://api.github.com/users/vinc456","html_url":"https://github.com/vinc456","followers_url":"https://api.github.com/users/vinc456/followers","following_url":"https://api.github.com/users/vinc456/following{/other_user}","gists_url":"https://api.github.com/users/vinc456/gists{/gist_id}","starred_url":"https://api.github.com/users/vinc456/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinc456/subscriptions","organizations_url":"https://api.github.com/users/vinc456/orgs","repos_url":"https://api.github.com/users/vinc456/repos","events_url":"https://api.github.com/users/vinc456/events{/privacy}","received_events_url":"https://api.github.com/users/vinc456/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/uqfoundation/dill/labels/compatibility","name":"compatibility","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-07-11T22:16:16Z","updated_at":"2015-04-30T05:49:30Z","closed_at":"2015-04-30T05:49:30Z","body":"dill.source.getsource(some_function, enclosing=True) appears to return incorrect output when called from within an IPython terminal or Notebook session. The results differ from that of an ordinary Python terminal.\r\n\r\nI'm running Python 2.7.7 |Anaconda 2.0.1 (64-bit)| (default, Jun 11 2014, 10:40:02) [MSC v.1\r\n500 64 bit (AMD64)] on Windows 7 professional."}}