Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
| * | Issue #14698: Make test_posix more robust when the current UID doesn't have an | Charles-François Natali | 2012-05-02 | 1 | -2/+7 |
| | | | | | | | | associated pwd entry. | ||||
* | | Backing out 86dc014cdd74. Not ready yet | Jesus Cea | 2012-04-26 | 1 | -20/+0 |
| | | |||||
* | | Close #10142: Support for SEEK_HOLE/SEEK_DATA | Jesus Cea | 2012-04-26 | 1 | -0/+20 |
| | | |||||
* | | Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can | Charles-François Natali | 2012-04-17 | 1 | -2/+9 |
|\ \ | |/ | | | | | chown() to root under certain circumstances. | ||||
| * | Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can | Charles-François Natali | 2012-04-17 | 1 | -2/+9 |
| | | | | | | | | chown() to root under certain circumstances. | ||||
* | | Following Nick's suggestion, rename posix.fdlistdir() to posix.flistdir(), to | Charles-François Natali | 2012-02-06 | 1 | -4/+4 |
| | | | | | | | | | | be consistent with other functions accepting file descriptors (fdlistdir() was added in 3.3, so hasn't been released yet). | ||||
* | | Issue #13757: Change os.fdlistdir() so that it duplicates the passed file | Charles-François Natali | 2012-01-10 | 1 | -8/+2 |
| | | | | | | | | descriptor (instead of closing it). | ||||
* | | Issue #13739: In os.listdir(), rewind the directory stream (so that listdir() | Charles-François Natali | 2012-01-08 | 1 | -2/+10 |
| | | | | | | | | can be called again on the same open file). | ||||
* | | Merge 3.2, fix typos. | Florent Xicluna | 2011-11-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
* | | Fix #13327. utimensat now has the atime and mtime arguments set as optional, | Brian Curtin | 2011-11-07 | 1 | -0/+5 |
| | | | | | | | | | | | | | | defaulting to None like the other utimes family members. It now accepts keyword arguments because, unlike other other functions in the family, it has a `flags` value at the end of the argument list (which retains its 0 default). | ||||
* | | Fix 13327. Remove explicit None arguments from futimes, futimens, futimesat, | Brian Curtin | 2011-11-07 | 1 | -0/+4 |
| | | | | | | | | and lutimes. | ||||
* | | Issue #13226: Add RTLD_xxx constants to the os module. These constants can by | Victor Stinner | 2011-10-25 | 1 | -0/+7 |
| | | | | | | | | used with sys.setdlopenflags(). | ||||
* | | Better fix for #12763: test_posix failure on OpenIndiana | Jesus Cea | 2011-09-09 | 1 | -3/+3 |
| | | |||||
* | | Issue #12871: sched_get_priority_(min|max) might not be defined even though | Charles-François Natali | 2011-09-06 | 1 | -0/+2 |
| | | | | | | | | | | <sched.h> is available (most notably on OpenBSD when built without pthread): add an explicit configure check. | ||||
* | | Issue #12783: Fix test_posix failures on FreeBSD buildbots, due to | Charles-François Natali | 2011-08-21 | 1 | -2/+8 |
| | | | | | | | | | | sched_setparam() returning EINVAL for processes with SCHED_OTHER scheduling policy. | ||||
* | | some *nixes decided not to call init process 1 (closes #12763) | Benjamin Peterson | 2011-08-16 | 1 | -1/+1 |
| | | |||||
* | | handle sched_rr_get_interval not working on current | Benjamin Peterson | 2011-08-03 | 1 | -1/+8 |
| | | |||||
* | | fix punctuation | Benjamin Peterson | 2011-08-03 | 1 | -1/+1 |
| | | |||||
* | | fix indentation | Benjamin Peterson | 2011-08-03 | 1 | -2/+2 |
| | | |||||
* | | OSX doesn't check sched_get_priority_(min/max) argument | Benjamin Peterson | 2011-08-03 | 1 | -2/+4 |
| | | |||||
* | | bsd doesn't like letting normal processes set the scheduler | Benjamin Peterson | 2011-08-02 | 1 | -1/+5 |
| | | |||||
* | | check individually for some for sched_ functions | Benjamin Peterson | 2011-08-02 | 1 | -2/+2 |
| | | |||||
* | | sched.h can exist without sched affinity support | Benjamin Peterson | 2011-08-02 | 1 | -4/+6 |
| | | |||||
* | | expose sched.h functions (closes #12655) | Benjamin Peterson | 2011-08-02 | 1 | -1/+132 |
| | | |||||
* | | Issue #8746: Use tempfile module to get tempdir and randomize the | Ned Deily | 2011-07-26 | 1 | -1/+3 |
|\ \ | |/ | | | | | link file name. | ||||
| * | Issue #8746: Use tempfile module to get tempdir and randomize the | Ned Deily | 2011-07-26 | 1 | -1/+3 |
| | | | | | | | | link file name. | ||||
* | | Issue #12451: Add support.create_empty_file() | Victor Stinner | 2011-06-30 | 1 | -4/+4 |
| | | | | | | | | | | | | | | We don't need to create a temporary buffered binary or text file object just to create an empty file. Replace also os.fdopen(handle).close() by os.close(handle). | ||||
* | | Issue #8746: Correct faulty configure checks so that os.chflags() and | Ned Deily | 2011-06-28 | 1 | -12/+47 |
|\ \ | |/ | | | | | | | | | | | os.lchflags() are once again built on systems that support these functions (*BSD and OS X). Also add new stat file flags for OS X (UF_HIDDEN and UF_COMPRESSED). Also add additional tests for os.chflags() and os.lchflags(). (Tests by Garrett Cooper) | ||||
| * | Issue #8746: Correct faulty configure checks so that os.chflags() and | Ned Deily | 2011-06-28 | 1 | -12/+47 |
| | | | | | | | | | | | | | | os.lchflags() are once again built on systems that support these functions (*BSD and OS X). Also add new stat file flags for OS X (UF_HIDDEN and UF_COMPRESSED). Also add additional tests for os.chflags() and os.lchflags(). (Tests by Garrett Cooper) | ||||
* | | Issue #9344: Add os.getgrouplist(). | Ross Lagerwall | 2011-06-10 | 1 | -0/+15 |
| | | |||||
* | | Issue #12196: Make os.pipe2() flags argument mandatory. | Charles-François Natali | 2011-06-06 | 1 | -2/+2 |
| | | |||||
* | | Issue #12196: Make test.support's requires_linux_version a decorator. | Charles-François Natali | 2011-06-03 | 1 | -8/+2 |
| | | |||||
* | | Skip test_pipe2 on Linux kernels older than 2.6.27. | Charles-François Natali | 2011-05-29 | 1 | -0/+4 |
| | |