{"action":"created","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/1962","repository_url":"https://api.github.com/repos/micropython/micropython","labels_url":"https://api.github.com/repos/micropython/micropython/issues/1962/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/1962/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/1962/events","html_url":"https://github.com/micropython/micropython/issues/1962","id":145538494,"number":1962,"title":"mp_fun_kw_t should take const mp_map_t* ?","user":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-03T20:40:16Z","updated_at":"2016-04-04T12:37:51Z","closed_at":"2016-04-04T12:30:47Z","body":"Is there reason we have:\r\n\r\n~~~\r\ntypedef mp_obj_t (*mp_fun_kw_t)(size_t n, const mp_obj_t *, mp_map_t *);\r\n~~~\r\n\r\nNormal args are const, but kwargs map is suddenly not. This causes stuff like `(mp_map_t*)&mp_const_empty_map`."},"comment":{"url":"https://api.github.com/repos/micropython/micropython/issues/comments/205279755","html_url":"https://github.com/micropython/micropython/issues/1962#issuecomment-205279755","issue_url":"https://api.github.com/repos/micropython/micropython/issues/1962","id":205279755,"user":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T12:37:51Z","updated_at":"2016-04-04T12:37:51Z","body":"Actually, 069654f2be1ae370cf32a4e711f252a74326cc56"}}