{"action":"created","issue":{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/132","labels_url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/132/comments","events_url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/132/events","html_url":"https://github.com/IssueMigrationTest/Test5/issues/132","id":65114274,"number":132,"title":"Exception subclasses don't always inherit Exception.__init__","user":{"login":"ShedskinBot","id":11687421,"avatar_url":"https://avatars.githubusercontent.com/u/11687421?v=3","gravatar_id":"","url":"https://api.github.com/users/ShedskinBot","html_url":"https://github.com/ShedskinBot","followers_url":"https://api.github.com/users/ShedskinBot/followers","following_url":"https://api.github.com/users/ShedskinBot/following{/other_user}","gists_url":"https://api.github.com/users/ShedskinBot/gists{/gist_id}","starred_url":"https://api.github.com/users/ShedskinBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShedskinBot/subscriptions","organizations_url":"https://api.github.com/users/ShedskinBot/orgs","repos_url":"https://api.github.com/users/ShedskinBot/repos","events_url":"https://api.github.com/users/ShedskinBot/events{/privacy}","received_events_url":"https://api.github.com/users/ShedskinBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-30T01:17:35Z","updated_at":"2015-03-30T01:18:09Z","closed_at":null,"body":"**Issue by fahhem%r...@gtempaccount.com**\n_3 Mar 2011 at 9:20 GMT_\n_Originally opened on Google Code_\n\n----\n\n```\nfake.py:\nclass Error(Exception):\n    pass\n\nclass BadError(Exception):\n    pass\n\ndef exception_error():\n    raise Error(\"AOE\")\n    raise BadError(\"AOE\")\n\nif __name__=='__main__':\n    Error(\"OE\")\n    BadError()\n    exception_error()\n\n------------\n\nSo Error() is fine because the __main__ calls the Error(string) init, but \nBadError() crashes shedskin like so:\n\n*** SHED SKIN Python-to-C++ Compiler 0.7.1 ***\nCopyright 2005-2010 Mark Dufour; License GNU GPL version 3 (See LICENSE)\n\n[analyzing types..]\n0%\nTraceback (most recent call last):\n  File \"/usr/local/bin/shedskin\", line 3, in <module>\n    shedskin.main()\n  File \"/usr/local/lib/python2.6/dist-packages/shedskin/__init__.py\", line 93, in main\n    start()\n  File \"/usr/local/lib/python2.6/dist-packages/shedskin/__init__.py\", line 86, in start\n    infer.analyze(name)\n  File \"/usr/local/lib/python2.6/dist-packages/shedskin/infer.py\", line 912, in analyze\n    iterative_dataflow_analysis()\n  File \"/usr/local/lib/python2.6/dist-packages/shedskin/infer.py\", line 655, in iterative_dataflow_analysis\n    propagate()\n  File \"/usr/local/lib/python2.6/dist-packages/shedskin/infer.py\", line 144, in propagate\n    cpa(node, worklist)\n  File \"/usr/local/lib/python2.6/dist-packages/shedskin/infer.py\", line 372, in cpa\n    actuals_formals(callfunc, func, callnode, dcpa, cpa, objtype+c, worklist)\n  File \"/usr/local/lib/python2.6/dist-packages/shedskin/infer.py\", line 424, in actuals_formals\n    formalnode = getgx().cnode[func.vars[formal], dcpa, cpa]\nKeyError: ((function (class BadError, '__init__'), 'self'), 1, 1)\n\nSorry about all these issues, I swear I'm doing something that's useful for \nshedskin. I'm a little past halfway into porting binascii.\n\n```\n\n\n"},"comment":{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/comments/87507294","html_url":"https://github.com/IssueMigrationTest/Test5/issues/132#issuecomment-87507294","issue_url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/132","id":87507294,"user":{"login":"ShedskinBot","id":11687421,"avatar_url":"https://avatars.githubusercontent.com/u/11687421?v=3","gravatar_id":"","url":"https://api.github.com/users/ShedskinBot","html_url":"https://github.com/ShedskinBot","followers_url":"https://api.github.com/users/ShedskinBot/followers","following_url":"https://api.github.com/users/ShedskinBot/following{/other_user}","gists_url":"https://api.github.com/users/ShedskinBot/gists{/gist_id}","starred_url":"https://api.github.com/users/ShedskinBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShedskinBot/subscriptions","organizations_url":"https://api.github.com/users/ShedskinBot/orgs","repos_url":"https://api.github.com/users/ShedskinBot/repos","events_url":"https://api.github.com/users/ShedskinBot/events{/privacy}","received_events_url":"https://api.github.com/users/ShedskinBot/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T01:18:09Z","updated_at":"2015-03-30T01:18:09Z","body":"**Comment by [Mark Dufour](/srepmub)**\n_19 Mar 2011 at 10:58 GMT_\n\n----\n\n```\nbtw, how's your project going..? do you have something interesting (and large?) \nyet that we might add to examples/? :-)\n```\n\n\n\n\n"}}