os, syscall: changes to os.Err* and syscall.Errno not mentioned in release notes and syscall package docs #33436
Labels
Documentation
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
The changes made to the
os
andsyscall
package for #30322 are not mentioned in the Go 1.13 release notes, nor in the documentation forsyscall.Errno
or thesyscall
package.Because users in general cannot redefine the error behavior of the errors defined by their dependencies, as a user I would not expect
syscall.Errno
errors to be defined as equivalent to errors defined in the higher-levelos
package. As noted in #32463 and #33411, the fact that they are has significant, non-trivial implications.If
errors.Is
is now recommended and supported for checking the properties ofsyscall.Errno
errors, thesyscall.Errno
documentation and the Go 1.13 release notes should be updated to mention that.CC @neild @jba @mpvl @rsc @andybons @ianlancetaylor
The text was updated successfully, but these errors were encountered: