Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #19970: Fix some comment typos. | R David Murray | 2013-12-14 | 1 | -2/+2 |
| | | | | Report and patch by Vajrasky Kok. | ||||
* | Issue #18667: Add missing "HAVE_FCHOWNAT" symbol to posix._have_functions. | Larry Hastings | 2013-08-12 | 1 | -0/+4 |
| | |||||
* | Issue #17557: Fix os.getgroups() to work with the modified behavior of | Ned Deily | 2013-08-02 | 1 | -0/+30 |
| | | | | getgroups(2) on OS X 10.8. Original patch by Mateusz Lenik. | ||||
* | Issue #17899: Fix rare file descriptor leak in os.listdir(). | Larry Hastings | 2013-08-02 | 1 | -0/+11 |
| | | | | (Done as separate patch from trunk as the code has diverged quite a bit.) | ||||
* | Initialize utime with 0. It fixes a couple of compiler warnung: | Christian Heimes | 2013-07-31 | 1 | -0/+1 |
| | | | | warning: 'utime.mtime_ns' may be used uninitialized in this function [-Wmaybe-uninitialized] | ||||
* | Fix posix_chflags(): return_value was uninitialized when follow_symlinks=False | Victor Stinner | 2013-07-18 | 1 | -1/+1 |
| | | | | whereas the fchmodat() function is not avaialble. | ||||
* | Close #18109: os.uname() now decodes fields from the locale encoding, and | Victor Stinner | 2013-06-03 | 1 | -1/+1 |
| | | | | | socket.gethostname() now decodes the hostname from the locale encoding, instead of using the UTF-8 encoding in strict mode. | ||||
* | Issue #13772: Restored directory detection of targets in `os.symlink` on ↵ | Jason R. Coombs | 2013-05-28 | 1 | -2/+127 |
| | | | | Windows, which was temporarily removed in Python 3.2.3 due to an incomplete implementation. The implementation now works even if the symlink is created in a location other than the current directory. | ||||
* | indicate that read/write work with bytes (closes #18009) | Benjamin Peterson | 2013-05-24 | 1 | -3/+3 |
| | |||||
* | prevent double free in cleanup code (#17968) | Benjamin Peterson | 2013-05-14 | 1 | -0/+1 |
| | |||||
* | Issue #17968: Fix memory leak in os.listxattr(). | Antoine Pitrou | 2013-05-13 | 1 | -1/+3 |
| | |||||
* | - Issue #17782: Fix undefined behaviour on platforms where ``struct ↵ | Antoine Pitrou | 2013-04-17 | 1 | -2/+8 |
| | | | | timespec``'s "tv_nsec" member is not a C long. | ||||
* | Reject float as uid or gid. | Serhiy Storchaka | 2013-02-10 | 1 | -2/+14 |
| | | | | A regression was introduced in the commit for issue issue #4591. | ||||
* | Issue #4591: Uid and gid values larger than 2**31 are supported now. | Serhiy Storchaka | 2013-02-10 | 1 | -112/+199 |
| | |||||
* | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵ | Antoine Pitrou | 2013-02-09 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag), mpdecimal (needs to build without Python.h). | ||||
| * | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵ | Antoine Pitrou | 2013-02-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag). | ||||
* | | Issue #1602133: 'environ' is not really available with shared libraries on ↵ | Ronald Oussoren | 2013-01-25 | 1 | -3/+4 |
|\ \ | |/ | | | | | | | | | | | | | | | OSX (merge from 3.2) There already was a workaround for this for framework builds on OSX, this changeset enables the same workaround for shared libraries. Closes #1602133 | ||||
| * | Issue #1602133: 'environ' is not really available with shared libraries on OSX | Ronald Oussoren | 2013-01-25 | 1 | -3/+4 |
| | | | | | | | | | | | | | | There already was a workaround for this for framework builds on OSX, this changeset enables the same workaround for shared libraries. Closes #1602133 | ||||
* | | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
| * | Issue #9644: Fix the encoding used by os.statvfs(): use the filesystem encoding | Victor Stinner | 2013-01-01 | 1 | -3/+7 |
| | | | | | | | | with the surrogateescape error handler, instead of UTF-8 in strict mode. | ||||
* | | Issue #15972: Fix error messages when os functions expecting a file name or | Serhiy Storchaka | 2013-01-07 | 1 | -31/+35 |
| | | | | | | | | file descriptor receive the incorrect type. | ||||
* | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Replace tabs with spaces in posixmodule.c | Petri Lehtinen | 2012-10-23 | 1 | -6/+6 |
| | | |||||
* | | Use C-style comments for C89 / ANSI C compatibility | Christian Heimes | 2012-09-23 | 1 | -1/+1 |
| | | |||||
* | | #15965: Explicitly cast AT_FDCWD as (int). | Trent Nelson | 2012-09-19 | 1 | -1/+8 |
| | | | | | | | | | | Required on Solaris 10 (which defines AT_FDCWD as 0xffd19553), harmless on other platforms. | ||||
* | | Issue #15926: Fix crash after multiple reinitializations of the interpreter. | Antoine Pitrou | 2012-09-12 | 1 | -1/+1 |
| | | |||||
* | | Issue #12655: Instead of requiring a custom type, os.sched_getaffinity and | Antoine Pitrou | 2012-08-04 | 1 | -321/+130 |
| | | | | | | | | | | 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/+15 |
| | | |||||
* | | Issue #15413: os.times() had disappeared under Windows. | Antoine Pitrou | 2012-07-24 | 1 | -25/+25 |
| | | |||||
* | | Issue #15261: Stop os.stat(fd) crashing on Windows when fd not open. | Richard Oudkerk | 2012-07-06 | 1 | -3/+4 |
| | | |||||
* | | Remove dead code | Victor Stinner | 2012-06-27 | 1 | -36/+0 |
| | | | | | | | | | | os.urandom() has now one unique implementation, posix_urandom() which calls _PyOS_URandom(). _PyOS_URandom() uses RAND_pseudo_bytes() on VMS. | ||||
* | | Use ValueError, not RuntimeError for a utime flag combination illegal on ↵ | Georg Brandl | 2012-06-26 | 1 | -1/+1 |
| | | | | | | | | some systems. | ||||
* | | Issue #15176: Clarified behavior, documentation, and implementation | Larry Hastings | 2012-06-25 | 1 | -13/+22 |
| | | | | | | | | of os.listdir(). | ||||
* | | Whitespace cleanup. | Georg Brandl | 2012-06-24 | 1 | -6/+6 |
| | | |||||
* | | Issue #15118: Change return value of os.uname() and os.times() from | Larry Hastings | 2012-06-24 | 1 | -24/+138 |
| | | | | | | | | | | plain tuples to immutable iterable objects with named attributes (structseq objects). | ||||
* | | Closes #15161: add support for giving path as a fd for truncate() and ↵ | Georg Brandl | 2012-06-24 | 1 | -20/+62 |
| | | | | | | | | pathconf(). | ||||
* | | Issue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir" | Larry Hastings | 2012-06-23 | 1 | -34/+67 |
| | | | | | | | | | | | | | | parameter from os.remove / os.unlink. Patch written by Georg Brandl. (I'm really looking forward to George getting commit privileges so I don't have to keep doing checkins on his behalf.) | ||||
* | | Try to fix shutil.which() tests on Windows by fixing a typo introduced in ↵ | Georg Brandl | 2012-06-23 | 1 | -1/+1 |
| | | | | | | | | 27f9c26fdd8b in posix_access(). | ||||
* | | Issue #14626: Fix buildbot issue on OpenIndiana 3.x machines. (Hopefully.) | Larry Hastings | 2012-06-23 | 1 | -2/+5 |
| | | |||||
* | | Issue #14626: Fix buildbot issue on x86 Tiger 3.x. | Larry Hastings | 2012-06-23 | 1 | -1/+1 |
| | | |||||
* | | Issue #14626: Large refactoring of functions / parameters in the os module. | Larry Hastings | 2012-06-22 | 1 | -2318/+2528 |
| | | | | | | | | | | | | | | | | | | 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/+7 |
| | | |||||
* | | Issue #14711: os.stat_float_times() has been deprecated. | Victor Stinner | 2012-06-04 | 1 | -2/+6 |
| | | |||||
* | | capitialize utime statuses | Benjamin Peterson | 2012-05-25 | 1 | -20/+20 |
| | | |||||
* | | Backed out changeset 709850f1ec67 | Benjamin Peterson | 2012-05-06 | 1 | -333/+31 |
| | | |||||
* | | Update Misc/NEWS for issues #14127 and #14705. (And, technically, #10148.) | Larry Hastings | 2012-05-06 | 1 | -31/+333 |
| | | |||||
* | | Fix typo in exception message. | Stefan Krah | 2012-05-05 | 1 | -1/+1 |
| | | |||||
* | | initialization not needed | Benjamin Peterson | 2012-05-04 | 1 | -1/+1 |
| | | |||||
* | | Fix for fatal errors in os.*utime*() | Richard Oudkerk | 2012-05-04 | 1 | -1/+1 |
| | | | | | | | | The address of an object was being decreffed instead of the object. |