Lichen

lib/posix/__init__.py

601:adcdaeb19307
2017-02-19 Paul Boddie Fixed the context test and set operation to replace the local context with any applicable attribute context. Added a test of method rebinding that requires this fix. method-wrapper-for-context
     1 #!/usr/bin/env python     2      3 "POSIX support package."     4      5 from posix.core import name, linesep     6 from posix.conf import confstr, pathconf, strerror, sysconf     7 from posix.filesys import access, chdir, chmod, chown, lchown, link, listdir, \     8                           lstat, major, makedev, minor, mkdir, mkfifo, mknod, \     9                           readlink, remove, rename, rmdir, symlink, unlink, \    10                           utime    11 from posix.io import close, closerange, dup, dup2, fchdir, fchmod, fchown, \    12                      fdatasync, fdopen, fpathconf, fstat, fstatvfs, fsync, \    13                      ftruncate, isatty, lseek, open, openpty, pipe, putenv, \    14                      read, times, ttyname, umask, uname, unsetenv, write    15 from posix.process import abort, chroot, ctermid, execv, execve, fork, \    16                           forkpty, getcwd, getcwdu, getegid, geteuid, getgid, \    17                           getgroups, getloadavg, getlogin, getpgid, getpgrp, \    18                           getpid, getppid, getresgid, getresuid, getsid, \    19                           getuid, initgroups, kill, killpg, nice, popen, \    20                           setegid, seteuid, setgid, setgroups, setpgid, \    21                           setpgrp, setregid, setresgid, setresuid, setreuid, \    22                           setsid, setuid, system, tcgetpgrp, tcsetpgrp, wait, \    23                           wait3, wait4, waitpid    24 from posix.random import urandom    25 from posix.stat import stat, stat_float_times, statvfs    26 from posix.temp import tempnam, tmpfile, tmpnam    27     28 # vim: tabstop=4 expandtab shiftwidth=4