aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorDamien Neil <dneil@google.com>2019-07-31 13:13:39 -0700
committerDamien Neil <dneil@google.com>2019-08-01 15:39:45 +0000
commitea8b0acdac0c542a5cd9249861ddc1c43e9c71ba (patch)
treefe469be1da7541ac4d8348492bf5b6cc3a1ff8fc /api
parent8a317ebc0f50339628c003bf06107cd865406dd4 (diff)
downloadgo-ea8b0acdac0c542a5cd9249861ddc1c43e9c71ba.tar.gz
go-ea8b0acdac0c542a5cd9249861ddc1c43e9c71ba.zip
all: remove os.ErrTemporary
As discussed in https://github.com/golang/go/issues/32463#issuecomment-506833421 the classification of deadline-based timeouts as "temporary" errors is a historical accident. I/O timeouts used to be duration-based, so they really were temporary--retrying a timed-out operation could succeed. Now that they're deadline-based, timeouts aren't temporary unless you reset the deadline. Drop ErrTemporary from Go 1.13, since its definition is wrong. We'll consider putting it back in Go 1.14 with a clear definition and deprecate net.OpError.Temporary. Fixes #32463 Change-Id: I70cda664590d8872541e17409a5780da76920891 Reviewed-on: https://go-review.googlesource.com/c/go/+/188398 Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'api')
-rw-r--r--api/go1.13.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/api/go1.13.txt b/api/go1.13.txt
index 16f11cf2b7..a8e39ce8ea 100644
--- a/api/go1.13.txt
+++ b/api/go1.13.txt
@@ -237,7 +237,6 @@ pkg os (netbsd-arm64), const O_SYNC = 128
pkg os (netbsd-arm64), const O_TRUNC = 1024
pkg os (netbsd-arm64), const PathListSeparator = 58
pkg os (netbsd-arm64), const PathSeparator = 47
-pkg os, var ErrTemporary error
pkg os, var ErrTimeout error
pkg path/filepath (netbsd-arm64-cgo), const ListSeparator = 58
pkg path/filepath (netbsd-arm64-cgo), const Separator = 47