summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16443: Add docstrings to regular expression match objects.Andrew Svetlov2012-12-231-15/+55
| | | | Patch by Anton Kasyanov.
* Merge with 3.1 : Don't DECREF the ctypes error_object without the GIL held.Kristjan Valur Jonsson2012-12-211-1/+1
|\
| * Don't DECREF the ctypes error_object without the GIL held.Kristjan Valur Jonsson2012-12-211-1/+1
| |
* | Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-183-5/+5
| | | | | | | | Patch by Serhiy Storchaka.
* | remove dead codeBenjamin Peterson2012-12-151-2/+0
| |
* | #16681: use "bidirectional class" instead of "bidirectional category" in the ↵Ezio Melotti2012-12-141-1/+1
| | | | | | | | docstring too.
* | Code style fixup: No need for double ((parenthesis)) and use {} on an if else.Gregory P. Smith2012-12-111-4/+5
| |
* | 1 << 31 is invalid for signed integers, fix it by making 1 unsigned.Gregory P. Smith2012-12-111-2/+2
| | | | | | | | Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
* | Issue #16628: Fix a memory leak in ctypes.resize().Antoine Pitrou2012-12-083-2/+3
| |
* | 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 #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.
* | #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-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.
* | 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-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.
* | 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 #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.
* | Fix docstring for deque ctor to mark iterable parameter optionalAndrew Svetlov2012-10-311-1/+1
| |
* | 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.
* | Fix math.factorial KeyboardInterrupt segfault. Thanks Amaury for report and ↵Mark Dickinson2012-10-251-4/+3
| | | | | | | | diagnosis.
* | 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. 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
| |
* | Closes #15897: zipimport.c doesn't check return value of fseek()Jesus Cea2012-10-031-7/+36
| |
* | Issue #16013: Fix CSV Reader parsing issue with ending quote characters. ↵Senthil Kumaran2012-09-251-3/+7
| | | | | | | | Patch by Serhiy Storchaka.
* | Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()Christian Heimes2012-09-241-1/+1
| | | | | | | | method doesn't require an argument again.
* | Issue #15973: fixed 3.2 backport.Alexander Belopolsky2012-09-201-2/+4
| |
* | Issue #15973: Fixed segmentation fault on timezone comparison to other types.Alexander Belopolsky2012-09-201-3/+7
| |
* | #15796: Fix \n in readline docstring. Patch by Serhiy Storchaka.Ezio Melotti2012-09-183-3/+3
| |
* | Closes #15793: Stack corruption in ssl.RAND_egd()Jesus Cea2012-09-111-1/+1
| |
* | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵Jesus Cea2012-09-101-0/+1
| | | | | | | | was incomplete (fix 2)
* | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵Jesus Cea2012-09-101-0/+5
| | | | | | | | was incomplete
* | Closes #15676: mmap: add empty file check prior to offset checkJesus Cea2012-09-091-0/+5
| |
* | Issue #15868: Fix refleak in bytesio.c (Coverity #715365).Stefan Krah2012-09-081-1/+3
| |
* | Issue #15841: The readable(), writable() and seekable() methods of BytesIOAntoine Pitrou2012-09-052-8/+31
| | | | | | | | | | and StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura.
* | Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is ↵Ronald Oussoren2012-08-254-7/+125
| | | | | | | | compiled using the clang compiler
* | Issue 15777: Fix a refleak in _posixsubprocess.Ross Lagerwall2012-08-241-1/+3
| | | | | | | | It was exposed by 03c98d05b140 and dbbf3ccf72e8.
* | Fix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set ↵Ronald Oussoren2012-08-221-1/+1
| | | | | | | | | | | | | | on Mac OS X. This is due to an off-by-one error: the allocated buffer didn't have room for a NUL character at the end of the mbstowcs result.
* | Issue #15738: Fix a missing NULL check in subprocess_fork_exec().Stefan Krah2012-08-201-0/+2
| |
* | Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken.Mark Dickinson2012-08-182-6/+25
| |
* | Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵Antoine Pitrou2012-08-157-31/+63
| | | | | | | | | | | | errors correctly. Patch by Serhiy Storchaka.
* | Modules/socketmodule.c: netdb_lock: define static.Matthias Klose2012-08-141-1/+1
| |
* | Issue #15424: Add a __sizeof__ implementation for array objects.Meador Inge2012-08-111-0/+15
| | | | | | | | Patch by Ludwig Hähne.
* | open() / TextIOWrapper doc: make it explicit than newline='\n' doesn'tVictor Stinner2012-08-032-6/+6
| | | | | | | | translate newlines on output.