Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #17964: Fix os.sysconf(): the return type of the C sysconf() function | Victor Stinner | 2013-05-16 | 1 | -1/+1 |
| | | | | is long, not int. | ||||
* | merge 3.3 (#17968) | Benjamin Peterson | 2013-05-14 | 1 | -0/+1 |
|\ | |||||
| * | 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 #17968: Fix memory leak in os.listxattr(). | Antoine Pitrou | 2013-05-13 | 1 | -1/+3 |
| | | |||||
* | | Merge. | Richard Oudkerk | 2013-04-17 | 1 | -2/+8 |
|\ \ | |/ | |||||
| * | - 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. | ||||
* | | Refactor the common code out of the posix and windows listdir | Gregory P. Smith | 2013-03-21 | 1 | -53/+42 |
| | | | | | | | | | | implementations from my previous commit into the higher level function. | ||||
* | | Refactor the Windows specific and POSIX specific implementations of | Gregory P. Smith | 2013-03-21 | 1 | -21/+44 |
| | | | | | | | | | | listdir into two separate coherent functions rather than interleaved #ifdef's. | ||||
* | | expose O_PATH if possible | Benjamin Peterson | 2013-03-13 | 1 | -0/+3 |
| | | |||||
* | | Reject float as uid or gid. | Serhiy Storchaka | 2013-02-10 | 1 | -2/+14 |
|\ \ | |/ | | | | | A regression was introduced in the commit for issue #4591. | ||||
| * | 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 #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.3) 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 ↵ | 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 #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-14 | 1 | -1/+1 |
| | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. | ||||
* | | | 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 #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 #16841: Set st_dev on Windows as unsigned long to match its DWORD type. | Serhiy Storchaka | 2013-01-02 | 1 | -1/+3 |
| | | | |||||
* | | | Backed out changeset 61bada808b34 | Brian Curtin | 2013-01-01 | 1 | -2/+1 |
| | | | |||||
* | | | Set st_dev on Windows as unsigned long to match its DWORD type, related to ↵ | Brian Curtin | 2013-01-01 | 1 | -1/+2 |
| | | | | | | | | | | | | the change to fix #11939. | ||||
* | | | st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is ↵ | Brian Curtin | 2012-12-31 | 1 | -2/+2 |
| | | | | | | | | | | | | set to, is a DWORD. This was fixed in #11939 and the overflow was mentioned in #10657 and seen by me on some machines. | ||||
* | | | Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile. | Brian Curtin | 2012-12-26 | 1 | -26/+2 |
| | | | | | | | | | | | | | | | | | | By setting the st_dev attribute, we can then remove some Windows-specific code and move os.path.samefile/sameopenfile/samestat to Lib/genericpath.py so all platforms share the same implementation. | ||||
* | | | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 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. | ||||
| * | | 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. | ||||
* | | | Issue #15478: Oops, fix regression in os.open() on Windows | Victor Stinner | 2012-11-05 | 1 | -1/+1 |
| | | | | | | | | | | | | os.open() uses _wopen() which sets errno, not the Windows error code. | ||||
* | | | Issue #15478: Use source filename in OSError, not destination filename | Victor Stinner | 2012-10-31 | 1 | -11/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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: Use path_error() in more posix functions, especially in Windows | Victor Stinner | 2012-10-31 | 1 | -69/+24 |
| | | | | | | | | | | | | implementation | ||||
* | | | Issue #15478: Fix compilation on Windows | Victor Stinner | 2012-10-30 | 1 | -1/+0 |
| | | | |||||
* | | | Issue #15478: Raising an OSError doesn't decode or encode the filename anymore | Victor Stinner | 2012-10-30 | 1 | -102/+110 |
| | | | | | | | | | | | | | | | | | | | | | 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). | ||||
* | | | Replace tabs with spaces in posixmodule.c | Petri Lehtinen | 2012-10-23 | 1 | -6/+6 |
|\ \ \ | |/ / | |||||
| * | | Replace tabs with spaces in posixmodule.c | Petri Lehtinen | 2012-10-23 | 1 | -6/+6 |
| | | | |||||
* | | | Issue #12034: Fix bogus caching of result in check_GetFinalPathNameByHandle. | Antoine Pitrou | 2012-10-21 | 1 | -2/+2 |
| | | | | | | | | | | | | Patch by Atsuo Ishimoto. | ||||
* | | | #16135: Removal of OS/2 support (posixmodule y platform dependent files) | Jesus Cea | 2012-10-04 | 1 | -546/+8 |
|/ / | |||||
* | | 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. |