| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | 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 | |||||
| * | | | Following Nick's suggestion, rename posix.fdlistdir() to posix.flistdir(), to | Charles-François Natali | 2012-02-06 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | be consistent with other functions accepting file descriptors (fdlistdir() was added in 3.3, so hasn't been released yet). | |||||
| * | | | Issue #8828: Add new function os.replace(), for cross-platform renaming with ↵ | Antoine Pitrou | 2012-01-30 | 1 | -13/+34 | |
| | | | | | | | | | | | | | overwriting. | |||||
| * | | | Issue #13772: In os.symlink() under Windows, do not try to guess the link | Antoine Pitrou | 2012-01-24 | 1 | -11/+0 | |
| |\ \ \ | |/ / | | | | | | | | | | target's type (file or directory). The detection was buggy and made the call non-atomic (therefore prone to race conditions). | |||||
| | * | | Issue #13772: In os.symlink() under Windows, do not try to guess the link | Antoine Pitrou | 2012-01-24 | 1 | -11/+0 | |
| | | | | | | | | | | | | | | | | target's type (file or directory). The detection was buggy and made the call non-atomic (therefore prone to race conditions). | |||||
| * | | | Use GetModuleHandleW to avoid *A functions where possible. | Martin v. Löwis | 2012-01-14 | 1 | -3/+3 | |
| | | | | ||||||
| * | | | Issue #13757: Change os.fdlistdir() so that it duplicates the passed file | Charles-François Natali | 2012-01-10 | 1 | -2/+5 | |
| | | | | | | | | | | | | | descriptor (instead of closing it). | |||||
| * | | | Backed out changeset 36f2e236c601: For some reason, rewinddir() doesn't work as | Charles-François Natali | 2012-01-08 | 1 | -1/+2 | |
| | | | | | | | | | | | | | it should on OpenIndiana. | |||||
| * | | | Issue #13739: It's simpler and more direct to call rewinddir() at the | Charles-François Natali | 2012-01-08 | 1 | -2/+1 | |
| | | | | | | | | | | | | | beginning. | |||||
| * | | | Issue #13739: In os.listdir(), rewind the directory stream (so that listdir() | Charles-François Natali | 2012-01-08 | 1 | -0/+2 | |
| | | | | | | | | | | | | | can be called again on the same open file). | |||||
| * | | | Issue #13530: Document os.lseek() result | Victor Stinner | 2011-12-17 | 1 | -1/+2 | |
| |\ \ \ | |/ / | | | | | | | Patch written by Jérémy Anger. | |||||
| | * | | Issue #13530: Document os.lseek() result | Victor Stinner | 2011-12-17 | 1 | -1/+2 | |
| | | | | | | | | | | | | | Patch written by Jérémy Anger. | |||||
| | * | | Issue #13415: Test in configure if unsetenv() has a return value or not. | Charles-François Natali | 2011-11-27 | 1 | -0/+6 | |
| | | | | ||||||
| | * | | decref correct object | Benjamin Peterson | 2011-11-23 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Issue #13560: Locale codec functions use the classic "errors" parameter, | Victor Stinner | 2011-12-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | instead of surrogateescape So it would be possible to support more error handlers later. | |||||
| * | | | Issue #13560: os.strerror() now uses the current locale encoding instead of ↵ | Victor Stinner | 2011-12-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | | UTF-8 | |||||
| * | | | Close #13415: Test in configure if unsetenv() has a return value or not. | Victor Stinner | 2011-11-24 | 1 | -1/+6 | |
| | | | | | | | | | | | | | Patch written by Charles-François Natali. | |||||
| * | | | merge 3.2 | Benjamin Peterson | 2011-11-23 | 1 | -1/+5 | |
| |\ \ \ | |/ / | ||||||
| | * | | plug refleak | Benjamin Peterson | 2011-11-23 | 1 | -1/+3 | |
| | | | | ||||||
| * | | | (Merge 3.2) Issue #13415: os.unsetenv() doesn't ignore errors anymore. | Victor Stinner | 2011-11-22 | 1 | -81/+33 | |
| |\ \ \ | |/ / | ||||||
| | * | | Issue #13415: os.unsetenv() doesn't ignore errors anymore. | Victor Stinner | 2011-11-22 | 1 | -17/+11 | |
| | | | | ||||||
| * | | | Fix compiler warnings | Victor Stinner | 2011-11-22 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Use the new Unicode API | Victor Stinner | 2011-11-22 | 1 | -13/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0) * Replce PyUnicode_FromUnicode(str, len) by PyUnicode_FromWideChar(str, len) * Replace Py_UNICODE by wchar_t * posix_putenv() uses PyUnicode_FromFormat() to create the string, instead of PyUnicode_FromUnicode() + _snwprintf() | |||||
| * | | | Issue #13374: Deprecate os.getcwdb() on Windows | Victor Stinner | 2011-11-16 | 1 | -0/+3 | |
| | | | | ||||||
| * | | | Issue #13374: The Windows bytes API has been deprecated in the os module. Use | Victor Stinner | 2011-11-15 | 1 | -147/+181 | |
| | | | | | | | | | | | | | | | | Unicode filenames instead of bytes filenames to not depend on the ANSI code page anymore and to support any filename. | |||||
| * | | | Issue #12442: nt._getdiskusage() is now using the Windows Unicode API | Victor Stinner | 2011-11-09 | 1 | -3/+3 | |
| | | | | ||||||
| * | | | Commit 59dca1e2363d for issue #13327 introduced a compilation warning | Jesus Cea | 2011-11-08 | 1 | -1/+2 | |
| | | | | ||||||
| * | | | Fix #13327. utimensat now has the atime and mtime arguments set as optional, | Brian Curtin | 2011-11-07 | 1 | -7/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | 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). | |||||
| * | | | Forgot to apply the futimesat change. | Brian Curtin | 2011-11-07 | 1 | -4/+3 | |
| | | | | ||||||
| * | | | Fix 13327. Remove explicit None arguments from futimes, futimens, futimesat, | Brian Curtin | 2011-11-07 | 1 | -18/+17 | |
| | | | | | | | | | | | | | and lutimes. | |||||
| * | | | Adjust None handling to be a bit more clean. Thanks to Benjamin | Brian Curtin | 2011-11-07 | 1 | -4/+4 | |
| | | | | | | | | | | | | | for pointing it out. | |||||
| * | | | Fix #13327. Remove the need for an explicit None as the second argument to | Brian Curtin | 2011-11-06 | 1 | -7/+7 | |
| | | | | | | | | | | | | | | | | os.utime in order to update to the current time. The second argument is now optional. | |||||
| * | | | (Merge 3.2) Issue #13339. | Ross Lagerwall | 2011-11-04 | 1 | -1/+1 | |
| |\ \ \ | |/ / | ||||||
| | * | | Issue #13339: Fix compile error in posixmodule.c due to missing semicolon. | Ross Lagerwall | 2011-11-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | | Thanks to Robert Xiao. | |||||
| * | | | Issue #13226: Add RTLD_xxx constants to the os module. These constants can by | Victor Stinner | 2011-10-25 | 1 | -0/+26 | |
| | | | | | | | | | | | | | used with sys.setdlopenflags(). | |||||
| * | | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Use PyUnicode_AsUnicodeAndSize() instead of PyUnicode_GET_SIZE() | Victor Stinner | 2011-10-11 | 1 | -2/+1 | |
| | | | | ||||||
| * | | | Use identifier API for PyObject_GetAttrString. | Martin v. Löwis | 2011-10-10 | 1 | -1/+2 | |
| | | | | ||||||
| * | | | Add PyUnicode_Copy() function, include it to the public API | Victor Stinner | 2011-09-30 | 1 | -2/+1 | |
| | | | | ||||||
| * | | | posix module catches PyUnicode_AsUnicode() failure | Victor Stinner | 2011-09-29 | 1 | -96/+167 | |
| | | | | | | | | | | | | | | | | | | | * Replace PyUnicode_AS_UNICODE by PyUnicode_AsUnicode, PyUnicode_AS_UNICODE is no more a real macro * Replace Py_UNICODE by wchar_t in code specific to Windows | |||||
| * | | | Use the new Py_ARRAY_LENGTH macro | Victor Stinner | 2011-09-28 | 1 | -5/+5 | |
| | | | | ||||||
| * | | | os.statvfs() encodes the filename to the filesystem encoding | Victor Stinner | 2011-09-20 | 1 | -5/+9 | |
| | | | | ||||||
