{"action":"closed","issue":{"url":"https://api.github.com/repos/IronLanguages/main/issues/1374","repository_url":"https://api.github.com/repos/IronLanguages/main","labels_url":"https://api.github.com/repos/IronLanguages/main/issues/1374/labels{/name}","comments_url":"https://api.github.com/repos/IronLanguages/main/issues/1374/comments","events_url":"https://api.github.com/repos/IronLanguages/main/issues/1374/events","html_url":"https://github.com/IronLanguages/main/issues/1374","id":174939610,"number":1374,"title":"__slots__ should not have an effect if it is missing in any of the base classes","user":{"login":"ita1024","id":508304,"avatar_url":"https://avatars.githubusercontent.com/u/508304?v=3","gravatar_id":"","url":"https://api.github.com/users/ita1024","html_url":"https://github.com/ita1024","followers_url":"https://api.github.com/users/ita1024/followers","following_url":"https://api.github.com/users/ita1024/following{/other_user}","gists_url":"https://api.github.com/users/ita1024/gists{/gist_id}","starred_url":"https://api.github.com/users/ita1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ita1024/subscriptions","organizations_url":"https://api.github.com/users/ita1024/orgs","repos_url":"https://api.github.com/users/ita1024/repos","events_url":"https://api.github.com/users/ita1024/events{/privacy}","received_events_url":"https://api.github.com/users/ita1024/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-04T09:20:21Z","updated_at":"2016-09-10T09:59:42Z","closed_at":"2016-09-10T09:59:42Z","body":"The Consumer thread in the following snippet will raise an exception: `'Consumer' object has no attribute '_Verbose_verbose'`:\r\n\r\n```python\r\nimport threading\r\nclass Consumer(threading.Thread):\r\n\t__slots__= ('task', )\r\n\tdef __init__(self, task):\r\n\t\tthreading.Thread.__init__(self)\r\n\t\tself.task = task\r\n\t\tself.setDaemon(1)\r\n\tdef run(self):\r\n\t\tprint \"processing task\", self.task\r\n\r\nobj = Consumer(object())\r\nobj.start()\r\nimport time\r\ntime.sleep(5)\r\n```\r\n\r\nAfter commenting the `__slots__` assignment, the execution will display 'processing task' as expected.\r\n"}}
{"actor":{"display_login":"simplicbe"}}