From: Andrew Date: Wed, 12 Aug 2020 21:45:48 +0000 (-0400) Subject: [release-branch.go1.15] doc/go1.15: include behavior updates to the context package X-Git-Tag: go1.15.2~20 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=91de29ec8f069ceb6cd9e2007db6795ce1cc3506;p=gostls13.git [release-branch.go1.15] doc/go1.15: include behavior updates to the context package Fixes #40737 Change-Id: I8e2c1e1653d427af1ded6d61df1aa450e3c4d35c Reviewed-on: https://go-review.googlesource.com/c/go/+/248329 Run-TryBot: Andrew Bonventre TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor (cherry picked from commit b2353174db1349f15113416b4df2a833db6058a6) Reviewed-on: https://go-review.googlesource.com/c/go/+/248331 Reviewed-by: Andrew Gerrand --- diff --git a/doc/go1.15.html b/doc/go1.15.html index 8872d71138..e7b7456059 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -433,6 +433,19 @@ Do not send CLs removing the interior tags from such phrases. +
context
+
+

+ Creating a derived Context using a nil parent is now explicitly + disallowed. Any attempt to do so with the + WithValue, + WithDeadline, or + WithCancel functions + will cause a panic. +

+
+
+
crypto