Skip to content

os, syscall: changes to os.Err* and syscall.Errno not mentioned in release notes and syscall package docs #33436

Closed
@bcmills

Description

@bcmills

The changes made to the os and syscall package for #30322 are not mentioned in the Go 1.13 release notes, nor in the documentation for syscall.Errno or the syscall 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-level os 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 of syscall.Errno errors, the syscall.Errno documentation and the Go 1.13 release notes should be updated to mention that.

CC @neild @jba @mpvl @rsc @andybons @ianlancetaylor

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.release-blocker

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions