{"action":"created","issue":{"url":"https://api.github.com/repos/svaarala/duktape/issues/413","labels_url":"https://api.github.com/repos/svaarala/duktape/issues/413/labels{/name}","comments_url":"https://api.github.com/repos/svaarala/duktape/issues/413/comments","events_url":"https://api.github.com/repos/svaarala/duktape/issues/413/events","html_url":"https://github.com/svaarala/duktape/issues/413","id":113148840,"number":413,"title":"parseInt shouldn't auto-oct when the radix is 16","user":{"login":"HouQiming","id":8046615,"avatar_url":"https://avatars.githubusercontent.com/u/8046615?v=3","gravatar_id":"","url":"https://api.github.com/users/HouQiming","html_url":"https://github.com/HouQiming","followers_url":"https://api.github.com/users/HouQiming/followers","following_url":"https://api.github.com/users/HouQiming/following{/other_user}","gists_url":"https://api.github.com/users/HouQiming/gists{/gist_id}","starred_url":"https://api.github.com/users/HouQiming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HouQiming/subscriptions","organizations_url":"https://api.github.com/users/HouQiming/orgs","repos_url":"https://api.github.com/users/HouQiming/repos","events_url":"https://api.github.com/users/HouQiming/events{/privacy}","received_events_url":"https://api.github.com/users/HouQiming/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/svaarala/duktape/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/svaarala/duktape/milestones/13","html_url":"https://github.com/svaarala/duktape/milestones/v1.4.0","labels_url":"https://api.github.com/repos/svaarala/duktape/milestones/13/labels","id":1225990,"number":13,"title":"v1.4.0","description":"Call handling, Emscripten performance","creator":{"login":"svaarala","id":6377415,"avatar_url":"https://avatars.githubusercontent.com/u/6377415?v=3","gravatar_id":"","url":"https://api.github.com/users/svaarala","html_url":"https://github.com/svaarala","followers_url":"https://api.github.com/users/svaarala/followers","following_url":"https://api.github.com/users/svaarala/following{/other_user}","gists_url":"https://api.github.com/users/svaarala/gists{/gist_id}","starred_url":"https://api.github.com/users/svaarala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svaarala/subscriptions","organizations_url":"https://api.github.com/users/svaarala/orgs","repos_url":"https://api.github.com/users/svaarala/repos","events_url":"https://api.github.com/users/svaarala/events{/privacy}","received_events_url":"https://api.github.com/users/svaarala/received_events","type":"User","site_admin":false},"open_issues":66,"closed_issues":35,"state":"open","created_at":"2015-07-26T04:06:08Z","updated_at":"2015-10-24T21:38:06Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-10-24T10:10:06Z","updated_at":"2015-10-25T02:18:52Z","closed_at":"2015-10-24T21:38:06Z","body":"Test case:\r\n\r\n    print(parseInt('00e1',16))\r\n\r\nIt prints 0 in duktape 1.3.0. It should print 225 (0xe1). \r\n\r\nIn `duk_bi_global_object_parse_int`, the `radix!=16` hack should unset `DUK_S2N_FLAG_ALLOW_AUTO_OCT_INT` instead of leaving `strip_prefix` as 1 when `radix` is indeed 16.\r\n"},"comment":{"url":"https://api.github.com/repos/svaarala/duktape/issues/comments/150882983","html_url":"https://github.com/svaarala/duktape/issues/413#issuecomment-150882983","issue_url":"https://api.github.com/repos/svaarala/duktape/issues/413","id":150882983,"user":{"login":"fatcerberus","id":4097841,"avatar_url":"https://avatars.githubusercontent.com/u/4097841?v=3","gravatar_id":"","url":"https://api.github.com/users/fatcerberus","html_url":"https://github.com/fatcerberus","followers_url":"https://api.github.com/users/fatcerberus/followers","following_url":"https://api.github.com/users/fatcerberus/following{/other_user}","gists_url":"https://api.github.com/users/fatcerberus/gists{/gist_id}","starred_url":"https://api.github.com/users/fatcerberus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatcerberus/subscriptions","organizations_url":"https://api.github.com/users/fatcerberus/orgs","repos_url":"https://api.github.com/users/fatcerberus/repos","events_url":"https://api.github.com/users/fatcerberus/events{/privacy}","received_events_url":"https://api.github.com/users/fatcerberus/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T02:18:52Z","updated_at":"2015-10-25T02:18:52Z","body":"> Specify 10 for the decimal numeral system commonly used by humans\r\n\r\nI find that profoundly amusing. :)"}}