Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (Merge 3.3) Issue #20113: Fix test_posix on OpenIndiana | Victor Stinner | 2014-01-08 | 1 | -2/+16 |
|\ | |||||
| * | Issue #20113: Fix test_posix on OpenIndiana | Victor Stinner | 2014-01-08 | 1 | -2/+16 |
| | | |||||
* | | (Merge 3.3) Issue #20113: os.readv() and os.writev() now raise an OSError | Victor Stinner | 2014-01-08 | 1 | -1/+9 |
|\ \ | |/ | | | | | exception on error instead of returning -1. | ||||
| * | Issue #20113: os.readv() and os.writev() now raise an OSError exception on | Victor Stinner | 2014-01-08 | 1 | -1/+9 |
| | | | | | | | | error instead of returning -1. | ||||
| * | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -147/+167 |
| | | |||||
* | | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -147/+167 |
| | | |||||
* | | test_posix.test_pipe2() now checks that the O_NONBLOCK flag is set | Victor Stinner | 2013-08-28 | 1 | -2/+4 |
| | | | | | | | | | | Use also os.get_inheritable() instead of fcntl() to check the inheritable flag (FD_CLOEXEC). | ||||
* | | remove support for compiling on systems without getcwd() | Benjamin Peterson | 2013-08-24 | 1 | -33/+31 |
| | | | | | | | | | | Do we need a fallback implementation of getcwd() from 1991 that claims to support "really old Unix systems"? I don't think so. | ||||
* | | Issue #17248: Fix os.*chown() testing when user is in root group. | Serhiy Storchaka | 2013-02-21 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #17248: Fix os.*chown() testing when user is in root group. | Serhiy Storchaka | 2013-02-21 | 1 | -1/+1 |
| |\ | |||||
| | * | Issue #17248: Fix os.*chown() testing when user is in root group. | Serhiy Storchaka | 2013-02-21 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #17248: Fix os.*chown() testing when user has group root. | Serhiy Storchaka | 2013-02-20 | 1 | -2/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #17248: Fix os.*chown() testing when user has group root. | Serhiy Storchaka | 2013-02-20 | 1 | -2/+3 |
| |\ \ | | |/ | |||||
| | * | Issue #17248: Fix os.*chown() testing when user has group root. | Serhiy Storchaka | 2013-02-20 | 1 | -2/+3 |
| | | | |||||
* | | | Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings. | Serhiy Storchaka | 2013-02-20 | 1 | -24/+42 |
|\ \ \ | |/ / | |||||
| * | | Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings. | Serhiy Storchaka | 2013-02-20 | 1 | -24/+42 |
| |\ \ | | |/ | |||||
| | * | Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings. | Serhiy Storchaka | 2013-02-20 | 1 | -24/+42 |
| | | | |||||
| | * | Issue #4591: Uid and gid values larger than 2**31 are supported now. | Serhiy Storchaka | 2013-02-12 | 1 | -6/+23 |
| | | | |||||
* | | | Issue #4591: Uid and gid values larger than 2**31 are supported now. | Serhiy Storchaka | 2013-02-10 | 1 | -6/+23 |
|\ \ \ | |/ / | |||||
| * | | Issue #4591: Uid and gid values larger than 2**31 are supported now. | Serhiy Storchaka | 2013-02-10 | 1 | -6/+23 |
| | | | |||||
* | | | Issue #16698: merge from 3.3 | Ned Deily | 2013-02-02 | 1 | -0/+7 |
|\ \ \ | |/ / | |||||
| * | | Issue #16698: merge from 3.2 | Ned Deily | 2013-02-02 | 1 | -0/+7 |
| |\ \ | | |/ | |||||
| | * | Issue #16698: Skip posix test_getgroups when built with OS X | Ned Deily | 2013-02-02 | 1 | -0/+7 |
| | | | | | | | | | | | | deployment target prior to 10.6. | ||||
| * | | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 1 | -0/+5 |
| |\ \ | | |/ | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
| * | | Fix test_posix failure on NetBSD buildbots: sched_setparam() and | Charles-François Natali | 2013-01-13 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | sched_setscheduler() can fail with EINVAL if the process scheduling policy is neither SCHED_FIFO nor SCHED_RR. | ||||
* | | | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-14 | 1 | -0/+5 |
| | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. | ||||
* | | | Fix test_posix failure on NetBSD buildbots: sched_setparam() and | Charles-François Natali | 2013-01-13 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | sched_setscheduler() can fail with EINVAL if the process scheduling policy is neither SCHED_FIFO nor SCHED_RR. | ||||
* | | | Issue #15972: Fix error messages when os functions expecting a file name or | Serhiy Storchaka | 2013-01-07 | 1 | -0/+24 |
|\ \ \ | |/ / | | | | | | | file descriptor receive the incorrect type. | ||||
| * | | Issue #15972: Fix error messages when os functions expecting a file name or | Serhiy Storchaka | 2013-01-07 | 1 | -0/+24 |
| | | | | | | | | | | | | file descriptor receive the incorrect type. | ||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -1/+1 |
|/ / | |||||
* | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised. | Trent Nelson | 2012-08-21 | 1 | -3/+20 |
| | | | | | | | | This is necessary for ZFS systems, which don't support UF_IMMUTABLE. | ||||
* | | Issue #16661: Fix the os.getgrouplist() test by not assuming that it | Ross Lagerwall | 2012-12-13 | 1 | -10/+3 |
| | | | | | | | | gives the same output as "id -G". | ||||
* | | compare singletons by identity not equality (closes #16712) | Benjamin Peterson | 2012-10-09 | 1 | -2/+2 |
| | | | | | | | | Patch from Serhiy Storchaka. | ||||
* | | Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised. | Trent Nelson | 2012-08-21 | 1 | -3/+20 |
| | | | | | | | | | | | | | | | | This is necessary for ZFS systems, which don't support UF_IMMUTABLE. (Note: this commit is a manual merge of 78699:019a2390b014 as both _test_chflags_regular_file and test_lchflags_symlink differ between 3.2 and default.) | ||||
* | | Issue #12655: Instead of requiring a custom type, os.sched_getaffinity and | Antoine Pitrou | 2012-08-04 | 1 | -76/+21 |
| | | | | | | | | | | os.sched_setaffinity now use regular sets of integers to represent the CPUs a process is restricted to. | ||||
* | | Closes #15514: Correct __sizeof__ support for cpu_set | Jesus Cea | 2012-08-03 | 1 | -0/+6 |
| | | |||||
* | | Cope with OSs lying - #10142: Support for SEEK_HOLE/SEEK_DATA | Jesus Cea | 2012-07-07 | 1 | -8/+12 |
| | | |||||
* | | Use ValueError, not RuntimeError for a utime flag combination illegal on ↵ | Georg Brandl | 2012-06-26 | 1 | -1/+1 |
| | | | | | | | | some systems. | ||||
* | | Skip test in freebsd entirely - Kernel bug in freebsd7/8/9 - #10142: Support ↵ | Jesus Cea | 2012-06-25 | 1 | -1/+1 |
| | | | | | | | | for SEEK_HOLE/SEEK_DATA | ||||
* | | Issue #15176: Clarified behavior, documentation, and implementation | Larry Hastings | 2012-06-25 | 1 | -8/+13 |
| | | | | | | | | of os.listdir(). | ||||
* | | Fix whitespace | Hynek Schlawack | 2012-06-24 | 1 | -3/+3 |
| | | |||||
* | | Skip the test only if neccesary - Kernel bug in freebsd9 - #10142: Support ↵ | Jesus Cea | 2012-06-23 | 1 | -2/+2 |
| | | | | | | | | for SEEK_HOLE/SEEK_DATA | ||||
* | | Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA | Jesus Cea | 2012-06-23 | 1 | -0/+3 |
| | | |||||
* | | Issue #14626: Fix buildbot issues on FreeBSD (AMD64). (Fingers crossed.) | Larry Hastings | 2012-06-23 | 1 | -1/+6 |
| | | |||||
* | | Issue #14626: Large refactoring of functions / parameters in the os module. | Larry Hastings | 2012-06-22 | 1 | -117/+107 |
| | | | | | | | | | | | | | | | | | | Many functions now support "dir_fd" and "follow_symlinks" parameters; some also support accepting an open file descriptor in place of of a path string. Added os.support_* collections as LBYL helpers. Removed many functions only previously seen in 3.3 alpha releases (often starting with "f" or "l", or ending with "at"). Originally suggested by Serhiy Storchaka; implemented by Larry Hastings. | ||||
* | | Closes #10142: Support for SEEK_HOLE/SEEK_DATA | Jesus Cea | 2012-06-22 | 1 | -0/+20 |
| | | |||||
* | | os.popen().close() returns None on success, not 0... | Charles-François Natali | 2012-05-02 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | os.popen().close() returns None on success, not 0... | Charles-François Natali | 2012-05-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #14698: Make test_posix more robust when the current UID doesn't have an | Charles-François Natali | 2012-05-02 | 1 | -3/+9 |
|\ \ | |/ | | | | | associated pwd entry. |