{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/16563","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/16563/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/16563/comments","events_url":"https://api.github.com/repos/golang/go/issues/16563/events","html_url":"https://github.com/golang/go/issues/16563","id":168663304,"number":16563,"title":"fmt: Scanf EOF error inconsistency","user":{"login":"fjl","id":6915,"avatar_url":"https://avatars3.githubusercontent.com/u/6915?v=3","gravatar_id":"","url":"https://api.github.com/users/fjl","html_url":"https://github.com/fjl","followers_url":"https://api.github.com/users/fjl/followers","following_url":"https://api.github.com/users/fjl/following{/other_user}","gists_url":"https://api.github.com/users/fjl/gists{/gist_id}","starred_url":"https://api.github.com/users/fjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjl/subscriptions","organizations_url":"https://api.github.com/users/fjl/orgs","repos_url":"https://api.github.com/users/fjl/repos","events_url":"https://api.github.com/users/fjl/events{/privacy}","received_events_url":"https://api.github.com/users/fjl/received_events","type":"User","site_admin":false},"labels":[{"id":373399998,"url":"https://api.github.com/repos/golang/go/labels/NeedsFix","name":"NeedsFix","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/49","html_url":"https://github.com/golang/go/milestone/49","labels_url":"https://api.github.com/repos/golang/go/milestones/49/labels","id":2053058,"number":49,"title":"Go1.9","description":"","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars2.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":262,"closed_issues":491,"state":"open","created_at":"2016-10-06T18:17:55Z","updated_at":"2017-06-08T21:51:39Z","due_on":"2017-07-31T07:00:00Z","closed_at":null},"comments":3,"created_at":"2016-08-01T14:44:38Z","updated_at":"2017-06-08T21:52:17Z","closed_at":null,"body":"Please answer these questions before submitting your issue. Thanks!\n\n_What version of Go are you using (`go version`)?_\n\n`go version devel +ff227b8 Thu Jul 21 01:04:22 2016 +0000 linux/amd64`\nbut older versions of Go are also affected.\n\n_What operating system and processor architecture are you using (`go env`)?_\n\n``` text\nGOARCH=\"amd64\"\nGOBIN=\"/home/fjl/bin\"\nGOEXE=\"\"\nGOHOSTARCH=\"amd64\"\nGOHOSTOS=\"linux\"\nGOOS=\"linux\"\nGOPATH=\"/home/fjl/\"\nGORACE=\"\"\nGOROOT=\"/usr/lib/go\"\nGOTOOLDIR=\"/usr/lib/go/pkg/tool/linux_amd64\"\nCC=\"gcc\"\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build153025883=/tmp/go-build -gno-record-gcc-switches\"\nCXX=\"g++\"\nCGO_ENABLED=\"1\"\n```\n\n_What did you do?_\n\nI use fmt.Sscanf to parse integers and big integers.\n\nhttps://play.golang.org/p/aZVlPM7haY\n\n_What did you expect to see?_\n\nWhen there is not enough input Sscanf (and Fscanf, Scanf) should return io.ErrUnexpectedEOF\n\n_What did you see instead?_\n\nIt returns io.ErrUnexpectedEOF for big.Int and io.EOF for uint.\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/307237774","html_url":"https://github.com/golang/go/issues/16563#issuecomment-307237774","issue_url":"https://api.github.com/repos/golang/go/issues/16563","id":307237774,"user":{"login":"robpike","id":4324516,"avatar_url":"https://avatars3.githubusercontent.com/u/4324516?v=3","gravatar_id":"","url":"https://api.github.com/users/robpike","html_url":"https://github.com/robpike","followers_url":"https://api.github.com/users/robpike/followers","following_url":"https://api.github.com/users/robpike/following{/other_user}","gists_url":"https://api.github.com/users/robpike/gists{/gist_id}","starred_url":"https://api.github.com/users/robpike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robpike/subscriptions","organizations_url":"https://api.github.com/users/robpike/orgs","repos_url":"https://api.github.com/users/robpike/repos","events_url":"https://api.github.com/users/robpike/events{/privacy}","received_events_url":"https://api.github.com/users/robpike/received_events","type":"User","site_admin":false},"created_at":"2017-06-08T21:52:17Z","updated_at":"2017-06-08T21:52:17Z","body":"Punt to 1.10. Also @rsc was the last one to work on that code, although the problems could well be original. Scanf should never have been written. Mea culpa."}}
{"actor":{"display_login":"robpike"}}