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

Issue 6441152: code review 6441152: fmt: honor integer radix formats (%d etc.) for pointers (Closed)

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

Description

fmt: honor integer radix formats (%d etc.) for pointers Before, pointers always appeared as 0x1234ABCD. This CL keeps that as the default for %p and %v, but lets explicit numeric verbs override the default. Fixes issue 3936.

Patch Set 1 #

Patch Set 2 : diff -r 8f0c8f604ee0 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -4 lines) Patch
M src/pkg/fmt/fmt_test.go View 2 chunks +19 lines, -2 lines 0 comments Download
M src/pkg/fmt/print.go View 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 3
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 8 months ago (2012-08-16 22:28:05 UTC) #1
iant
LGTM
11 years, 8 months ago (2012-08-16 23:18:28 UTC) #2
r
11 years, 8 months ago (2012-08-17 23:12:47 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=365d02e0927c ***

fmt: honor integer radix formats (%d etc.) for pointers
Before, pointers always appeared as 0x1234ABCD. This CL
keeps that as the default for %p and %v, but lets explicit
numeric verbs override the default.
Fixes issue 3936.

R=golang-dev, iant
CC=golang-dev
http://codereview.appspot.com/6441152
Sign in to reply to this message.

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