summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix compilation failure (followup to #21803)Antoine Pitrou2014-07-071-3/+3
| |
* | (Merge 3.4) Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" formatVictor Stinner2014-07-071-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 requiresVictor Stinner2014-07-071-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 Peterson2014-07-051-3/+5
| |
* | upgrade to unicode 7.0.0Benjamin Peterson2014-07-062-22467/+25009
| |
* | properly decref the return value of close()Benjamin Peterson2014-07-051-3/+5
| |
* | (Merge 3.4) Issue #21090: io.FileIO.readall() does not ignore I/O errorsVictor Stinner2014-07-021-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 Stinner2014-07-021-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 parsingVictor Stinner2014-07-011-0/+1
|\ \ | |/ | | | | parameters
| * Issue #8677: make the zlib module "ssize_t clean" for parsing parametersVictor Stinner2014-07-011-0/+1
| |
* | (Merge 3.4) Closes #21780: make the unicodedata module "ssize_t clean" forVictor Stinner2014-07-011-2/+8
|\ \ | |/ | | | | parsing parameters
| * Closes #21780: make the unicodedata module "ssize_t clean" for parsing ↵Victor Stinner2014-07-011-2/+8
| | | | | | | | parameters
* | (Merge 3.4) Issue #21781: Make the ssl module "ssize_t clean" for parsingVictor Stinner2014-07-011-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 Stinner2014-07-011-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 %zuVictor Stinner2014-07-011-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 CVictor Stinner2014-07-011-2/+3
| | | | | | | | size_t, because %zi/%u is not supported on all platforms.
* | Fix typo in socket.getaddrinfo() docstring.Berker Peksag2014-06-301-4/+4
|\ \ | |/ | | | | Reported by Krishna Kumar Thakur on docs@.
| * Fix typo in socket.getaddrinfo() docstring.Berker Peksag2014-06-301-4/+4
| | | | | | | | Reported by Krishna Kumar Thakur on docs@.
* | Issue #21679: Prevent extraneous fstat() calls during open(). Patch by ↵Antoine Pitrou2014-06-302-40/+34
| | | | | | | | Bohuslav Kabrda.
* | Issue #21863: cProfile now displays the module name of C extension ↵Antoine Pitrou2014-06-281-2/+9
| | | | | | | | functions, in addition to their own name.
* | (Merge 3.4) Issue #21858: Better handling of Python exceptions in the sqlite3Victor Stinner2014-06-261-16/+26
|\ \ | |/ | | | | module.
| * Issue #21858: Better handling of Python exceptions in the sqlite3 module.Victor Stinner2014-06-261-16/+26
| |
* | mergeRaymond Hettinger2014-06-251-2/+5
|\ \ | |/
| * Issue #19145: Fix handling of negative values for a "times" keyword ↵Raymond Hettinger2014-06-251-2/+5
| | | | | | | | | | | | argument to itertools.repeat()> (Patch contributed by Vajrasky Kok.)
* | add BufferedIOBase.readinto1 (closes #20578)Benjamin Peterson2014-06-221-6/+60
| | | | | | | | Patch by Nikolaus Rath.
* | Issue #21741: Add st_file_attributes to os.stat_result on Windows.Zachary Ware2014-06-192-0/+52
| | | | | | | | Patch by Ben Hoyt.
* | Issue #10310: Use "unsigned int field:1" instead of "signed int field:1" in aVictor Stinner2014-06-171-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 Hettinger2014-06-141-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 setSerhiy Storchaka2014-06-113-12/+12
|\ \ | |/ | | | | (issues #21677, #21310).
| * PyErr_NormalizeException doesn't like being called with an exception setSerhiy Storchaka2014-06-113-12/+12
| | | | | | | | (issues #21677, #21310).
* | Issue #21310: Fixed possible resource leak in failed open().Serhiy Storchaka2014-06-091-9/+27
|\ \ | |/
| * Issue #21310: Fixed possible resource leak in failed open().Serhiy Storchaka2014-06-091-9/+27
| |
* | Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods.Serhiy Storchaka2014-06-092-0/+2
|\ \ | |/
| * Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods.Serhiy Storchaka2014-06-092-0/+2
| |
* | backout 0fb7789b5eeb for test breakage (#20578)Benjamin Peterson2014-06-081-61/+6
| |
* | add BufferedIOBase.readinto1 (closes #20578)Benjamin Peterson2014-06-081-6/+61
| | | | | | | | Patch by Nikolaus Rath.
* | All modern compilers provide a offsetof() functionVictor Stinner2014-06-031-4/+0
| | | | | | | | offsetof() is used directly in many other .c files without any issue.
* | Issue #21233: Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" toVictor Stinner2014-06-022-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). TheVictor Stinner2014-06-021-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 functionsVictor Stinner2014-06-021-2/+2
|\ \ | |/
| * Issue #21639: Fix name of _testcapi test functionsVictor Stinner2014-06-021-2/+2
| |
* | Issue #17095: Fix Modules/Setup *shared* support.Ned Deily2014-06-022-6/+16
|\ \ | |/ | | | | Original patch by Thomas Wouters.
| * Issue #17095: Fix Modules/Setup *shared* support.Ned Deily2014-06-022-6/+16
| | | | | | | | Original patch by Thomas Wouters.
* | merge the end_fd comment fix and explicit wait() for the child.Gregory P. Smith2014-06-011-2/+2
|\ \ | |/
| * Fix the comment to not refer to the removed end_fd parameter.Gregory P. Smith2014-06-011-2/+2
| |
* | Don't restrict ourselves to a "max" fd when closing fds before exec()Gregory P. Smith2014-06-011-43/+44
|\ \ | |/ | | | | | | | | | | | | | | when we have a way to get an actual list of all open fds from the OS. Fixes issue #21618: The subprocess module would ignore fds that were inherited by the calling process and already higher than POSIX resource limits would otherwise allow. On systems with a functioning /proc/self/fd or /dev/fd interface the max is now ignored and all fds are closed.
| * Don't restrict ourselves to a "max" fd when closing fds before exec()Gregory P. Smith2014-06-011-43/+44
| | | | | | | | | | | | | | | | | | when we have a way to get an actual list of all open fds from the OS. Fixes issue #21618: The subprocess module would ignore fds that were inherited by the calling process and already higher than POSIX resource limits would otherwise allow. On systems with a functioning /proc/self/fd or /dev/fd interface the max is now ignored and all fds are closed.
* | Issue #21552: Fixed possible integer overflow of too long string lengths inSerhiy Storchaka2014-05-301-1/+35
|\ \ | |/ | | | | the tkinter module on 64-bit platforms.
| * Issue #21552: Fixed possible integer overflow of too long string lengths inSerhiy Storchaka2014-05-301-1/+35
| | | | | | | | the tkinter module on 64-bit platforms.
* | Issue #3015: _tkinter.create() now creates tkapp object with wantobject=1 bySerhiy Storchaka2014-05-281-1/+1
| | | | | | | | default.