<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/encoding/gob/encode.go, branch fix-runtime-test-GOMAXPROCS</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=fix-runtime-test-GOMAXPROCS</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=fix-runtime-test-GOMAXPROCS'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2025-02-03T18:30:40Z</updated>
<entry>
<title>all: replace reflect.Value.Type.Kind with reflect.Value.Kind</title>
<updated>2025-02-03T18:30:40Z</updated>
<author>
<name>Sean Liao</name>
<email>sean@liao.dev</email>
</author>
<published>2024-12-01T20:06:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=439d39a719da12c213aeb69a09c5aaef83d9df67'/>
<id>urn:sha1:439d39a719da12c213aeb69a09c5aaef83d9df67</id>
<content type='text'>
Fixes #46107

Change-Id: I170f3cacda652752cd740e04b565a616a0e43fd1
Reviewed-on: https://go-review.googlesource.com/c/go/+/632635
Reviewed-by: Rob Pike &lt;r@golang.org&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Commit-Queue: Ian Lance Taylor &lt;iant@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>crypto/x509: add text and binary marshal methods to OID</title>
<updated>2024-05-16T02:00:26Z</updated>
<author>
<name>Mateusz Poliwczak</name>
<email>mpoliwczak34@gmail.com</email>
</author>
<published>2024-05-15T17:36:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=722d59436bc5881914619d2b95c9d01a46036428'/>
<id>urn:sha1:722d59436bc5881914619d2b95c9d01a46036428</id>
<content type='text'>
Fixes #66249

Change-Id: I5973a19a087a35ad951e8a220d3e6e4456c7577f
GitHub-Last-Rev: 921ca8bd0c08687bb727dbfb0890c3355eebe95b
GitHub-Pull-Request: golang/go#66599
Reviewed-on: https://go-review.googlesource.com/c/go/+/575295
Reviewed-by: Rob Pike &lt;r@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Roland Shoemaker &lt;roland@golang.org&gt;
Auto-Submit: Roland Shoemaker &lt;roland@golang.org&gt;
</content>
</entry>
<entry>
<title>encoding/gob: make x509.Certificate marshalable again</title>
<updated>2024-03-14T16:06:11Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2024-03-12T16:51:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=376be64922f38a78c42c62db189be911160367f8'/>
<id>urn:sha1:376be64922f38a78c42c62db189be911160367f8</id>
<content type='text'>
The OID type is not exported data like most of the other x509 structs.
Using it in x509.Certificate made Certificate not gob-compatible anymore,
which breaks real-world code. As a temporary fix, make gob ignore
that field, making it work as well as it did in Go 1.21.

For Go 1.23, we anticipate adding a proper fix and removing the gob
workaround. See #65633 and #66249 for more details.

For #66249.
Fixes #65633.

Change-Id: Idd1431d15063b3009e15d0565cd3120b9fa13f61
Reviewed-on: https://go-review.googlesource.com/c/go/+/571095
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Rob Pike &lt;r@golang.org&gt;
Reviewed-by: Roland Shoemaker &lt;roland@golang.org&gt;
</content>
</entry>
<entry>
<title>encoding/gob: use reflect.Value.IsZero</title>
<updated>2023-03-29T22:56:35Z</updated>
<author>
<name>Daniel Martí</name>
<email>mvdan@mvdan.cc</email>
</author>
<published>2023-03-25T11:23:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6a51c000def084b820756f066397fd2505e75e25'/>
<id>urn:sha1:6a51c000def084b820756f066397fd2505e75e25</id>
<content type='text'>
The reflect method was added in Go 1.13, in 2019.
gob's own version dates all the way back to 2011.

The behavior appears to be the same, and all tests still pass.
gob does have special cases like always encoding arrays even when they
are the zero value, but that is done via the sendZero boolean field.

Change-Id: I9057b7436963e231fdbf2f6c4b1edb58a2b13305
Reviewed-on: https://go-review.googlesource.com/c/go/+/479397
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Matthew Dempsky &lt;mdempsky@google.com&gt;
Reviewed-by: Rob Pike &lt;r@golang.org&gt;
Run-TryBot: Daniel Martí &lt;mvdan@mvdan.cc&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>all: fix problematic comments</title>
<updated>2023-01-30T18:10:36Z</updated>
<author>
<name>cui fliter</name>
<email>imcusg@gmail.com</email>
</author>
<published>2023-01-29T06:40:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=dbfdc446fe70a3639ba00eb3d9141ba10783d7cf'/>
<id>urn:sha1:dbfdc446fe70a3639ba00eb3d9141ba10783d7cf</id>
<content type='text'>
Change-Id: If092ae7c72b66f172ae32fa6c7294a7ac250362e
Reviewed-on: https://go-review.googlesource.com/c/go/+/463995
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Run-TryBot: Than McIntosh &lt;thanm@google.com&gt;
</content>
</entry>
<entry>
<title>encoding/gob: change typeInfo.encoder type to atomic.Pointer[T]</title>
<updated>2022-08-09T21:26:45Z</updated>
<author>
<name>Ludi Rehak</name>
<email>ludi317@gmail.com</email>
</author>
<published>2022-08-08T21:13:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d39b54171a2702d5fe6fc427b60ee03c9c45da5a'/>
<id>urn:sha1:d39b54171a2702d5fe6fc427b60ee03c9c45da5a</id>
<content type='text'>
Replace loading and storing an atomic.Value of type pointer with
atomic.Pointer.

