{"action":"created","issue":{"url":"https://api.github.com/repos/python-effect/effect/issues/63","labels_url":"https://api.github.com/repos/python-effect/effect/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/python-effect/effect/issues/63/comments","events_url":"https://api.github.com/repos/python-effect/effect/issues/63/events","html_url":"https://github.com/python-effect/effect/issues/63","id":101242622,"number":63,"title":"perform masks errors","user":{"login":"rbtcollins","id":499678,"avatar_url":"https://avatars.githubusercontent.com/u/499678?v=3","gravatar_id":"","url":"https://api.github.com/users/rbtcollins","html_url":"https://github.com/rbtcollins","followers_url":"https://api.github.com/users/rbtcollins/followers","following_url":"https://api.github.com/users/rbtcollins/following{/other_user}","gists_url":"https://api.github.com/users/rbtcollins/gists{/gist_id}","starred_url":"https://api.github.com/users/rbtcollins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbtcollins/subscriptions","organizations_url":"https://api.github.com/users/rbtcollins/orgs","repos_url":"https://api.github.com/users/rbtcollins/repos","events_url":"https://api.github.com/users/rbtcollins/events{/privacy}","received_events_url":"https://api.github.com/users/rbtcollins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-16T08:23:26Z","updated_at":"2015-08-16T22:08:42Z","closed_at":null,"body":"This is perhaps a usage bug rather than a bug in effect, but:\r\n\r\n```\r\nclass Print:\r\n    def __init__(self, line):\r\n        self.line = line\r\n\r\n\r\n@sync_performer\r\ndef real_print(dispatcher, print_):\r\n    print(print_.line)\r\n    import pdb;pdb.Pdb(stdout=sys.stderr).set_trace()\r\n    sys.stdout.flush()\r\n\r\n\r\nreal_interpreter = ComposedDispatcher([\r\n    TypeDispatcher({Print: real_print}),\r\n    base_dispatcher])\r\n\r\n\r\ndef program():\r\n    return Effect(Print('What... is your quest?'))\r\n\r\n\r\nif __name__ == '__main__':\r\n    perform(real_interpreter, program())\r\n```\r\n\r\n```\r\n$ python 05.py > /dev/full\r\n$ echo $?\r\n0\r\n```\r\n\r\nIt seems reasonable to me that in the absence of a error catcher anywhere that it should ultimately propogate up to perform and beyond."},"comment":{"url":"https://api.github.com/repos/python-effect/effect/issues/comments/131632819","html_url":"https://github.com/python-effect/effect/issues/63#issuecomment-131632819","issue_url":"https://api.github.com/repos/python-effect/effect/issues/63","id":131632819,"user":{"login":"radix","id":227068,"avatar_url":"https://avatars.githubusercontent.com/u/227068?v=3","gravatar_id":"","url":"https://api.github.com/users/radix","html_url":"https://github.com/radix","followers_url":"https://api.github.com/users/radix/followers","following_url":"https://api.github.com/users/radix/following{/other_user}","gists_url":"https://api.github.com/users/radix/gists{/gist_id}","starred_url":"https://api.github.com/users/radix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radix/subscriptions","organizations_url":"https://api.github.com/users/radix/orgs","repos_url":"https://api.github.com/users/radix/repos","events_url":"https://api.github.com/users/radix/events{/privacy}","received_events_url":"https://api.github.com/users/radix/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T22:08:42Z","updated_at":"2015-08-16T22:08:42Z","body":"(also note the difference between `sync_perform` and `sync_performer`. Sorry.)"}}