Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #29513: Fix outdated comment and remove redundand code is os.scandir(). | Serhiy Storchaka | 2017-02-09 | 1 | -7/+3 |
| | |||||
* | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -10/+5 |
| | | | | possible. Patch is writen with Coccinelle. | ||||
* | Issue #29092: Merge 3.6. | Xiang Zhang | 2017-01-22 | 1 | -2/+3 |
|\ | |||||
| * | Issue #29092: Sync os.stat's doc and docstring on path type. | Xiang Zhang | 2017-01-22 | 1 | -2/+3 |
| |\ | |||||
* | \ | Issue #29034: Merge 3.6. | Xiang Zhang | 2017-01-08 | 1 | -53/+56 |
|\ \ \ | |/ / | |||||
| * | | Issue #29034: Fix memory leak and use-after-free in path_converter. | Xiang Zhang | 2017-01-08 | 1 | -53/+56 |
| | | | |||||
* | | | Use _PyObject_CallNoArg() | Victor Stinner | 2016-12-06 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | Replace: PyObject_CallFunctionObjArgs(callable, NULL) with: _PyObject_CallNoArg(callable) | ||||
* | | | Issue #28152: Fix -Wunreachable-code warnings on Clang | Victor Stinner | 2016-12-05 | 1 | -0/+5 |
| | | | | | | | | | | | | Don't declare dead code when the code is declared with Clang. | ||||
* | | | Backed out changeset b9c9691c72c5 | Victor Stinner | 2016-12-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like _PyObject_CallArg1() uses more stack memory than PyObject_CallFunctionObjArgs(). | ||||
* | | | Replace PyObject_CallFunctionObjArgs() with fastcall | Victor Stinner | 2016-12-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PyObject_CallFunctionObjArgs(func, NULL) => _PyObject_CallNoArg(func) * PyObject_CallFunctionObjArgs(func, arg, NULL) => _PyObject_CallArg1(func, arg) PyObject_CallFunctionObjArgs() allocates 40 bytes on the C stack and requires extra work to "parse" C arguments to build a C array of PyObject*. _PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate memory on the C stack. This change is part of the fastcall project. The change on listsort() is related to the issue #23507. | ||||
* | | | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
| * | | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 1 | -1/+1 |
| | | | | | | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | | | Issue #28732: Raise ValueError when argv[0] is empty | Steve Dower | 2016-11-19 | 1 | -100/+91 |
|\ \ \ | |/ / |/| | | |||||
| * | | Issue #28732: Raise ValueError when os.spawn*() is passed an empty tuple of ↵ | Steve Dower | 2016-11-19 | 1 | -0/+10 |
| |\ \ | | | | | | | | | | | | | arguments | ||||
| * \ \ | Merge from 3.6 | Steve Dower | 2016-11-19 | 1 | -100/+91 |
| |\ \ \ | |||||
| | * \ \ | Issue #28585: Restored docstring of os._isdir(). | Serhiy Storchaka | 2016-11-08 | 1 | -4/+2 |
| | |\ \ \ | |||||
| | * | | | | Issue #28586: Converted os.scandir() to Argument Clinic. | Serhiy Storchaka | 2016-11-06 | 1 | -100/+91 |
| | | | | | | |||||
* | | | | | | Issue #28732: Raise ValueError when argv[0] is empty | Steve Dower | 2016-11-19 | 1 | -951/+903 |
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | / | |_|_|_|/ |/| | | | | |||||
| * | | | | Issue #28732: Raise ValueError when os.spawn*() is passed an empty tuple of ↵ | Steve Dower | 2016-11-19 | 1 | -0/+10 |
| |/ / / | | | | | | | | | | | | | arguments | ||||
| * | | | Merge from 3.5 and fix a few other functions missing IPH handling. | Steve Dower | 2016-11-19 | 1 | -2/+7 |
| |\ \ \ | | |_|/ | |/| | | |||||
| * | | | Issue #28585: Restored docstring of os._isdir(). | Serhiy Storchaka | 2016-11-08 | 1 | -4/+2 |
| |\ \ \ | | |_|/ | |/| | | |||||
| * | | | Issue #28394: More typo fixes for 3.6+ | Martin Panter | 2016-10-10 | 1 | -1/+1 |
| | | | | |||||
| * | | | Issue #27998: Fixed bytes path support in os.scandir() on Windows. | Serhiy Storchaka | 2016-10-08 | 1 | -46/+43 |
| | | | | | | | | | | | | | | | | Patch by Eryk Sun. | ||||
| * | | | Increase buffer for readlink() in case OS will support longer names one day. | Christian Heimes | 2016-09-23 | 1 | -3/+4 |
| |\ \ \ | |||||
| * | | | | Fix memleak in os.getrandom() | Victor Stinner | 2016-09-20 | 1 | -10/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #27778: Fix a memory leak in os.getrandom() when the getrandom() is interrupted by a signal and a signal handler raises a Python exception. Modify also os_getrandom_impl() to avoid the temporary buffer, use directly a Python bytes object. | ||||
| * | | | | Fix memory leak in path_converter() | Victor Stinner | 2016-09-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Issue #28200: Replace PyUnicode_AsWideCharString() with PyUnicode_AsUnicodeAndSize(). | ||||
| * | | | | Issue #28075: Merge from 3.5 | Berker Peksag | 2016-09-17 | 1 | -899/+824 |
| |\ \ \ \ | |||||
| | * | | | | Issue #28156: Export os.getpid() conditionally | Berker Peksag | 2016-09-15 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | Patch by Ed Schouten. | ||||
| | * | | | | Issue #28114: Fix a crash in parse_envlist() when env contains byte strings | Berker Peksag | 2016-09-15 | 1 | -17/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | Patch by Eryk Sun. | ||||
| | * | | | | Adds missing assert suppression. | Steve Dower | 2016-09-11 | 1 | -0/+4 |
| | | | | | | |||||
| | * | | | | Issue #27781: Fixes uninitialized fd when !MS_WINDOWS and !HAVE_OPENAT | Steve Dower | 2016-09-09 | 1 | -2/+3 |
| | | | | | | |||||
| | * | | | | use Py_MAX | Benjamin Peterson | 2016-09-08 | 1 | -1/+1 |
| | | | | | | |||||
| | * | | | | Issue #23524: Finish removing _PyVerify_fd from sources | Steve Dower | 2016-09-08 | 1 | -72/+3 |
| | | | | | | |||||
| | * | | | | Fix mismatched if blocks in posixmodule.c. | Steve Dower | 2016-09-08 | 1 | -2/+1 |
| | | | | | | |||||
| | * | | | | Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) | Steve Dower | 2016-09-08 | 1 | -640/+285 |
| | | | | | | |||||
| | * | | | | more linux -> __linux__ | Benjamin Peterson | 2016-09-07 | 1 | -1/+1 |
| | | | | | | |||||
| | * | | | | os.urandom() now blocks on Linux | Victor Stinner | 2016-09-06 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #27776: The os.urandom() function does now block on Linux 3.17 and newer until the system urandom entropy pool is initialized to increase the security. This change is part of the PEP 524. | ||||
| | * | | | | Add os.getrandom() | Victor Stinner | 2016-09-06 | 1 | -0/+66 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #27778: Expose the Linux getrandom() syscall as a new os.getrandom() function. This change is part of the PEP 524. | ||||
| | * | | | | Run Argument Clinic on posixmodule.c | Victor Stinner | 2016-09-06 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | Issue #17884. | ||||
| | * | | | | replace Py_(u)intptr_t with the c99 standard types | Benjamin Peterson | 2016-09-06 | 1 | -13/+13 |
| | | | | | | |||||
| | * | | | | replace PY_LONG_LONG with long long | Benjamin Peterson | 2016-09-06 | 1 | -11/+11 |
| | | | | | | |||||
| | * | | | | require a long long data type (closes #27961) | Benjamin Peterson | 2016-09-05 | 1 | -9/+1 |
| | | | | | | |||||
| | * | | | | merge 3.5 | Benjamin Peterson | 2016-09-05 | 1 | -3/+3 |
| | |\ \ \ \ | |||||
| | * | | | | | Issue #26027, #27524: Add PEP 519/__fspath__() support to os and | Brett Cannon | 2016-08-26 | 1 | -29/+75 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | os.path. Thanks to Jelle Zijlstra for the initial patch against posixmodule.c. | ||||
| | * | | | | | Issue #27736: Prevent segfault after interpreter re-initialization due | Ned Deily | 2016-08-15 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to ref count problem introduced in code for Issue #27038 in 3.6.0a3. Patch by Xiang Zhang. | ||||
| | * | | | | | Issue #26800: Undocumented support of general bytes-like objects | Serhiy Storchaka | 2016-08-06 | 1 | -2/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | as paths in os functions is now deprecated. | ||||
| | * | | | | | Issue #17599: Use unique _Py_REPARSE_DATA_BUFFER etc names to avoid conflict | Martin Panter | 2016-08-04 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The conflict occurs with Min GW, which already defines REPARSE_DATA_BUFFER. Also, Min GW uses a lowercase <windows.h> filename. | ||||
| | * | | | | | merge 3.5 (#27656) | Benjamin Peterson | 2016-07-30 | 1 | -0/+6 |
| | |\ \ \ \ \ | |||||
| | * \ \ \ \ \ | Issue #27533: Release GIL in nt._isdir | Steve Dower | 2016-07-17 | 1 | -0/+2 |
| | |\ \ \ \ \ \ | |||||
| | * | | | | | | | Issue #27512: Don't segfault when os.fspath() calls an object whose | Brett Cannon | 2016-07-15 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __fspath__() raises an exception. Thanks to Xiang Zhang for the patch. |