Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22018: signal.set_wakeup_fd() now raises an OSError instead of a | Victor Stinner | 2014-07-21 | 1 | -3/+11 |
| | | | | ValueError on fstat() failure. | ||||
* | Issue #22018: Add _testcapi.raise_signal() | Victor Stinner | 2014-07-21 | 2 | -26/+21 |
| | | | | | | | | - Use _testcapi.raise_signal() in test_signal - close also os.pipe() file descriptors in some test_signal tests where they were not closed properly - Remove faulthandler._sigill() and faulthandler._sigbus(): reuse _testcapi.raise_signal() in test_faulthandler | ||||
* | Call PyErr_NoMemory() when PyMem_Malloc() fails. | Serhiy Storchaka | 2014-07-14 | 1 | -1/+3 |
|\ | |||||
| * | Call PyErr_NoMemory() when PyMem_Malloc() fails. | Serhiy Storchaka | 2014-07-14 | 1 | -1/+3 |
| | | |||||
* | | 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. | ||||
* | | Fix compilation failure (followup to #21803) | Antoine Pitrou | 2014-07-07 | 1 | -3/+3 |
| | | |||||
* | | (Merge 3.4) Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format | Victor Stinner | 2014-07-07 | 1 | -1/+1 |
|\ \ | |/ | | | | | requires size to be a Py_ssize_t, not an int. _ssl.c is now "Py_ssize_t clean". | ||||
| * | Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requires | Victor Stinner | 2014-07-07 | 1 | -1/+1 |
| | | | | | | | | size to be a Py_ssize_t, not an int. _ssl.c is now "Py_ssize_t clean". | ||||
| * | properly decref the return value of close() | Benjamin Peterson | 2014-07-05 | 1 | -3/+5 |
| | | |||||
* | | upgrade to unicode 7.0.0 | Benjamin Peterson | 2014-07-06 | 2 | -22467/+25009 |
| | | |||||
* | | properly decref the return value of close() | Benjamin Peterson | 2014-07-05 | 1 | -3/+5 |
| | | |||||
* | | (Merge 3.4) Issue #21090: io.FileIO.readall() does not ignore I/O errors | Victor Stinner | 2014-07-02 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | anymore. Before, it ignored I/O errors if at least the first C call read() succeed. | ||||
| * | Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before, | Victor Stinner | 2014-07-02 | 1 | -2/+2 |
| | | | | | | | | it ignored I/O errors if at least the first C call read() succeed. | ||||
* | | (Merge 3.4) Issue #8677: make the zlib module "ssize_t clean" for parsing | Victor Stinner | 2014-07-01 | 1 | -0/+1 |
|\ \ | |/ | | | | | parameters | ||||
| * | Issue #8677: make the zlib module "ssize_t clean" for parsing parameters | Victor Stinner | 2014-07-01 | 1 | -0/+1 |
| | | |||||
* | | (Merge 3.4) Closes #21780: make the unicodedata module "ssize_t clean" for | Victor Stinner | 2014-07-01 | 1 | -2/+8 |
|\ \ | |/ | | | | | parsing parameters | ||||
| * | Closes #21780: make the unicodedata module "ssize_t clean" for parsing ↵ | Victor Stinner | 2014-07-01 | 1 | -2/+8 |
| | | | | | | | | parameters | ||||
* | | (Merge 3.4) Issue #21781: Make the ssl module "ssize_t clean" for parsing | Victor Stinner | 2014-07-01 | 1 | -2/+9 |
|\ \ | |/ | | | | | parameters. ssl.RAND_add() now supports strings longer than 2 GB. | ||||
| * | Issue #21781: Make the ssl module "ssize_t clean" for parsing parameters. | Victor Stinner | 2014-07-01 | 1 | -2/+9 |
| | | | | | | | | ssl.RAND_add() now supports strings longer than 2 GB. | ||||
* | | (Merge 3.4) Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu | Victor Stinner | 2014-07-01 | 1 | -2/+3 |
|\ \ | |/ | | | | | to format C size_t, because %zi/%u is not supported on all platforms. | ||||
| * | Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C | Victor Stinner | 2014-07-01 | 1 | -2/+3 |
| | | | | | | | | size_t, because %zi/%u is not supported on all platforms. | ||||
* | | Fix typo in socket.getaddrinfo() docstring. | Berker Peksag | 2014-06-30 | 1 | -4/+4 |
|\ \ | |/ | | | | | Reported by Krishna Kumar Thakur on docs@. | ||||
| * | Fix typo in socket.getaddrinfo() docstring. | Berker Peksag | 2014-06-30 | 1 | -4/+4 |
| | | | | | | | | Reported by Krishna Kumar Thakur on docs@. | ||||
* | | Issue #21679: Prevent extraneous fstat() calls during open(). Patch by ↵ | Antoine Pitrou | 2014-06-30 | 2 | -40/+34 |
| | | | | | | | | Bohuslav Kabrda. | ||||
* | | Issue #21863: cProfile now displays the module name of C extension ↵ | Antoine Pitrou | 2014-06-28 | 1 | -2/+9 |
| | | | | | | | | functions, in addition to their own name. | ||||
* | | (Merge 3.4) Issue #21858: Better handling of Python exceptions in the sqlite3 | Victor Stinner | 2014-06-26 | 1 | -16/+26 |
|\ \ | |/ | | | | | module. | ||||
| * | Issue #21858: Better handling of Python exceptions in the sqlite3 module. | Victor Stinner | 2014-06-26 | 1 | -16/+26 |
| | | |||||
* | | merge | Raymond Hettinger | 2014-06-25 | 1 | -2/+5 |
|\ \ | |/ | |||||
| * | Issue #19145: Fix handling of negative values for a "times" keyword ↵ | Raymond Hettinger | 2014-06-25 | 1 | -2/+5 |
| | | | | | | | | | | | | argument to itertools.repeat()> (Patch contributed by Vajrasky Kok.) | ||||
* | | add BufferedIOBase.readinto1 (closes #20578) | Benjamin Peterson | 2014-06-22 | 1 | -6/+60 |
| | | | | | | | | Patch by Nikolaus Rath. | ||||
* | | Issue #21741: Add st_file_attributes to os.stat_result on Windows. | Zachary Ware | 2014-06-19 | 2 | -0/+52 |
| | | | | | | | | Patch by Ben Hoyt. | ||||
* | | Issue #10310: Use "unsigned int field:1" instead of "signed int field:1" in a | Victor Stinner | 2014-06-17 | 1 | -3/+3 |
| | | | | | | | | | | | | private structure of the _io module to fix a compiler warning (overflow when assigning the value 1). Fix also a cast in incrementalnewlinedecoder_setstate(). Patch written by Hallvard B Furuseth. | ||||
* | | Factor common code into internal functions. | Raymond Hettinger | 2014-06-14 | 1 | -41/+55 |
| | | | | | | | | | | | | | | Clean-up names of static functions. Use Py_RETURN_NONE macro. Expose private functions needed to support merge(). Move C imports to the bottom of the Python file. | ||||
* | | PyErr_NormalizeException doesn't like being called with an exception set | Serhiy Storchaka | 2014-06-11 | 3 | -12/+12 |
|\ \ | |/ | | | | | (issues #21677, #21310). | ||||
| * | PyErr_NormalizeException doesn't like being called with an exception set | Serhiy Storchaka | 2014-06-11 | 3 | -12/+12 |
| | | | | | | | | (issues #21677, #21310). | ||||
* | | Issue #21310: Fixed possible resource leak in failed open(). | Serhiy Storchaka | 2014-06-09 | 1 | -9/+27 |
|\ \ | |/ | |||||
| * | Issue #21310: Fixed possible resource leak in failed open(). | Serhiy Storchaka | 2014-06-09 | 1 | -9/+27 |
| | | |||||
* | | Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods. | Serhiy Storchaka | 2014-06-09 | 2 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods. | Serhiy Storchaka | 2014-06-09 | 2 | -0/+2 |
| | | |||||
* | | backout 0fb7789b5eeb for test breakage (#20578) | Benjamin Peterson | 2014-06-08 | 1 | -61/+6 |
| | | |||||
* | | add BufferedIOBase.readinto1 (closes #20578) | Benjamin Peterson | 2014-06-08 | 1 | -6/+61 |
| | | | | | | | | Patch by Nikolaus Rath. | ||||
* | | All modern compilers provide a offsetof() function | Victor Stinner | 2014-06-03 | 1 | -4/+0 |
| | | | | | | | | offsetof() is used directly in many other .c files without any issue. | ||||
* | | Issue #21233: Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" to | Victor Stinner | 2014-06-02 | 2 | -13/+13 |
| | | | | | | | | | | make sure that the code using it will be adapted for the new "calloc" field (instead of crashing). | ||||
* | | Issue #21639: Fix a division by zero in tracemalloc on calloc(0, 0). The | Victor Stinner | 2014-06-02 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | | | regression was introduced recently with the introduction of the new "calloc" functions (PyMem_RawCalloc, PyMem_Calloc, PyObject_Calloc). Add also a unit test to check for the non-regression. | ||||
* | | (Merge 3.4) Issue #21639: Fix name of _testcapi test functions | Victor Stinner | 2014-06-02 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #21639: Fix name of _testcapi test functions | Victor Stinner | 2014-06-02 | 1 | -2/+2 |
| | | |||||
* | | Issue #17095: Fix Modules/Setup *shared* support. | Ned Deily | 2014-06-02 | 2 | -6/+16 |
|\ \ | |/ | | | | | Original patch by Thomas Wouters. | ||||
| * | Issue #17095: Fix Modules/Setup *shared* support. | Ned Deily | 2014-06-02 | 2 | -6/+16 |
| | | | | | | | | Original patch by Thomas Wouters. | ||||
* | | merge the end_fd comment fix and explicit wait() for the child. | Gregory P. Smith | 2014-06-01 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Fix the comment to not refer to the removed end_fd parameter. | Gregory P. Smith | 2014-06-01 | 1 | -2/+2 |
| | |