| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [3.5] bpo-33001: Prevent buffer overrun in os.symlink (GH-5989) (#5991) | Steve Dower | 2018-05-14 | 1 | -38/+56 |
| | | | | | | | * bpo-33001: Minimal fix to prevent buffer overrun in os.symlink * Remove invalid test | ||||
| * | [3.5] bpo-30879: os.listdir() and os.scandir() now emit bytes names when ↵ | Serhiy Storchaka | 2017-07-11 | 1 | -3/+3 |
| | | | | | | | | (GH-2634) (#2657) called with bytes-like argument. (cherry picked from commit 1180e5a51871fa53ca6892e83fd2e69dc2600447) | ||||
| * | [3.5] bpo-13617: Reject embedded null characters in wchar* strings. ↵ | Serhiy Storchaka | 2017-06-28 | 1 | -9/+15 |
| | | | | | | | | | | | (GH-2302) (#2463) Based on patch by Victor Stinner. Add private C API function _PyUnicode_AsUnicode() which is similar to PyUnicode_AsUnicode(), but checks for null characters.. (cherry picked from commit f7eae0adfcd4c50034281b2c69f461b43b68db84) | ||||
| * | [3.5] bpo-30769: Fix reference leak introduced in 7770394 (GH-2416) (#2447) | Emily Morehouse | 2017-06-27 | 1 | -0/+2 |
| | | |||||
| * | [3.5] bpo-30746: Prohibited the '=' character in environment variable names ↵ | Serhiy Storchaka | 2017-06-25 | 1 | -6/+22 |
| | | | | | | | | (GH-2382) (#2392) in `os.putenv()` and `os.spawn*()`.. (cherry picked from commit 77703942c5997dff00c48f10df1b29b11645624c) | ||||
| * | [3.5] bpo-30650: Fixed a syntax error: missed right parentheses (GH-2154) ↵ | Serhiy Storchaka | 2017-06-15 | 1 | -1/+1 |
| | | | | | | (#2216) (cherry picked from commit 0d32218) | ||||
| * | [3.5] bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() ↵ | Serhiy Storchaka | 2017-04-19 | 1 | -18/+42 |
| | | | | | | | | | | (GH-1096) (GH-1180) (#1182) raised an error. (cherry picked from commit bf623ae8843dc30b28c574bec8d29fc14be59d86) (cherry picked from commit 680fea4067537a9b9c79aadd44a3a19e83cd2dbf) | ||||
| * | Issue #28732: Raise ValueError when argv[0] is empty. | Steve Dower | 2016-11-20 | 1 | -0/+9 |
| | | |||||
| * | Issue #28732: Fix crash in os.spawnv() with no elements in args | Steve Dower | 2016-11-20 | 1 | -0/+16 |
| | | | | | Prevents crashes in some other posixmodule.c functions | ||||
| * | Issue #28585: Restored docstring of os._isdir(). | Serhiy Storchaka | 2016-11-08 | 1 | -4/+2 |
| | | |||||
| * | Increase buffer for readlink() in case OS will support longer names one day. | Christian Heimes | 2016-09-23 | 1 | -3/+4 |
| | | |||||
| * | Issue #28075: Fix test_access_denied in Python 3.5 | Berker Peksag | 2016-09-18 | 1 | -2/+4 |
| | | | | | I forgot there two variations of os.stat() in Python 3.5. | ||||
| * | Issue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of ↵ | Berker Peksag | 2016-09-17 | 1 | -2/+4 |
| | | | | | | | os.stat() Patch by Eryk Sun. | ||||
| * | do not pretend to support passing a fd to access() | Benjamin Peterson | 2016-09-05 | 1 | -3/+3 |
| | | |||||
| * | 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 #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. | ||||
| * | 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 #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 #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 #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir() (new try) | Victor Stinner | 2015-12-13 | 1 | -1/+1 |
| | | |||||
| * | Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir() | Victor Stinner | 2015-12-13 | 1 | -3/+3 |
| | | |||||
| * | 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.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. | ||||
| * | | Issue #23738: Merge 3.4 into 3.5 | Martin Panter | 2015-09-09 | 1 | -7/+8 |
| |\ \ | |/ | |||||
| | * | Issue #23738: Document and test actual keyword parameter names | Martin Panter | 2015-09-09 | 1 | -8/+9 |
| | | | | | | | | | Also fix signature because os.utime(..., ns=None) is not allowed. | ||||
| * | | Merge 3.4 (ICC) | Victor Stinner | 2015-09-03 | 1 | -8/+4 |
| |\ \ | |/ | |||||
| | * | Don't use defined() in C preprocessor macros | Victor Stinner | 2015-09-03 | 1 | -10/+6 |
| | | | | | | | | | | | | | | | The ICC compiler doesn't seem to support defined() in macro expansion. Example of warning: warning #3199: "defined" is always false in a macro expansion in Microsoft mode | ||||
| * | | Converted os._getfullpathname() and os._isdir() to Argument Clinic. | Serhiy Storchaka | 2015-05-12 | 1 | -59/+39 |
| | | | |||||
| * | | (Merge 3.4) Issue #9246: On POSIX, os.getcwd() now supports paths longer than | Victor Stinner | 2015-04-24 | 1 | -8/+28 |
| |\ \ | |/ | | | | | 1025 bytes. Patch written by William Orr. | ||||
| | * | Issue #9246: On POSIX, os.getcwd() now supports paths longer than 1025 bytes | Victor Stinner | 2015-04-24 | 1 | -7/+27 |
| | | | | | | | | | Patch written by William Orr. | ||||
| * | | Get rid of unused-but-set-variable warning. len and len2 should be equal and ↵ | Christian Heimes | 2015-04-21 | 1 | -1/+1 |
| | | | | | | | | | len2 is technically more correct, too. | ||||
| * | | Issue #23908: os functions now reject paths with embedded null character | Serhiy Storchaka | 2015-04-20 | 1 | -0/+5 |
| |\ \ | |/ | | | | | | | | | on Windows instead of silently truncate them. Removed no longer used _PyUnicode_HasNULChars(). | ||||
| | * | Issue #23908: os functions now reject paths with embedded null character | Serhiy Storchaka | 2015-04-20 | 1 | -0/+5 |
| | | | | | | | | | on Windows instead of silently truncate them. | ||||
| * | | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 1 | -46/+69 |
| | | | |||||
| * | | make DirEntryType and ScandirIteratorType static (closes #23918) | Benjamin Peterson | 2015-04-12 | 1 | -2/+2 |
| | | | |||||
| * | | Issue #23668: Suppresses invalid parameter handler around chsize calls. | Steve Dower | 2015-04-12 | 1 | -0/+4 |
| | | | |||||
| * | | Issue #23524: Replace _PyVerify_fd function with calls to ↵ | Steve Dower | 2015-04-12 | 1 | -10/+46 |
| | | | | | | | | | _set_thread_local_invalid_parameter_handler. | ||||
| * | | Issue #23668: Adds support for os.truncate and os.ftruncate on Windows | Steve Dower | 2015-03-21 | 1 | -9/+36 |
| | | | |||||
| * | | Issue #23501: #include "clinic/posixmodule.c.h" was in the section skipped ↵ | Serhiy Storchaka | 2015-04-04 | 1 | -2/+2 |
| | | | | | | | | | on Windows. | ||||
| * | | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 1 | -5595/+160 |
| | | | |||||
| * | | Issue #23500: Argument Clinic is now smarter about generating the "#ifndef" | Larry Hastings | 2015-04-03 | 1 | -13/+1 |
| | | | | | | | | | | | | | (empty) definition of the methoddef macro: it's only generated once, even if Argument Clinic processes the same symbol multiple times, and it's emitted at the end of all processing rather than immediately after the first use. | ||||
| * | | Issue #23752: _Py_fstat() is now responsible to raise the Python exception | Victor Stinner | 2015-03-30 | 1 | -1/+1 |
| | | | | | | | | | Add _Py_fstat_noraise() function when a Python exception is not welcome. | ||||
| * | | Issue #22117: Fix os.utime(), it now rounds the timestamp towards minus | Victor Stinner | 2015-03-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | infinity (-inf) instead of rounding towards zero. Replace _PyTime_ROUND_DOWN with _PyTime_ROUND_FLOOR. | ||||
| * | | Closes #9445: Removes detection of GetFinalPathNameByHandle | Steve Dower | 2015-03-21 | 1 | -50/+6 |
| | | | |||||
| * | | Issue #23708: Add _Py_read() and _Py_write() functions to factorize code handle | Victor Stinner | 2015-03-19 | 1 | -41/+5 |
| | | | | | | | | | | | | | | | | | EINTR error and special cases for Windows. These functions now truncate the length to PY_SSIZE_T_MAX to have a portable and reliable behaviour. For example, read() result is undefined if counter is greater than PY_SSIZE_T_MAX on Linux. | ||||
| * | | Issue #23694: Enhance _Py_open(), it now raises exceptions | Victor Stinner | 2015-03-17 | 1 | -5/+3 |
| | | | | | | | | | | | | | | | | | * _Py_open() now raises exceptions on error. If open() fails, it raises an OSError with the filename. * _Py_open() now releases the GIL while calling open() * Add _Py_open_noraise() when _Py_open() cannot be used because the GIL is not held | ||||
| * | | Issue #22524: Fix os.scandir() for platforms which don't have a d_type field in | Victor Stinner | 2015-03-08 | 1 | -11/+27 |
| | | | | | | | | | the dirent structure (ex: OpenIndiana). | ||||
| * | | Issue #22524: New os.scandir() function, part of the PEP 471: "os.scandir() | Victor Stinner | 2015-03-08 | 1 | -20/+798 |
| | | | | | | | | | | | function -- a better and faster directory iterator". Patch written by Ben Hoyt. | ||||
