| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge with 3.3 | Jason R. Coombs | 2013-05-28 | 1 | -1/+1 |
| |\ | |||||
| | * | Use simple call to os.symlink for broken link (intended for previous commit) | Jason R. Coombs | 2013-05-28 | 1 | -1/+1 |
| | | | |||||
| * | | Merge with 3.3 | Jason R. Coombs | 2013-05-28 | 1 | -8/+36 |
| |\ \ | |/ | |||||
| | * | Issue #13772: Restored directory detection of targets in `os.symlink` on ↵ | Jason R. Coombs | 2013-05-28 | 1 | -8/+36 |
| | | | | | | | | | 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. | ||||
| * | | Issue #17914: Add os.cpu_count(). Patch by Yogesh Chaudhari, based on an | Charles-Francois Natali | 2013-05-20 | 1 | -0/+10 |
| | | | | | | | | | initial patch by Trent Nelson. | ||||
| * | | (Merge 3.3) Issue #17702: use assertRaises() for the unit test | Victor Stinner | 2013-04-14 | 1 | -10/+4 |
| |\ \ | |/ | |||||
| | * | Issue #17702: use assertRaises() for the unit test | Victor Stinner | 2013-04-14 | 1 | -10/+4 |
| | | | |||||
| * | | (Merge 3.3) Close #17702: os.environ now raises KeyError with the original | Victor Stinner | 2013-04-14 | 1 | -0/+18 |
| |\ \ | |/ | | | | | | | environment variable name (str on UNIX), instead of using the encoded name (bytes on UNIX). | ||||
| | * | Close #17702: os.environ now raises KeyError with the original environment | Victor Stinner | 2013-04-14 | 1 | -0/+18 |
| | | | | | | | | | variable name (str on UNIX), instead of using the encoded name (bytes on UNIX). | ||||
| * | | Merge 3.3. | Stefan Krah | 2013-01-17 | 1 | -3/+6 |
| |\ \ | |/ | |||||
| | * | Issue #14110: Fix test failures on FreeBSD if the user is in the wheel group. | Stefan Krah | 2013-01-17 | 1 | -3/+6 |
| | | | |||||
| * | | (Merge 3.3) Issue #9644: Add a test on os.statvfs() for the PEP 383 | Victor Stinner | 2013-01-01 | 1 | -0/+9 |
| |\ \ | |/ | |||||
| | * | Issue #9644: Add a test on os.statvfs() for the PEP 383 | Victor Stinner | 2013-01-01 | 1 | -0/+9 |
| | |\ | |||||
| | | * | Issue #9644: Fix the encoding used by os.statvfs(): use the filesystem encoding | Victor Stinner | 2013-01-01 | 1 | -0/+9 |
| | | | | | | | | | | | | | with the surrogateescape error handler, instead of UTF-8 in strict mode. | ||||
| * | | | Add test coverage for os.removedirs (#16775) | Andrew Svetlov | 2012-12-25 | 1 | -0/+46 |
| |\ \ \ | |/ / | |||||
| | * | | Add test coverage for os.removedirs (#16775) | Andrew Svetlov | 2012-12-25 | 1 | -0/+46 |
| | |\ \ | | |/ | |||||
| | | * | Add test coverage for os.removedirs (#16775) | Andrew Svetlov | 2012-12-25 | 1 | -0/+46 |
| | | | | |||||
| * | | | Use OESeeror instead of os.error (#16720) | Andrew Svetlov | 2012-12-24 | 1 | -6/+6 |
| | | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
| * | | | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 1 | -9/+9 |
| | | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
| * | | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -8/+8 |
| |\ \ \ | |/ / | | | | | | | Patch by Serhiy Storchaka. | ||||
| | * | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -8/+8 |
| | |\ \ | | |/ | | | | | | | Patch by Serhiy Storchaka. | ||||
| | | * | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -8/+8 |
| | | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
| | * | | Issue #16218, #16444: Backport improvment on tests for non-ASCII characters | Victor Stinner | 2012-11-12 | 1 | -0/+4 |
| | | | | |||||
| * | | | Issue #15478: os.lchflags() is not always available when os.chflags() is ↵ | Victor Stinner | 2012-11-13 | 1 | -4/+3 |
| | | | | | | | | | | | | | available | ||||
| * | | | Issue #16414: Fix test_os on Windows, don't test os.listdir() with undecodable | Victor Stinner | 2012-11-06 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the ANSI code page 932, os.listdir(b'\xe7') return an empty list (instead of failing), whereas os.listdir(b'\xff') raises a FileNotFoundError. It looks like a Windows bug: b'\xe7' directory does not exist, FindFirstFileA(b'\xe7') fails with ERROR_FILE_NOT_FOUND (2), instead of ERROR_PATH_NOT_FOUND (3). | ||||
| * | | | Issue #16414: Add support.FS_NONASCII and support.TESTFN_NONASCII | Victor Stinner | 2012-11-06 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | These constants are used to test functions with non-ASCII data, especially filenames. | ||||
| * | | | Issue #15478: Use source filename in OSError, not destination filename | Victor Stinner | 2012-10-31 | 1 | -36/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | | And other fixes for Windows: * rename, replace and link require arguments of the same type on Windows * readlink only supports unicode filenames on Windows * os.open() specifies the filename on OSError | ||||
| * | | | Issue #15478: Fix again to fix test_os on Windows | Victor Stinner | 2012-10-31 | 1 | -4/+7 |
| | | | | |||||
| * | | | Issue #15478: Fix test_os on FreeBSD | Victor Stinner | 2012-10-31 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Calling OS functions can fail with errors other than FileNotFoundError: a FreeBSD buildbot fails for example with a PermissionError. | ||||
| * | | | Issue #15478: Fix test_os on Windows (os.chown is missing) | Victor Stinner | 2012-10-31 | 1 | -1/+2 |
| | | | | |||||
| * | | | Issue #15478: Raising an OSError doesn't decode or encode the filename anymore | Victor Stinner | 2012-10-30 | 1 | -0/+71 |
| |/ / | | | | | | | | | | | | | Pass the original filename argument to OSError constructor, instead of trying to encode it to or decode it from the filesystem encoding. This change avoids an additionnal UnicodeDecodeError on Windows if the filename cannot be decoded from the filesystem encoding (ANSI code page). | ||||
| * | | #1087: use proper skips in test_os. | Ezio Melotti | 2012-09-26 | 1 | -13/+13 |
| | | | |||||
| * | | Issue #14992: merge from 3.2 | Ned Deily | 2012-08-09 | 1 | -1/+4 |
| |\ \ | |/ | |||||
| | * | Issue #14992: Prevent test_os test_exist_ok_s_isgid_directory test case | Ned Deily | 2012-08-09 | 1 | -1/+4 |
| | | | | | | | | | failure on OS X built with 10.4 ABI. | ||||
| * | | Issue #15202: Consistently use the name "follow_symlinks" for | Larry Hastings | 2012-07-15 | 1 | -7/+8 |
| | | | | | | | | | new parameters in os and shutil functions. Patch by Serhiy Storchaka. | ||||
| * | | Issue #15261: Stop os.stat(fd) crashing on Windows when fd not open. | Richard Oudkerk | 2012-07-06 | 1 | -0/+13 |
| | | | |||||
| * | | Issue #15177: Added dir_fd parameter to os.fwalk(). | Larry Hastings | 2012-06-25 | 1 | -5/+24 |
| | | | |||||
| * | | Closes #15161: add support for giving path as a fd for truncate() and ↵ | Georg Brandl | 2012-06-24 | 1 | -0/+2 |
| | | | | | | | | | pathconf(). | ||||
| * | | Issue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir" | Larry Hastings | 2012-06-23 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | 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.) | ||||
| * | | Issue #14626: Large refactoring of functions / parameters in the os module. | Larry Hastings | 2012-06-22 | 1 | -83/+85 |
| | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | Issue #14711: os.stat_float_times() has been deprecated. | Victor Stinner | 2012-06-04 | 1 | -2/+6 |
| | | | |||||
| * | | Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSError | Gregory P. Smith | 2012-06-03 | 1 | -0/+25 |
| |\ \ | |/ | | | | | | | | | when the path existed and had the S_ISGID mode bit set when it was not explicitly asked for. This is no longer an exception as mkdir cannot control if the OS sets that bit for it or not. | ||||
| | * | Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSError | Gregory P. Smith | 2012-06-03 | 1 | -6/+34 |
| | | | | | | | | | | | | | when the path existed and had the S_ISGID mode bit set when it was not explicitly asked for. This is no longer an exception as mkdir cannot control if the OS sets that bit for it or not. | ||||
| * | | Add two more sorts to test_os.WalkTests I've missed before | Hynek Schlawack | 2012-05-15 | 1 | -0/+2 |
| | | | |||||
| * | | Sort file list in test_os.WalkTests | Hynek Schlawack | 2012-05-15 | 1 | -0/+1 |
| | | | | | | | | | | | Adding new files into the tree lead to buildbot fails as the order wasn't deterministic. | ||||
| * | | #14773: Fix os.fwalk() failing on dangling symlinks | Hynek Schlawack | 2012-05-15 | 1 | -1/+5 |
| | | | |||||
| * | | Issue #14082: shutil.copy2() now copies extended attributes, if possible. | Antoine Pitrou | 2012-05-12 | 1 | -19/+1 |
| | | | | | | | | | Patch by Hynek Schlawack. | ||||
| * | | Issue #14127: Add ns= parameter to utime, futimes, and lutimes. | Larry Hastings | 2012-05-03 | 1 | -14/+72 |
| | | | | | | | | | | | | | 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! | ||||
| * | | Issue #14127: Add st_{cma}time_ns fields to os.stat() result object. | Larry Hastings | 2012-04-19 | 1 | -0/+7 |
| | | | |||||
| * | | all OSErrors should indicate there are no extended attributes (closes #14358) | Benjamin Peterson | 2012-03-19 | 1 | -3/+1 |
| | | | |||||
