{"action":"opened","issue":{"url":"https://api.github.com/repos/IssueMigrationTest/Test2/issues/8","labels_url":"https://api.github.com/repos/IssueMigrationTest/Test2/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/IssueMigrationTest/Test2/issues/8/comments","events_url":"https://api.github.com/repos/IssueMigrationTest/Test2/issues/8/events","html_url":"https://github.com/IssueMigrationTest/Test2/issues/8","id":64876858,"number":8,"title":"Illegal class member redefinition needs error message","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/Test2/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/IssueMigrationTest/Test2/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/IssueMigrationTest/Test2/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-28T00:21:29Z","updated_at":"2015-03-28T00:21:29Z","closed_at":null,"body":"**Issue by markdew...@gmail.com**\n_23 Jan 2008 at 5:40 GMT_\n_Originally opened on Google Code_\n\n----\n\n```\nThe attached program initializes a member to 0, and then later redefines\nthe member to a class instance.  This is not allowed within the shedskin model.\nHowever, it should give an error message rather than crashing.\n\nRunning shedskin gives this output:\n\nTraceback (most recent call last):\n  File \"/home/user/software/python/shedskin/shedskin-0.0.26-1/ss.py\", line\n6815, in <module>\n    main()\n  File \"/home/user/software/python/shedskin/shedskin-0.0.26-1/ss.py\", line\n6811, in main\n    analysis(name)\n  File \"/home/user/software/python/shedskin/shedskin-0.0.26-1/ss.py\", line\n6534, in analysis\n    analyze_virtuals()\n  File \"/home/user/software/python/shedskin/shedskin-0.0.26-1/ss.py\", line\n5444, in analyze_virtuals\n    if [cl for cl in concrete_cl.ancestors_upto(abstract_cl) if ident in\ncl.funcs and not cl.funcs[ident].inherited]:\n  File \"/home/user/software/python/shedskin/shedskin-0.0.26-1/ss.py\", line\n108, in ancestors_upto\n    a = a.bases[0] \nIndexError: list index out of range\n\n\n \n```\n\n\n\nAttachments:\n* [c1.py](https://storage.googleapis.com/google-code-attachments/shedskin/issue-3/comment-0/c1.py)\n\n"}}