{"action":"created","issue":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/250","repository_url":"https://api.github.com/repos/bbcmicrobit/micropython","labels_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/250/comments","events_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/250/events","html_url":"https://github.com/bbcmicrobit/micropython/pull/250","id":144535893,"number":250,"title":"Prevent map resize failure from destroying map.","user":{"login":"stephenkyle-ARM","id":18005244,"avatar_url":"https://avatars.githubusercontent.com/u/18005244?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenkyle-ARM","html_url":"https://github.com/stephenkyle-ARM","followers_url":"https://api.github.com/users/stephenkyle-ARM/followers","following_url":"https://api.github.com/users/stephenkyle-ARM/following{/other_user}","gists_url":"https://api.github.com/users/stephenkyle-ARM/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenkyle-ARM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenkyle-ARM/subscriptions","organizations_url":"https://api.github.com/users/stephenkyle-ARM/orgs","repos_url":"https://api.github.com/users/stephenkyle-ARM/repos","events_url":"https://api.github.com/users/stephenkyle-ARM/events{/privacy}","received_events_url":"https://api.github.com/users/stephenkyle-ARM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-30T10:18:10Z","updated_at":"2016-04-17T11:34:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/250","html_url":"https://github.com/bbcmicrobit/micropython/pull/250","diff_url":"https://github.com/bbcmicrobit/micropython/pull/250.diff","patch_url":"https://github.com/bbcmicrobit/micropython/pull/250.patch"},"body":"Previously if you tried to add an element to a map that couldn't be expanded further, this would leave the original map unable to be used (i.e., len(map) would return 0, and no elements were accessible). This defers changing the original map until a point where the resizing is known to have succeeded."},"comment":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/comments/211003784","html_url":"https://github.com/bbcmicrobit/micropython/pull/250#issuecomment-211003784","issue_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/250","id":211003784,"user":{"login":"ntoll","id":37602,"avatar_url":"https://avatars.githubusercontent.com/u/37602?v=3","gravatar_id":"","url":"https://api.github.com/users/ntoll","html_url":"https://github.com/ntoll","followers_url":"https://api.github.com/users/ntoll/followers","following_url":"https://api.github.com/users/ntoll/following{/other_user}","gists_url":"https://api.github.com/users/ntoll/gists{/gist_id}","starred_url":"https://api.github.com/users/ntoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntoll/subscriptions","organizations_url":"https://api.github.com/users/ntoll/orgs","repos_url":"https://api.github.com/users/ntoll/repos","events_url":"https://api.github.com/users/ntoll/events{/privacy}","received_events_url":"https://api.github.com/users/ntoll/received_events","type":"User","site_admin":false},"created_at":"2016-04-17T11:34:49Z","updated_at":"2016-04-17T11:34:49Z","body":"OK... let's grab this from upstream!"}}