summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Issue #22524: Fix os.scandir() for platforms which don't have a d_type field inVictor Stinner2015-03-081-11/+27
| | | | | | | | the dirent structure (ex: OpenIndiana).
* | Issue #22524: New os.scandir() function, part of the PEP 471: "os.scandir()Victor Stinner2015-03-081-20/+798
| | | | | | | | | | function -- a better and faster directory iterator". Patch written by Ben Hoyt.
* | Issue #23524: Replace _PyVerify_fd function with calling ↵Steve Dower2015-03-061-88/+4
| | | | | | | | _set_thread_local_invalid_parameter_handler on every thread.
* | Issue #23152: Move declarations back to posixmodule.c.Serhiy Storchaka2015-02-221-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 Storchaka2015-02-221-9/+0
| |
* | Issue #23152: Renames time_t_to_FILE_TIME to _Py_time_t_to_FILE_TIME, ↵Steve Dower2015-02-211-22/+4
| | | | | | | | removes unused struct win32_stat and return value
* | Issue #23152: Renames attribute_data_to_stat to _Py_attribute_data_to_statSteve Dower2015-02-211-3/+3
| |
* | Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on ↵Steve Dower2015-02-211-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 integerSerhiy Storchaka2015-02-161-9/+9
|\ \ | |/ | | | | overflows. Added few missed PyErr_NoMemory().
| * Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integerSerhiy Storchaka2015-02-161-9/+9
| | | | | | | | overflows. Added few missed PyErr_NoMemory().
* | Issue #23285: PEP 475 -- Retry system calls failing with EINTR.Charles-François Natali2015-02-071-141/+244
| |
* | Always #define _PyLong_FromDev as we always need it to compile rather thanGregory P. Smith2015-01-291-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 thanGregory P. Smith2015-01-291-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 ShellExecuteSteve Dower2015-01-241-4/+43
| |
* | Issue #23098: 64-bit dev_t is now supported in the os module.Serhiy Storchaka2015-01-181-33/+62
|\ \ | |/
| * Issue #23098: 64-bit dev_t is now supported in the os module.Serhiy Storchaka2015-01-181-12/+32
| |
* | Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), ↵Steve Dower2014-11-221-2/+20
| | | | | | | | which will be used for the official 3.5 release.
* | Issue #9647: os.confstr() ensures that the second call to confstr() returns theVictor Stinner2014-12-051-1/+3
| | | | | | | | same length.
* | Removed duplicated words in in comments and docs.Serhiy Storchaka2014-12-011-1/+1
|\ \ | |/
| * Removed duplicated words in in comments and docs.Serhiy Storchaka2014-12-011-1/+1
| |
* | Issue #22592: Drop support of the Borland C compiler to build PythonVictor Stinner2014-10-221-13/+1
| | | | | | | | The distutils module still supports it to build extensions.
* | #22568: merge with 3.4Georg Brandl2014-10-121-6/+6
|\ \ | |/
| * Closes #22568: fix UTIME_TO_* macros in posixmodule for rare cases.Georg Brandl2014-10-121-6/+6
| |
* | Closes #22579: Fix posixmodule.c to support any C compiler on WindowsVictor Stinner2014-10-091-1/+1
| |
* | (Merge 3.4) Issue #22568: Fix compilation of posixmodule.c with Open Watcom:Victor Stinner2014-10-091-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 Stinner2014-10-091-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 exposeVictor Stinner2014-09-301-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() norVictor Stinner2014-09-301-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 bytesSerhiy Storchaka2014-09-061-1/+1
| | | | | | | | argument contains not permitted null character or byte.
* | Issue #22156: Fix some "comparison between signed and unsigned integers"Victor Stinner2014-08-151-1/+1
| | | | | | | | compiler warnings in the Modules/ subdirectory.
* | Issue #22120: For functions using an unsigned integer return converter,Larry Hastings2014-08-051-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 Hastings2014-08-051-2/+2
| |
* | Fix for AMD FreeBSD 9 buildbot (hopefully), broken by my last checkin.Larry Hastings2014-08-051-1/+0
| |
* | Issue #20170: Convert posixmodule to use Argument Clinic.Larry Hastings2014-08-051-2929/+8298
| |
* | Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get andVictor Stinner2014-07-291-0/+54
| | | | | | | | | | set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is set, True otherwise). These functions are not available on Windows.
* | Issue #21932: os.read() now uses a :c:func:`Py_ssize_t` type instead ofVictor Stinner2014-07-111-6/+13
| | | | | | | | | | | | :c:type:`int` for the size to support reading more than 2 GB at once. On Windows, the size is truncted to INT_MAX. As any call to os.read(), the OS may read less bytes than the number of requested bytes.
* | Issue #21741: Add st_file_attributes to os.stat_result on Windows.Zachary Ware2014-06-191-0/+16
| | | | | | | | Patch by Ben Hoyt.
* | Issue18314 Allow unlink to remove junctions. Includes support for creating ↵Tim Golden2014-05-051-36/+9
| | | | | | | | junctions. Patch by Kim Gräsman
* | Backed out changeset: 17df50df62c7Tim Golden2014-04-271-9/+36
| |
* | Issue #18314 os.unlink will now remove junction points on Windows. Patch by ↵Tim Golden2014-04-271-36/+9
|/ | | | Kim Gräsman.
* Fixes for KFreeBSD and the Hurd:doko@ubuntu.com2014-04-171-1/+1
| | | | | | | | - Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c. - Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd. - Issue #21275: Fix a socket test on KFreeBSD.
* Issue #20320: select.select() and select.kqueue.control() now round the timeoutVictor Stinner2014-02-161-2/+2
| | | | | | aways from zero, instead of rounding towards zero. It should make test_asyncio more reliable, especially test_timeout_rounding() test.
* merge 3.3 (#20594)Benjamin Peterson2014-02-111-2/+6
|\
| * avoid name clash with posix_close (closes #20594)Benjamin Peterson2014-02-111-2/+6
| |
* | Issue #20517: Functions in the os module that accept two filenamesLarry Hastings2014-02-101-6/+19
| | | | | | | | | | | | now register both filenames in the exception on failure. This required adding new C API functions allowing OSError exceptions to reference two filenames instead of one.
* | Issue #20437: Fixed 22 potential bugs when deleting objects references.Serhiy Storchaka2014-02-091-2/+1
|\ \ | |/
| * Issue #20437: Fixed 21 potential bugs when deleting objects references.Serhiy Storchaka2014-02-091-2/+1
| |
* | Issue #20530: Argument Clinic's signature format has been revised again.Larry Hastings2014-02-091-6/+13
| | | | | | | | | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4.
* | #Issue 20456: Several improvements and bugfixes for Argument Clinic,Larry Hastings2014-02-011-7/+21
| | | | | | | | | | including correctly generating code for Clinic blocks inside C preprocessor conditional blocks.
* | Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-281-8/+8
| | | | | | | | | | | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date).