Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(243)

Issue 1502041: code review 1502041: fmt.Scan: field widths (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 10 months ago by r
Modified:
15 years, 10 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

fmt.Scan: field widths Also fix an interface bug: white-space-delimited doesn't work well for cases like "%d, %d" on "23, 23")

Patch Set 1 #

Patch Set 2 : code review 1502041: fmt.Scan: field widths #

Patch Set 3 : code review 1502041: fmt.Scan: field widths #

Patch Set 4 : code review 1502041: fmt.Scan: field widths #

Patch Set 5 : code review 1502041: fmt.Scan: field widths #

Total comments: 5

Patch Set 6 : code review 1502041: fmt.Scan: field widths #

Patch Set 7 : code review 1502041: fmt.Scan: field widths #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -124 lines) Patch
M src/pkg/fmt/print.go View 1 2 3 4 5 6 3 chunks +11 lines, -8 lines 0 comments Download
M src/pkg/fmt/scan.go View 1 2 3 4 5 18 chunks +170 lines, -78 lines 0 comments Download
M src/pkg/fmt/scan_test.go View 1 2 3 4 5 6 8 chunks +111 lines, -38 lines 0 comments Download

Messages

Total messages: 9
r
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 10 months ago (2010-06-03 06:01:48 UTC) #1
r2
Please hold off. I have a simplification I want to try in the morning. -rob
15 years, 10 months ago (2010-06-03 07:08:30 UTC) #2
r
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 10 months ago (2010-06-03 18:27:31 UTC) #3
rsc1
Does this work or is it an error? var (i int; s string) Sscan("123abc", &i, ...
15 years, 10 months ago (2010-06-03 18:56:36 UTC) #4
r2
On Jun 3, 2010, at 11:56 AM, rsc@google.com wrote: > Does this work or is ...
15 years, 10 months ago (2010-06-03 19:21:24 UTC) #5
rsc
> it works. i can easily make it not work by forcing %v to be ...
15 years, 10 months ago (2010-06-03 20:34:16 UTC) #6
r2
any other comments?
15 years, 10 months ago (2010-06-03 20:58:02 UTC) #7
rsc
LGTM
15 years, 10 months ago (2010-06-03 22:21:32 UTC) #8
r
15 years, 10 months ago (2010-06-03 23:06:44 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=90a03a765b92 ***

fmt.Scan: field widths
Also fix an interface bug: white-space-delimited doesn't work well for cases
like "%d, %d" on "23, 23")

R=rsc
CC=golang-dev
http://codereview.appspot.com/1502041
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b