Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Fix for AMD FreeBSD 9 buildbot (hopefully), broken by my last checkin. | Larry Hastings | 2014-08-05 | 1 | -1/+0 |
| | |||||
* | Issue #20170: Convert posixmodule to use Argument Clinic. | Larry Hastings | 2014-08-05 | 1 | -2929/+8298 |
| | |||||
* | Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get and | Victor Stinner | 2014-07-29 | 1 | -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 of | Victor Stinner | 2014-07-11 | 1 | -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 Ware | 2014-06-19 | 1 | -0/+16 |
| | | | | Patch by Ben Hoyt. | ||||
* | Issue18314 Allow unlink to remove junctions. Includes support for creating ↵ | Tim Golden | 2014-05-05 | 1 | -36/+9 |
| | | | | junctions. Patch by Kim Gräsman | ||||
* | Backed out changeset: 17df50df62c7 | Tim Golden | 2014-04-27 | 1 | -9/+36 |
| | |||||
* | Issue #18314 os.unlink will now remove junction points on Windows. Patch by ↵ | Tim Golden | 2014-04-27 | 1 | -36/+9 |
| | | | | Kim Gräsman. | ||||
* | Fixes for KFreeBSD and the Hurd: | doko@ubuntu.com | 2014-04-17 | 1 | -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 timeout | Victor Stinner | 2014-02-16 | 1 | -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 Peterson | 2014-02-11 | 1 | -2/+6 |
|\ | |||||
| * | avoid name clash with posix_close (closes #20594) | Benjamin Peterson | 2014-02-11 | 1 | -2/+6 |
| | | |||||
* | | Issue #20517: Functions in the os module that accept two filenames | Larry Hastings | 2014-02-10 | 1 | -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 Storchaka | 2014-02-09 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -2/+1 |
| | | |||||
* | | Issue #20530: Argument Clinic's signature format has been revised again. | Larry Hastings | 2014-02-09 | 1 | -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 Hastings | 2014-02-01 | 1 | -7/+21 |
| | | | | | | | | | | including correctly generating code for Clinic blocks inside C preprocessor conditional blocks. | ||||
* | | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -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). | ||||
* | | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 1 | -6/+6 |
| | | | | | | | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes. | ||||
* | | merge 3.3 (#17811) | Benjamin Peterson | 2014-01-19 | 1 | -6/+10 |
|\ \ | |/ | |||||
| * | improve description of buffers argument for readv/writev (closes #17811) | Benjamin Peterson | 2014-01-19 | 1 | -6/+10 |
| | | | | | | | | Patch by Nikolaus Rath. | ||||
| * | fix build when SCHED_SPORADIC is defined (closes #20217) | Benjamin Peterson | 2014-01-10 | 1 | -1/+1 |
| | | |||||
* | | Issue #20226: Major improvements to Argument Clinic. | Larry Hastings | 2014-01-16 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * You may now specify an expression as the default value for a parameter! Example: "sys.maxsize - 1". This support is intentionally quite limited; you may only use values that can be represented as static C values. * Removed "doc_default", simplified support for "c_default" and "py_default". (I'm not sure we still even need "py_default", but I'm leaving it in for now in case a use presents itself.) * Parameter lines support a trailing '\\' as a line continuation character, allowing you to break up long lines. * The argument parsing code generated when supporting optional groups now uses PyTuple_GET_SIZE instead of PyTuple_GetSize, leading to a 850% speedup in parsing. (Just kidding, this is an unmeasurable difference.) * A bugfix for the recent regression where the generated prototype from pydoc for builtins would be littered with unreadable "=<object ...>"" default values for parameters that had no default value. * Converted some asserts into proper failure messages. * Many doc improvements and fixes. | ||||
* | | (Merge 3.3) Issue #20113: os.readv() and os.writev() now raise an OSError | Victor Stinner | 2014-01-08 | 1 | -9/+15 |
|\ \ | |/ | | | | | exception on error instead of returning -1. | ||||
| * | Issue #20113: os.readv() and os.writev() now raise an OSError exception on | Victor Stinner | 2014-01-08 | 1 | -9/+15 |
| | | | | | | | | error instead of returning -1. | ||||
* | | Issue #19273: The marker comments Argument Clinic uses have been changed | Larry Hastings | 2014-01-07 | 1 | -15/+15 |
| | | | | | | | | to improve readability. | ||||
* | | Issue #16136: Remove VMS support and VMS-related code | Christian Heimes | 2013-12-21 | 1 | -23/+0 |
| | | |||||
* | | Fix os.listdir(): _Py_dup() already raises an exception on error, no need to | Victor Stinner | 2013-12-19 | 1 | -4/+2 |
| | | | | | | | | raise a new exception | ||||
* | | Merge: #19970: Fix some comment typos. | R David Murray | 2013-12-14 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | #19970: Fix some comment typos. | R David Murray | 2013-12-14 | 1 | -2/+2 |
| | | | | | | | | Report and patch by Vajrasky Kok. | ||||
* | | - Issue #19736: Add module-level statvfs constants defined for GNU/glibc | doko@ubuntu.com | 2013-12-08 | 1 | -0/+29 |
| | | | | | | | | based systems. | ||||
* | | Issue #19752: Fix "HAVE_DEV_PTMX" implementation of os.openpty() | Victor Stinner | 2013-11-25 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | Regression introduced by the implementation of the PEP 446 (non-inheritable file descriptors by default). master_fd must be set non-inheritable after the creation of the slave_fd, otherwise grantpt(master_fd) fails with EPERM (errno 13). | ||||
* | | Issue #19636: Fix usage of MAX_PATH in posixmodule.c | Victor Stinner | 2013-11-24 | 1 | -14/+14 |
| | | |||||
* | | Issue #19636: Fix posix__getvolumepathname(), raise an OverflowError if | Victor Stinner | 2013-11-24 | 1 | -5/+14 |
| | | | | | | | | the length doesn't fit in an DWORD | ||||
* | | Issue #19674: inspect.signature() now produces a correct signature | Larry Hastings | 2013-11-23 | 1 | -9/+10 |
| | | | | | | | | for some builtins. | ||||
* | | Issue #19730: Argument Clinic now supports all the existing PyArg | Larry Hastings | 2013-11-23 | 1 | -12/+12 |
| | | | | | | | | | | "format units" as legacy converters, as well as two new features: "self converters" and the "version" directive. | ||||
* | | Issue #19727: os.utime(..., None) is now potentially more precise under Windows. | Antoine Pitrou | 2013-11-23 | 1 | -7/+2 |
| | | |||||
* | | Argument Clinic: rename "self" to "module" for module-level functions. | Larry Hastings | 2013-11-18 | 1 | -15/+15 |
| | | |||||
* | | GetVolumePathNameW: downcast bufsize to DWORD | Christian Heimes | 2013-11-18 | 1 | -1/+2 |
| | | |||||
* | | Issue #19437: Fix parse_envlist() of the posix/nt module, don't call | Victor Stinner | 2013-11-14 | 1 | -1/+3 |
| | | | | | | | | PyMapping_Values() with an exception set, exit immediatly on error. | ||||
* | | Don't use deprecated function PyUnicode_GET_SIZE() | Victor Stinner | 2013-11-13 | 1 | -6/+5 |
| | | | | | | | | Replace it with PyUnicode_GET_LENGTH() or PyUnicode_AsUnicodeAndSize() | ||||
* | | Issue #19437: Fix fsconvert_strdup(), raise a MemoryError on PyMem_Malloc() | Victor Stinner | 2013-11-07 | 1 | -1/+3 |
| | | | | | | | | failure | ||||
* | | Issue #19437: Fix os.statvfs(), handle errors | Victor Stinner | 2013-10-30 | 1 | -0/+4 |
| | | |||||
* | | Issue13234 Allow listdir to handle extended paths on Windows (Patch by ↵ | Tim Golden | 2013-10-25 | 1 | -4/+4 |
| | | | | | | | | Santoso Wijaya) | ||||
* | | Issue4905: use INVALID_FILE_ATTRIBUTES where appropriate. (Patch by Ulrich ↵ | Tim Golden | 2013-10-25 | 1 | -5/+5 |
| | | | | | | | | Eckhardt) | ||||
* | | fix compile issue on windows. path is now a struct ptr | Christian Heimes | 2013-10-19 | 1 | -3/+3 |
| | | |||||
* | | Issue #16612: Add "Argument Clinic", a compile-time preprocessor | Larry Hastings | 2013-10-19 | 1 | -96/+301 |
| | | | | | | | | for C files to generate argument parsing code. (See PEP 436.) |