Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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-31 | 1 | -0/+6 |
|\ | |||||
| * | all SCHED_ constants are optional (closes #27656) | Benjamin Peterson | 2016-07-31 | 1 | -0/+6 |
| | | |||||
* | | Issue #27533: Release GIL in nt._isdir | Steve Dower | 2016-07-18 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #27533: Release GIL in nt._isdir | Steve Dower | 2016-07-18 | 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. | ||||
* | | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -321/+317 |
|\ \ | |/ | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -319/+315 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Issue #27038: Expose DirEntry as os.DirEntry. | Brett Cannon | 2016-06-24 | 1 | -0/+1 |
| | | | | | | | | Thanks to Jelle Zijlstra for the code portion of the patch. | ||||
* | | Issue #27186: Update os.fspath()/PyOS_FSPath() to check the return | Brett Cannon | 2016-06-24 | 1 | -2/+11 |
| | | | | | | | | | | | | | | type of __fspath__(). As part of this change, also make sure that the pure Python implementation of os.fspath() is tested. | ||||
* | | - Comment out socket (SO_REUSEPORT) and posix (O_SHLOCK, O_EXLOCK) constants | doko@ubuntu.com | 2016-06-13 | 1 | -0/+2 |
| | | | | | | | | | | exposed on the API which are not implemented on GNU/Hurd. They would not work at runtime anyway. | ||||
* | | Issue #27186: Add os.PathLike support to DirEntry | Brett Cannon | 2016-06-10 | 1 | -0/+10 |
| | | | | | | | | Initial patch thanks to Jelle Zijlstra. | ||||
* | | Clarify documentation for os.fspath(). | Brett Cannon | 2016-06-09 | 1 | -4/+4 |
| | | |||||
* | | issue27186: add C version of os.fspath(); patch by Jelle Zijlstra | Ethan Furman | 2016-06-04 | 1 | -0/+51 |
| | | |||||
* | | Fix issue27146 - add stdio.h include to posixmodule.c for ctermid(). | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-05-28 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Fix issue27146 - add stdio.h include to posixmodule.c for ctermid(). | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) | 2016-05-28 | 1 | -0/+2 |
| | | |||||
* | | Issue #26708: Use the "const" qualifier for immutable strings. | Serhiy Storchaka | 2016-05-07 | 1 | -37/+39 |
| | | | | | | | | This can help to avoid unintentional modification. | ||||
* | | Issue #26932: Fixed support of RTLD_* constants defined as enum values, | Serhiy Storchaka | 2016-05-04 | 1 | -7/+7 |
| | | | | | | | | not via macros (in particular on Android). Patch by Chi Hsuan Yen. | ||||
* | | Issue #26863: HAVE_FACCESSAT should (currently) not be defined on Android. | Stefan Krah | 2016-04-26 | 1 | -1/+7 |
| | | |||||
* | | Issue #26671: Fixed #ifdef indentation. | Serhiy Storchaka | 2016-04-06 | 1 | -2/+2 |
| | | |||||
* | | Backed out changeset 8dc144e47252 | Serhiy Storchaka | 2016-04-06 | 1 | -26/+2 |
| | | |||||
* | | Issue #26671: Fixed #ifdef indentation. | Serhiy Storchaka | 2016-04-06 | 1 | -2/+26 |
| | | |||||
* | | Issue #26671: Enhanced path_converter. | Serhiy Storchaka | 2016-04-06 | 1 | -56/+50 |
| | | | | | | | | | | Exceptions raised during converting argument of correct type are no longer overridded with TypeError. Some error messages are now more detailed. | ||||
* | | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 1 | -6/+10 |
|\ \ | |/ | | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator. | ||||
| * | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 1 | -6/+10 |
| | | | | | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator. | ||||
* | | Implement finalizer for os.scandir() iterator | Victor Stinner | 2016-03-22 | 1 | -17/+47 |
| | | | | | | | | | | | | | | | | Issue #26603: * Implement finalizer for os.scandir() iterator * Set the source parameter when emitting the ResourceWarning warning * Close the iterator before emitting the warning | ||||
* | | ResourceWarning: Revert change on socket and scandir | Victor Stinner | 2016-03-19 | 1 | -2/+2 |
| | | | | | | | | io.FileIO has a safe implementation of destructor, but not socket nor scandir. | ||||
* | | On ResourceWarning, log traceback where the object was allocated | Victor Stinner | 2016-03-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | Issue #26567: * Add a new function PyErr_ResourceWarning() function to pass the destroyed object * Add a source attribute to warnings.WarningMessage * Add warnings._showwarnmsg() which uses tracemalloc to get the traceback where source object was allocated. | ||||
* | | Fix usage of PyMem_Malloc() in os.stat() | Victor Stinner | 2016-03-16 | 1 | -5/+5 |
| | | | | | | | | | | Issue #26563: Replace PyMem_Malloc() with PyMem_RawMalloc() in the Windows implementation of os.stat(), since the code is called without holding the GIL. | ||||
* | | posix_getcwd(): limit to INT_MAX on Windows | Victor Stinner | 2016-03-14 | 1 | -0/+10 |
| | | | | | | | | | | It's more to fix a conversion warning during compilation, I don't think that Windows support current working directory larger than 2 GB ... | ||||
* | | Issue #25994: Added the close() method and the support of the context manager | Serhiy Storchaka | 2016-02-11 | 1 | -7/+66 |
| | | | | | | | | protocol for the os.scandir() iterator. | ||||
* | | Issue #26117: The os.scandir() iterator now closes file descriptor not only | Serhiy Storchaka | 2016-02-08 | 1 | -17/+20 |
|\ \ | |/ | | | | | when the iteration is finished, but when it was failed with error. | ||||
| * | Issue #26117: The os.scandir() iterator now closes file descriptor not only | Serhiy Storchaka | 2016-02-08 | 1 | -17/+20 |
| | | | | | | | | when the iteration is finished, but when it was failed with error. | ||||
* | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -18/+25 |
| | | | | | | | | private functions. | ||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -5/+5 |
| | | |||||
* | | Issue #25890: Removed yet one unused variable. | Serhiy Storchaka | 2015-12-18 | 1 | -1/+0 |
| | | |||||
* | | Issues #25890, #25891, #25892: Removed unused variables in Windows code. | Serhiy Storchaka | 2015-12-18 | 1 | -2/+0 |
| | | | | | | | | Reported by Alexander Riccio. | ||||
* | | Merge 3.5 | Victor Stinner | 2015-12-13 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir() (new try) | Victor Stinner | 2015-12-13 | 1 | -1/+1 |
| | | |||||
* | | (Merge 3.5) Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir() | Victor Stinner | 2015-12-13 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir() | Victor Stinner | 2015-12-13 | 1 | -3/+3 |
| | | |||||
* | | Issue #25207, #14626: Fix my commit. | Victor Stinner | 2015-09-21 | 1 | -3/+3 |
| | | | | | | | | | | It doesn't work to use #define XXX defined(YYY)" and then "#ifdef XXX" to check YYY. | ||||
* | | Issue #25207, #14626: Fix ICC compiler warnings in posixmodule.c | Victor Stinner | 2015-09-21 | 1 | -3/+3 |
| | | | | | | | | Replace "#if XXX" with #ifdef XXX". | ||||
* | | Merge 3.5 (os.waitpid) | Victor Stinner | 2015-09-15 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #25118: Fix a regression of Python 3.5.0 in os.waitpid() on Windows. | Victor Stinner | 2015-09-15 | 1 | -2/+2 |
| | | | | | | | | Add an unit test on os.waitpid() | ||||
* | | Merge 3.5 into 3.6 | Martin Panter | 2015-09-09 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Merge 3.4 into 3.5 | Martin Panter | 2015-09-09 | 1 | -3/+3 |
| |\ | |||||
| | * | os.sendfile(headers=None, trailers=None) arguments are not actually accepted | Martin Panter | 2015-09-09 | 1 | -3/+3 |
| | | | | | | | | | | | | Needs to be tested on a BSD. |