summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Backout 42ced0d023cd: oops, i didn't want to push this changeset :-/Victor Stinner2014-07-241-136/+19
|
* (Merge 3.4) Issue #19884, readline: calling rl_variable_bindVictor Stinner2014-07-241-1/+5
|\ | | | | | | | | ("enable-meta-key", "off") does crash on Mac OS X which uses libedit instead of readline.
| * Issue #19884, readline: calling rl_variable_bind ("enable-meta-key", "off")Victor Stinner2014-07-241-1/+5
| | | | | | | | does crash on Mac OS X which uses libedit instead of readline.
* | tetsVictor Stinner2014-07-241-19/+136
| |
* | (Merge 3.4) Issue #19884: readline: Disable the meta modifier key if stdout isVictor Stinner2014-07-241-0/+11
|\ \ | |/ | | | | | | | | not a terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit characters.
| * Issue #19884: readline: Disable the meta modifier key if stdout is not aVictor Stinner2014-07-241-0/+11
| | | | | | | | | | | | terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit characters.
* | Issue #22042: Avoid dangerous C cast in socket.setblocking()Victor Stinner2014-07-231-2/+5
| | | | | | | | Avoid cast from (int*) to (u_long*), even if sizeof(int) == sizeof(u_long).
* | Issue #4350: Removed a number of out-of-dated and non-working for a long timeSerhiy Storchaka2014-07-231-19/+0
| | | | | | | | Tkinter methods.
* | Issue #22018: signal.set_wakeup_fd() now raises an OSError instead of aVictor Stinner2014-07-211-3/+11
| | | | | | | | ValueError on fstat() failure.
* | Issue #22018: Add _testcapi.raise_signal()Victor Stinner2014-07-212-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 Storchaka2014-07-141-1/+3
|\ \ | |/
| * Call PyErr_NoMemory() when PyMem_Malloc() fails.Serhiy Storchaka2014-07-141-1/+3
| |
* | 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.
* | 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.