From: Michael Pratt
Date: Mon, 11 Dec 2023 20:49:09 +0000 (-0500)
Subject: doc/go1.22: add TODOs for missing APIs
X-Git-Tag: go1.22rc1~43
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d0ed476f3e08a66e379682d4f7538c23ec1c2284;p=gostls13.git
doc/go1.22: add TODOs for missing APIs
Add TODOs for APIs mentioned in api/go1.22.txt but missing from the
release notes.
The issue list was generated with:
$ awk '{print substr($NF, 2, length($NF)-1)}' < ../api/go1.22.txt | uniq | xargs -I{} sh -c 'echo -n "{}: " && grep -c {} ../doc/go1.22.html'
For #61422.
Change-Id: I85d41c28530e6b5e3e388a41206b251278c91dd5
Reviewed-on: https://go-review.googlesource.com/c/go/+/548937
Auto-Submit: Michael Pratt
LUCI-TryBot-Result: Go LUCI
Reviewed-by: Michael Knyszek
---
diff --git a/doc/go1.22.html b/doc/go1.22.html
index 0b222a2e49..b9286f7898 100644
--- a/doc/go1.22.html
+++ b/doc/go1.22.html
@@ -324,6 +324,14 @@ defer func() {
+- archive/zip
+ -
+
+ TODO: https://go.dev/issue/54898: archive/zip: add (*Writer).AddFS
+
+
+
+
- bufio
-
@@ -481,6 +489,10 @@ defer func() {
see Object
, Info.Uses
,
and Info.Defs
for details.
+
+
+ TODO: https://go.dev/issue/60061: go/ast: add func Unparen(Expr) Expr
+
@@ -699,12 +711,15 @@ defer func() {
These changes make IsZero
consistent with comparing
a value to zero using the language ==
operator.
-
-
+
The PtrTo
function is deprecated,
in favor of PointerTo
.
+
+
+ TODO: https://go.dev/issue/60088: reflect: add TypeFor
+
@@ -819,7 +834,7 @@ defer func() {
The package remains frozen to most new functionality, and new code remains encouraged to use golang.org/x/sys/unix
or golang.org/x/sys/windows
where possible.
-
+
On Linux, the new SysProcAttr.PidFD
field allows obtaining a PID FD when starting a child process via StartProcess
or os/exec
.