Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (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. | ||||
* | | Issue #23524: Replace _PyVerify_fd function with calling ↵ | Steve Dower | 2015-03-06 | 1 | -88/+4 |
| | | | | | | | | _set_thread_local_invalid_parameter_handler on every thread. | ||||
* | | Issue #23152: Move declarations back to posixmodule.c. | Serhiy Storchaka | 2015-02-22 | 1 | -0/+6 |
| | | | | | | | | | | | | | | Declarations of Windows-specific auxilary functions need Windows types from windows.h. Instead of including windows.h in Python.h and making it available to all Windows users, it is simpler and safer just move declarations to the single file that needs them. | ||||
* | | Issue #23152: Move declaration into a header and exclude from stable API. | Serhiy Storchaka | 2015-02-22 | 1 | -9/+0 |
| | | |||||
* | | Issue #23152: Renames time_t_to_FILE_TIME to _Py_time_t_to_FILE_TIME, ↵ | Steve Dower | 2015-02-21 | 1 | -22/+4 |
| | | | | | | | | removes unused struct win32_stat and return value | ||||
* | | Issue #23152: Renames attribute_data_to_stat to _Py_attribute_data_to_stat | Steve Dower | 2015-02-21 | 1 | -3/+3 |
| | | |||||
* | | Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on ↵ | Steve Dower | 2015-02-21 | 1 | -129/+20 |
| | | | | | | | | | | | | Windows. fstat() may fail with EOVERFLOW on files larger than 2 GB because the file size type is an signed 32-bit integer. | ||||
* | | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -9/+9 |
|\ \ | |/ | | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
| * | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -9/+9 |
| | | | | | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
* | | Issue #23285: PEP 475 -- Retry system calls failing with EINTR. | Charles-François Natali | 2015-02-07 | 1 | -141/+244 |
| | | |||||
* | | Always #define _PyLong_FromDev as we always need it to compile rather than | Gregory P. Smith | 2015-01-29 | 1 | -8/+8 |
|\ \ | |/ | | | | | | | | | | | only defining it when HAVE_MKNOD && HAVE_MAKEDEV are true. This "oops" issue reported by John E. Malmberg on core-mentorship. (what kinds of systems don't HAVE_MKNOD && HAVE_MAKEDEV?) | ||||
| * | Always #define _PyLong_FromDev as we always need it to compile rather than | Gregory P. Smith | 2015-01-29 | 1 | -8/+8 |
| | | | | | | | | | | | | | | only defining it when HAVE_MKNOD && HAVE_MAKEDEV are true. This "oops" issue reported by John E. Malmberg on core-mentorship. (what kinds of systems don't HAVE_MKNOD && HAVE_MAKEDEV?) | ||||
* | | Closes #23253: Delay-load ShellExecute | Steve Dower | 2015-01-24 | 1 | -4/+43 |
| | | |||||
* | | Issue #23098: 64-bit dev_t is now supported in the os module. | Serhiy Storchaka | 2015-01-18 | 1 | -33/+62 |
|\ \ | |/ | |||||
| * | Issue #23098: 64-bit dev_t is now supported in the os module. | Serhiy Storchaka | 2015-01-18 | 1 | -12/+32 |
| | | |||||
* | | Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), ↵ | Steve Dower | 2014-11-22 | 1 | -2/+20 |
| | | | | | | | | which will be used for the official 3.5 release. | ||||
* | | Issue #9647: os.confstr() ensures that the second call to confstr() returns the | Victor Stinner | 2014-12-05 | 1 | -1/+3 |
| | | | | | | | | same length. | ||||
* | | Removed duplicated words in in comments and docs. | Serhiy Storchaka | 2014-12-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Removed duplicated words in in comments and docs. | Serhiy Storchaka | 2014-12-01 | 1 | -1/+1 |
| | | |||||
* | | Issue #22592: Drop support of the Borland C compiler to build Python | Victor Stinner | 2014-10-22 | 1 | -13/+1 |
| | | | | | | | | The distutils module still supports it to build extensions. | ||||
* | | #22568: merge with 3.4 | Georg Brandl | 2014-10-12 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Closes #22568: fix UTIME_TO_* macros in posixmodule for rare cases. | Georg Brandl | 2014-10-12 | 1 | -6/+6 |
| | | |||||
* | | Closes #22579: Fix posixmodule.c to support any C compiler on Windows | Victor Stinner | 2014-10-09 | 1 | -1/+1 |
| | | |||||
* | | (Merge 3.4) Issue #22568: Fix compilation of posixmodule.c with Open Watcom: | Victor Stinner | 2014-10-09 | 1 | -21/+21 |
|\ \ | |/ | | | | | | | rename "utime" variable to "ut" to avoid conflict with the C utime() function. Patch written by Jeffrey Armstrong. | ||||
| * | Issue #22568: Fix compilation of posixmodule.c with Open Watcom: rename "utime" | Victor Stinner | 2014-10-09 | 1 | -21/+21 |
| | | | | | | | | | | variable to "ut" to avoid conflict with the C utime() function. Patch written by Jeffrey Armstrong. | ||||
* | | (Merge 3.4) Issue #22396: On 32-bit AIX platform, don't expose | Victor Stinner | 2014-09-30 | 1 | -4/+13 |
|\ \ | |/ | | | | | | | os.posix_fadvise() nor os.posix_fallocate() because their prototypes in system headers are wrong. | ||||
| * | Issue #22396: On 32-bit AIX platform, don't expose os.posix_fadvise() nor | Victor Stinner | 2014-09-30 | 1 | -4/+12 |
| | | | | | | | | os.posix_fallocate() because their prototypes in system headers are wrong. | ||||
* | | Issue #22215: Now ValueError is raised instead of TypeError when str or bytes | Serhiy Storchaka | 2014-09-06 | 1 | -1/+1 |
| | | | | | | | | argument contains not permitted null character or byte. | ||||
* | | Issue #22156: Fix some "comparison between signed and unsigned integers" | Victor Stinner | 2014-08-15 | 1 | -1/+1 |
| | | | | | | | | compiler warnings in the Modules/ subdirectory. | ||||
* | | Issue #22120: For functions using an unsigned integer return converter, | Larry Hastings | 2014-08-05 | 1 | -6/+6 |
| | | | | | | | | | | Argument Clinic now generates a cast to that type for the comparison to -1 in the generated code. (This supresses a compilation warning.) | ||||
* | | More fixes for the unhappy AMD FreeBSD 9 buildbot. Fingers crossed. | Larry Hastings | 2014-08-05 | 1 | -2/+2 |
| | |