Change-Id: I018ac1e18eee4f203ebca65c2833daf991075371
Reviewed-on: https://go-review.googlesource.com/c/go/+/422174
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Rob Pike &lt;r@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Rob Pike &lt;r@golang.org&gt;
</content>
</entry>
<entry>
<title>all: gofmt -w -r 'interface{} -&gt; any' src</title>
<updated>2021-12-13T18:45:54Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2021-12-01T17:15:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2580d0e08d5e9f979b943758d3c49877fb2324cb'/>
<id>urn:sha1:2580d0e08d5e9f979b943758d3c49877fb2324cb</id>
<content type='text'>
And then revert the bootstrap cmd directories and certain testdata.
And adjust tests as needed.

Not reverting the changes in std that are bootstrapped,
because some of those changes would appear in API docs,
and we want to use any consistently.
Instead, rewrite 'any' to 'interface{}' in cmd/dist for those directories
when preparing the bootstrap copy.

A few files changed as a result of running gofmt -w
not because of interface{} -&gt; any but because they
hadn't been updated for the new //go:build lines.

Fixes #49884.

Change-Id: Ie8045cba995f65bd79c694ec77a1b3d1fe01bb09
Reviewed-on: https://go-review.googlesource.com/c/go/+/368254
Trust: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Robert Griesemer &lt;gri@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>all: use reflect.{Pointer,PointerTo}</title>
<updated>2021-10-26T14:24:17Z</updated>
<author>
<name>Cuong Manh Le</name>
<email>cuong.manhle.vn@gmail.com</email>
</author>
<published>2021-10-25T16:00:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=283d8a3d53ac1c7e1d7e297497480bf0071b6300'/>
<id>urn:sha1:283d8a3d53ac1c7e1d7e297497480bf0071b6300</id>
<content type='text'>
Updates #47651
Updates #48665

Change-Id: I69a87b45a5cad7a07fbd855040cd9935cf874554
Reviewed-on: https://go-review.googlesource.com/c/go/+/358454
Trust: Cuong Manh Le &lt;cuong.manhle.vn@gmail.com&gt;
Run-TryBot: Cuong Manh Le &lt;cuong.manhle.vn@gmail.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
<entry>
<title>encoding/gob: marshal maps using reflect.Value.MapRange</title>
<updated>2021-09-07T19:14:23Z</updated>
<author>
<name>korzhao</name>
<email>korzhao@tencent.com</email>
</author>
<published>2021-08-04T02:47:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=903958d2f506decf92a1bfd63dfbecadf8375735'/>
<id>urn:sha1:903958d2f506decf92a1bfd63dfbecadf8375735</id>
<content type='text'>
golang.org/cl/33572 added a map iterator.

use the reflect.Value.MapRange to fix map keys that contain a NaN

Fixes #24075

Change-Id: I0214d6f26c2041797703e48eac16404f189d6982
GitHub-Last-Rev: 5c01e117f4451dbaec657d02d006905df1d0055d
GitHub-Pull-Request: golang/go#47476
Reviewed-on: https://go-review.googlesource.com/c/go/+/338609
Trust: Bryan C. Mills &lt;bcmills@google.com&gt;
Run-TryBot: Bryan C. Mills &lt;bcmills@google.com&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Rob Pike &lt;r@golang.org&gt;
</content>
</entry>
<entry>
<title>encoding/gob: rename encBuffer.WriteByte to writeByte</title>
<updated>2019-05-09T18:02:19Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2019-05-08T22:50:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c514071988ac08249c8675dfa501ad242c4c0cec'/>
<id>urn:sha1:c514071988ac08249c8675dfa501ad242c4c0cec</id>
<content type='text'>
Renaming the method makes clear, both to readers and to vet,
that this method is not the implementation of io.ByteWriter.

Working toward making the tree vet-safe instead of having
so many exceptions in cmd/vet/all/whitelist.

For #31916.

Change-Id: I5b509eb7f0118d5f2d3c6e352ff2849cd5a3071e
Reviewed-on: https://go-review.googlesource.com/c/go/+/176110
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
</feed>
