Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | Issue #12196: Add pipe2() to the os module. | Charles-François Natali | 2011-05-29 | 1 | -0/+25 |
| | | |||||
* | | Issue #12105: test_posix skips test_oscloexec() on Linux < 2.6.23 | Victor Stinner | 2011-05-23 | 1 | -2/+5 |
| | | |||||
* | | Issue #12105: test_posix, add the value of O_CLOEXEC in the error message | Victor Stinner | 2011-05-23 | 1 | -1/+2 |
| | | |||||
* | | Issue #12105: Add O_CLOEXEC to the os module. | Charles-François Natali | 2011-05-22 | 1 | -0/+7 |
| | | |||||
* | | Call reap_children() at the end of test_posix | Antoine Pitrou | 2011-03-20 | 1 | -1/+4 |
| | | |||||
* | | Issue #11615: Fix sporadic buildbot failures related to #10812. | Ross Lagerwall | 2011-03-20 | 1 | -2/+2 |
| | | |||||
* | | Issue #10812: Add some extra posix functions to the os module. | Ross Lagerwall | 2011-03-17 | 1 | -1/+151 |
| | | |||||
* | | Issue #10755: Add the posix.fdlistdir() function. Patch by Ross Lagerwall. | Antoine Pitrou | 2011-02-25 | 1 | -0/+12 |
| | | |||||
* | | Issue #4761: Add the *at() family of functions (openat(), etc.) to the posix | Antoine Pitrou | 2011-02-25 | 1 | -0/+192 |
|/ | | | | module. Patch by Ross Lagerwall. | ||||
* | Issue #10822: Fix test_posix:test_getgroups failure under Solaris. Patch | Antoine Pitrou | 2011-01-12 | 1 | -1/+4 |
| | | | | by Ross Lagerwall. | ||||
* | #9424: Replace deprecated assert* methods in the Python test suite. | Ezio Melotti | 2010-11-20 | 1 | -1/+1 |
| | |||||
* | Issue #9581: Fix non-working PosixGroupsTester test case | Antoine Pitrou | 2010-09-04 | 1 | -8/+2 |
| | | | | (it only runs as root, which is why nobody bothered about the failure) | ||||
* | add tests for mknod() and mkfifo() #9569 | Benjamin Peterson | 2010-08-17 | 1 | -0/+23 |
| | |||||
* | test_getgroups as introduced with issue7900 failed on systems | Ronald Oussoren | 2010-08-01 | 1 | -4/+4 |
| | | | | | | where 'id -G' and posix.getgroups() returned the same information, but one of the sources contains duplicate information. Rewrite the check using sets instead of lists. | ||||
* | Fix for issue 9367: the test code for os.getgroups | Ronald Oussoren | 2010-07-24 | 1 | -1/+5 |
| | | | | | | assumes that the result of getgroups and the output of the id(1) command return groups in the same order. That assumption is both fragile and false. | ||||
* | This fixes issue7900 by adding code that deals | Ronald Oussoren | 2010-07-23 | 1 | -1/+52 |
| | | | | | | | | | with the fact that getgroups(2) might return more that MAX_GROUPS on OSX. See the issue (and python-dev archives) for the gory details. Summarized: OSX behaves rather oddly and Apple says this is intentional. | ||||
* | Issue #6095: Make directory argument to os.listdir optional. | Martin v. Löwis | 2010-07-23 | 1 | -3/+8 |
| | | | | Patch by Virgil Dupras. | ||||
* | Fix test_posix (regression introduced by r80885) | Victor Stinner | 2010-05-06 | 1 | -2/+6 |
| | |||||
* | Fix the warnings usage in test_posix. | Brett Cannon | 2010-03-20 | 1 | -2/+5 |
| | |||||
* | Merged revisions 77727 via svnmerge from | Ezio Melotti | 2010-01-24 | 1 | -2/+2 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line use assert[Not]IsInstance where appropriate ........ | ||||
* | use assert[Not]In where appropriate | Benjamin Peterson | 2010-01-19 | 1 | -1/+1 |
| | | | | A patch from Dave Malcolm. | ||||
* | Merged revisions ↵ | Benjamin Peterson | 2009-12-31 | 1 | -26/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 76847,76851,76869,76882,76891-76892,76924,77007,77070,77092,77096,77120,77126,77155 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76847 | benjamin.peterson | 2009-12-14 21:25:27 -0600 (Mon, 14 Dec 2009) | 1 line adverb ........ r76851 | benjamin.peterson | 2009-12-15 21:28:52 -0600 (Tue, 15 Dec 2009) | 1 line remove lib2to3 resource ........ r76869 | vinay.sajip | 2009-12-17 08:52:00 -0600 (Thu, 17 Dec 2009) | 1 line Issue #7529: logging: Minor correction to documentation. ........ r76882 | georg.brandl | 2009-12-19 11:30:28 -0600 (Sat, 19 Dec 2009) | 1 line #7527: use standard versionadded tags. ........ r76891 | georg.brandl | 2009-12-19 12:16:31 -0600 (Sat, 19 Dec 2009) | 1 line #7479: add note about function availability on Unices. ........ r76892 | georg.brandl | 2009-12-19 12:20:18 -0600 (Sat, 19 Dec 2009) | 1 line #7480: remove tautology. ........ r76924 | georg.brandl | 2009-12-20 08:28:05 -0600 (Sun, 20 Dec 2009) | 1 line Small indentation fix. ........ r77007 | gregory.p.smith | 2009-12-23 03:31:11 -0600 (Wed, 23 Dec 2009) | 3 lines Fix possible integer overflow in lchown and fchown functions. For issue1747858. ........ r77070 | amaury.forgeotdarc | 2009-12-27 14:06:44 -0600 (Sun, 27 Dec 2009) | 2 lines Fix a typo in comment ........ r77092 | georg.brandl | 2009-12-28 02:48:24 -0600 (Mon, 28 Dec 2009) | 1 line #7404: remove reference to non-existing example files. ........ r77096 | benjamin.peterson | 2009-12-28 14:51:17 -0600 (Mon, 28 Dec 2009) | 1 line document new fix_callable behavior ........ r77120 | georg.brandl | 2009-12-29 15:09:17 -0600 (Tue, 29 Dec 2009) | 1 line #7595: fix typo in argument default constant. ........ r77126 | amaury.forgeotdarc | 2009-12-29 17:06:17 -0600 (Tue, 29 Dec 2009) | 2 lines #7579: Add docstrings to the msvcrt module ........ r77155 | georg.brandl | 2009-12-30 13:03:00 -0600 (Wed, 30 Dec 2009) | 1 line We only support Windows NT derivatives now. ........ |