Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Issue #14127: Fix two bugs with the Windows implementation. | Larry Hastings | 2012-05-04 | 1 | -19/+42 |
| | |||||
* | what is a invalid tuple? | Benjamin Peterson | 2012-05-04 | 1 | -2/+2 |
| | |||||
* | clean up converted path on error | Benjamin Peterson | 2012-05-04 | 1 | -11/+20 |
| | |||||
* | avoid unitialized memory | Benjamin Peterson | 2012-05-04 | 1 | -1/+1 |
| | |||||
* | check correct variable for error | Benjamin Peterson | 2012-05-04 | 1 | -1/+1 |
| | |||||
* | Issue #14127: Add ns= parameter to utime, futimes, and lutimes. | Larry Hastings | 2012-05-03 | 1 | -204/+233 |
| | | | | | | Removed futimens as it is now redundant. Changed shutil.copystat to use st_atime_ns and st_mtime_ns from os.stat and ns= parameter to utime--it once again preserves exact metadata on Linux! | ||||
* | Backing out 86dc014cdd74. Not ready yet | Jesus Cea | 2012-04-26 | 1 | -7/+0 |
| | |||||
* | Close #10142: Support for SEEK_HOLE/SEEK_DATA | Jesus Cea | 2012-04-26 | 1 | -0/+7 |
| | |||||
* | Closes Issue #14661: posix module: add O_EXEC, O_SEARCH, O_TTY_INIT (I add ↵ | Jesus Cea | 2012-04-24 | 1 | -0/+10 |
| | | | | some Solaris constants too) | ||||
* | Issue #14661: posix module: add O_EXEC, O_SEARCH, O_TTY_INIT | Jesus Cea | 2012-04-24 | 1 | -0/+9 |
| | |||||
* | Issue #14127: Add st_{cma}time_ns fields to os.stat() result object. | Larry Hastings | 2012-04-19 | 1 | -16/+48 |
| | |||||
* | fix condition (#14296) | Benjamin Peterson | 2012-03-16 | 1 | -1/+1 |
| | |||||
* | try to fix compilation on glibc's with cpu sets (#14296) | Benjamin Peterson | 2012-03-15 | 1 | -0/+4 |
| | |||||
* | Close #14180: Factorize code to convert a number of seconds to time_t, ↵ | Victor Stinner | 2012-03-13 | 1 | -45/+20 |
| | | | | | | | | | | | | | timeval or timespec time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now raises an OverflowError, instead of a ValueError, if the timestamp does not fit in time_t. datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now round microseconds towards zero instead of rounding to nearest with ties going away from zero. | ||||
* | Issue #14153 Create _Py_device_encoding() to prevent _io from having to import | Brett Cannon | 2012-02-29 | 1 | -27/+3 |
| | | | | the os module. | ||||
* | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-20 | 1 | -82/+31 |
|\ | |||||
| * | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 1 | -106/+18 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
| | * | Issue #13703: add a way to randomize the hash values of basic types (str, ↵ | Georg Brandl | 2012-02-20 | 1 | -106/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
* | | | Issue #13609: Add two functions to query the terminal size: | Antoine Pitrou | 2012-02-08 | 1 | -0/+130 |
| | | | | | | | | | | | | | | | os.get_terminal_size (low level) and shutil.get_terminal_size (high level). Patch by Zbigniew Jędrzejewski-Szmek. | ||||
* | | | Backout f8409b3d6449: the PEP 410 is not accepted yet | Victor Stinner | 2012-02-08 | 1 | -124/+61 |
| | | | |||||
* | | | PEP 410 | Victor Stinner | 2012-02-08 | 1 | -61/+124 |
| | | | |||||
* | | | Issue #13964: Skip os.*utime*() tests if os.stat() doesn't support timestamp | Victor Stinner | 2012-02-08 | 1 | -1/+0 |
| | | | | | | | | | | | | with a subsecond resolution | ||||
* | | | Issue #13964: Split os.*utime*() subsecond tests into multiple tests to help | Victor Stinner | 2012-02-08 | 1 | -77/+45 |
| | | | | | | | | | | | | debugging |