summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16628: Fix a memory leak in ctypes.resize().Antoine Pitrou2012-12-083-2/+3
|\
| * Issue #16628: Fix a memory leak in ctypes.resize().Antoine Pitrou2012-12-083-2/+3
| |
* | (Merge 3.2) Issue #16416: On Mac OS X, operating system data are now alwaysVictor Stinner2012-12-031-8/+0
|\ \ | |/ | | | | | | | | | | encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape.
| * Issue #16416: On Mac OS X, operating system data are now alwaysVictor Stinner2012-12-031-8/+0
| | | | | | | | | | | | | | encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape.
* | support encoding error handlers that return bytes (closes #16585)Benjamin Peterson2012-12-021-2/+6
| |
* | unicode -> strBenjamin Peterson2012-12-021-3/+3
| |
* | Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-5/+5
|\ \ | |/ | | | | Patch by Serhiy Storchaka.
| * Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-5/+5
| | | | | | | | Patch by Serhiy Storchaka.
| * Plug a leak in timemodule. The module dictionary is saved duringGregory P. Smith2012-11-271-1/+6
| | | | | | | | | | | | | | | | initialization. If the interpreter is shut down and reinitialized (embedded CPython), the old module dictionary was not dec-refed during the next import of the time extension module. Contributed by Torsten Marek of Google.
* | Issue #12848: The pure Python pickle implementation now treats object ↵Antoine Pitrou2012-11-241-1/+1
|\ \ | |/ | | | | | | | | lengths as unsigned 32-bit integers, like the C implementation does. Patch by Serhiy Storchaka.
| * Issue #12848: The pure Python pickle implementation now treats object ↵Antoine Pitrou2012-11-241-1/+1
| | | | | | | | | | | | lengths as unsigned 32-bit integers, like the C implementation does. Patch by Serhiy Storchaka.
* | #16306: merge with 3.2.Ezio Melotti2012-11-231-0/+1
|\ \ | |/
| * #16306: report only the first unknown option and add more tests. Patch by ↵Ezio Melotti2012-11-231-0/+1
| | | | | | | | Serhiy Storchaka.
| * Issue #1160: Fix compiling large regular expressions on UCS2 builds.Antoine Pitrou2012-11-202-9/+8
| | | | | | | | Patch by Serhiy Storchaka.
* | Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵Nadeem Vawda2012-11-111-2/+2
|\ \ | |/ | | | | | | | | mean 'no compression'. Patch by Brian Brazil.
| * Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵Nadeem Vawda2012-11-111-3/+3
| | | | | | | | | | | | mean 'no compression'. Patch by Brian Brazil.
* | Fixes issue #9535: Fix pending signals that have been received but notGregory P. Smith2012-11-111-0/+16
|\ \ | |/ | | | | yet handled by Python to not persist after os.fork() in the child process.
| * Fixes issue #9535: Fix pending signals that have been received but notGregory P. Smith2012-11-111-0/+16
| | | | | | | | yet handled by Python to not persist after os.fork() in the child process.
* | Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵Nadeem Vawda2012-11-111-0/+2
|\ \ | |/ | | | | | | | | access previously-freed memory. Patch by Serhiy Storchaka.
| * Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵Nadeem Vawda2012-11-111-0/+2
| | | | | | | | | | | | access previously-freed memory. Patch by Serhiy Storchaka.
* | Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in ↵Nadeem Vawda2012-11-111-44/+54
|\ \ | |/ | | | | | | | | | | | | | | | | decompressobj().flush(). Additionally, fix a bug where a MemoryError in allocating a bytes object could leave the decompressor object in an invalid state (with its unconsumed_tail member being NULL). Patch by Serhiy Storchaka.
| * Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in ↵Nadeem Vawda2012-11-111-45/+55
| | | | | | | | | | | | | | | | | | | | decompressobj().flush(). Additionally, fix a bug where a MemoryError in allocating a bytes object could leave the decompressor object in an invalid state (with its unconsumed_tail member being NULL). Patch by Serhiy Storchaka.
* | Accept Unicode legacy strings in the Decimal constructor.Stefan Krah2012-11-101-1/+3
| |
* | Issue #16431: Finally, consider all permutations.Stefan Krah2012-11-081-2/+2
| |
* | Issue #16431: Also fix the opposite direction.Stefan Krah2012-11-071-1/+1
| |
* | Issue #16431: Use the type information when constructing a Decimal subtypeStefan Krah2012-11-071-2/+27
| | | | | | | | from a Decimal argument.
* | Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵Nadeem Vawda2012-11-041-6/+23
|\ \ | |/ | | | | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka.
| * Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵Nadeem Vawda2012-11-041-6/+23
| | | | | | | | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka.
* | Issue #16145: Support legacy strings in the _csv module.Stefan Krah2012-11-022-6/+39
| |
* | Issue #16230: Fix a crash in select.select() when one the lists changes size ↵Antoine Pitrou2012-11-011-4/+2
|\ \ | |/ | | | | | | | | while iterated on. Patch by Serhiy Storchaka.
| * Issue #16230: Fix a crash in select.select() when one the lists changes size ↵Antoine Pitrou2012-11-011-4/+2
| | | | | | | | | | | | while iterated on. Patch by Serhiy Storchaka.
* | Issue #16228: Fix a crash in the json module where a list changes size while ↵Antoine Pitrou2012-11-011-7/+3
|\ \ | |/ | | | | | | | | it is being encoded. Patch by Serhiy Storchaka.
| * Issue #16228: Fix a crash in the json module where a list changes size while ↵Antoine Pitrou2012-11-011-7/+3
| | | | | | | | | | | | it is being encoded. Patch by Serhiy Storchaka.
* | Merge: fix docstring for deque ctor to mark iterable parameter optionalAndrew Svetlov2012-10-311-1/+1
|\ \ | |/
| * Fix docstring for deque ctor to mark iterable parameter optionalAndrew Svetlov2012-10-311-1/+1
| |
* | merge 3.2 (#16369)Benjamin Peterson2012-10-311-0/+3
|\ \ | |/
| * initialize more global type objects (closes #16369)Benjamin Peterson2012-10-311-0/+3
| |
* | #14897: Enhance error messages of struct.pack and struct.pack_intoPetri Lehtinen2012-10-291-4/+14
|\ \ | |/ | | | | Patch by Matti Mäki.
| * #14897: Enhance error messages of struct.pack and struct.pack_intoPetri Lehtinen2012-10-291-4/+14
| | | | | | | | Patch by Matti Mäki.
* | Issue #16305: Merge fix from 3.2.Mark Dickinson2012-10-251-4/+3
|\ \ | |/
| * Fix math.factorial KeyboardInterrupt segfault. Thanks Amaury for report and ↵Mark Dickinson2012-10-251-4/+3
| | | | | | | | diagnosis.
* | Replace tabs with spaces in posixmodule.cPetri Lehtinen2012-10-231-6/+6
| |
* | Merge #14398: Fix size truncation and overflow bugs in bz2 module.Nadeem Vawda2012-10-211-9/+24
|\ \ | |/
| * Issue #14398: Fix size truncation and overflow bugs in bz2 module.Nadeem Vawda2012-10-211-152/+176
| |
* | Fixes Issue #16114: The subprocess module no longer provides aGregory P. Smith2012-10-101-1/+6
|\ \ | |/ | | | | | | | | misleading error message stating that args[0] did not exist when either the cwd or executable keyword arguments specified a path that did not exist.
| * Fixes Issue #16114: The subprocess module no longer provides aGregory P. Smith2012-10-101-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | misleading error message stating that args[0] did not exist when either the cwd or executable keyword arguments specified a path that did not exist. It now keeps track of if the child got as far as preexec and reports it if not back to the parent via a special "noexec" error message value in the error pipe so that the cwd can be blamed for a failed chdir instead of the exec of the executable being blamed instead. The executable is also always reported accurately when exec fails. Unittests enhanced to cover these cases.
| * Closes #15897: zipimport.c doesn't check return value of fseek(). TypoJesus Cea2012-10-031-5/+5
| |
* | Issue #16096: Fix several occurrences of potential signed integer overflow. ↵Mark Dickinson2012-10-065-13/+17
| | | | | | | | Thanks Serhiy Storchaka.
* | Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element ↵Antoine Pitrou2012-10-041-28/+79
| | | | | | | | element_factory (fixes a regression in SimpleTAL).
* | Closes #16126: PyErr_Format format mismatch in _testcapimodule.cJesus Cea2012-10-041-1/+1
| |