Documentation
¶
Overview ¶
Package errno is the gopy port of CPython's built-in errno module. It exposes the host platform's POSIX errno integer constants (EPERM, ENOENT, ...) as module attributes plus an `errorcode` dict that maps each integer value back to its uppercase name string.
The CPython source iterates a long #ifdef-guarded list inside errno_exec; gopy mirrors that with per-GOOS files (entries_darwin.go, entries_linux.go, entries_other.go) so cross-compile stays clean. Each file returns the (name, code) pairs that exist on that platform.
CPython: Modules/errnomodule.c:88 errno_exec
Click to show internal directories.
Click to hide internal directories.