{"action":"closed","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/1105","labels_url":"https://api.github.com/repos/micropython/micropython/issues/1105/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/1105/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/1105/events","html_url":"https://github.com/micropython/micropython/issues/1105","id":56918221,"number":1105,"title":"TypeError: type 'module' is not an acceptable base type","user":{"login":"slush0","id":565341,"avatar_url":"https://avatars.githubusercontent.com/u/565341?v=3","gravatar_id":"","url":"https://api.github.com/users/slush0","html_url":"https://github.com/slush0","followers_url":"https://api.github.com/users/slush0/followers","following_url":"https://api.github.com/users/slush0/following{/other_user}","gists_url":"https://api.github.com/users/slush0/gists{/gist_id}","starred_url":"https://api.github.com/users/slush0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slush0/subscriptions","organizations_url":"https://api.github.com/users/slush0/orgs","repos_url":"https://api.github.com/users/slush0/repos","events_url":"https://api.github.com/users/slush0/events{/privacy}","received_events_url":"https://api.github.com/users/slush0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-07T17:18:50Z","updated_at":"2015-02-08T07:57:30Z","closed_at":"2015-02-08T07:57:30Z","body":"I just hit this difference between python3 and upython:\r\n\r\n$ micropython\r\nMicro Python v1.3.9-41-g8785645 on 2015-02-07; linux version\r\n>>> from types import ModuleType\r\n>>> class foo(ModuleType): pass\r\nTypeError: type 'module' is not an acceptable base type\r\n\r\nbut\r\n\r\n$ python3\r\nPython 3.3.2+ (default, Feb 28 2014, 00:52:16) [GCC 4.8.1] on linux\r\n>>> from types import ModuleType\r\n>>> class foo(ModuleType): pass\r\n>>> .\r\n\r\nI can probably work-around it, but I'm just curious if it's expected or not."}}