Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #18520: Add a new PyStructSequence_InitType2() function, same than | Victor Stinner | 2013-07-22 | 1 | -8/+16 |
| | | | | | | | | PyStructSequence_InitType() except that it has a return value (0 on success, -1 on error). * PyStructSequence_InitType2() now raises MemoryError on memory allocation failure * Fix also some calls to PyDict_SetItemString(): handle error | ||||
* | (Merge 3.3) Fix posix_chflags(): return_value was uninitialized when | Victor Stinner | 2013-07-18 | 1 | -1/+1 |
|\ | | | | | | | follow_symlinks=False whereas the fchmodat() function is not avaialble. | ||||
| * | 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. | ||||
* | | Fix a compiler warning in posix_sendfile() on FreeBSD: | Victor Stinner | 2013-07-07 | 1 | -2/+3 |
| | | | | | | | | | | Modules/posixmodule.c: In function 'posix_sendfile': Modules/posixmodule.c:7700: warning: ISO C90 forbids mixed declarations and code | ||||
* | | Issue #18203: Replace malloc() with PyMem_Malloc() in Python modules | Victor Stinner | 2013-07-07 | 1 | -18/+17 |
| | | | | | | | | | | Replace malloc() with PyMem_Malloc() when the GIL is held, or with PyMem_RawMalloc() otherwise. | ||||
* | | Fix os.confstr(): the result type of the C function is size_t, not int | Victor Stinner | 2013-06-25 | 1 | -2/+2 |
| | | |||||
* | | If MS_WIN64 is defined, MS_WINDOWS is also defined: #ifdef can be simplified. | Victor Stinner | 2013-06-24 | 1 | -4/+4 |
| | | |||||
* | | Define S_IFMT and S_IFLNK in pyport.h so posixmodule.c can use named ↵ | Christian Heimes | 2013-06-23 | 1 | -2/+2 |
| | | | | | | | | | | | | constants instead of arbitrary looking numbers. | ||||
* | | Issue #17931: Resolve confusion on Windows between pids and process handles. | Richard Oudkerk | 2013-06-05 | 1 | -16/+9 |
| | | |||||
* | | Issue #13772: Use syntax for literal wchar_t character | Victor Stinner | 2013-06-05 | 1 | -1/+1 |
| | | |||||
* | | Issue #13772: Mark helper functions as private (static) | Victor Stinner | 2013-06-04 | 1 | -34/+41 |
| | | | | | | | | Cleanup also the code to follow the Python coding style (PEP 7). | ||||
* | | Issue #13772: Fix a compiler warning on Windows | Victor Stinner | 2013-06-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #13772: fix _check_dirA(): call *A() functions, not *W() functions | Victor Stinner | 2013-06-04 | 1 | -2/+2 |
| | | |||||
* | | Issue #13772: Fix compiler warnings on Windows | Victor Stinner | 2013-06-04 | 1 | -3/+3 |
| | | |||||
* | | (Merge 3.3) Close #18109: os.uname() now decodes fields from the locale | Victor Stinner | 2013-06-03 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | encoding, and socket.gethostname() now decodes the hostname from the locale encoding, instead of using the UTF-8 encoding in strict mode. | ||||
| * | 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. | ||||
* | | Merge with 3.3 | Jason R. Coombs | 2013-05-28 | 1 | -2/+127 |
|\ \ | |/ | |||||
| * | 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. | ||||
* | | merge 3.3 | Benjamin Peterson | 2013-05-24 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | indicate that read/write work with bytes (closes #18009) | Benjamin Peterson | 2013-05-24 | 1 | -3/+3 |
| | | |||||
* | | Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant() | Charles-Francois Natali | 2013-05-20 | 1 | -125/+119 |
| | | | | | | | | when applicable. | ||||
* | | Issue #17914: We can now inline _bsd_cpu_count(). | Charles-Francois Natali | 2013-05-20 | 1 | -22/+6 |
| | | |||||
* | | Issue #17914: Remove OS-X special-case, and use the correct int type. | Charles-Francois Natali | 2013-05-20 | 1 | -9/+6 |
| | | |||||
* | | Issue #17914: Add os.cpu_count(). Patch by Yogesh Chaudhari, based on an | Charles-Francois Natali | 2013-05-20 | 1 | -0/+68 |
| | | | | | | | | initial patch by Trent Nelson. | ||||
* | | 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 |
| | | |