summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Plug a leak in timemodule. The module dictionary is saved duringGregory P. Smith2012-11-271-3/+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.
* #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: Also fix docstrings in zlib module.Nadeem Vawda2012-11-111-3/+3
|
* Fixes issue #9535: Fix pending signals that have been received but not yetGregory P. Smith2012-11-111-0/+16
| | | | handled by Python to not persist after os.fork() in the child process.
* Fix typo in backporting fix of issue #16411 to 2.7.Nadeem Vawda2012-11-111-2/+2
|
* 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/+1
| | | | | | 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.
* Issue #14398: Fix size truncation and overflow bugs in bz2 module.Nadeem Vawda2012-10-211-137/+179
|
* Fixes Issue #12268 for the io module - File readline, readlines andGregory P. Smith2012-10-125-8/+49
| | | | | | | | | | | read or readall methods no longer lose data when an underlying read system call is interrupted within an io module object. IOError is no longer raised due to a read system call returning EINTR from within these methods. This is a backport of changeset 781b95159954 from 3.2. The earlier 2.7 changeset 67dc99a989cd already fixed this for the builtin python 2.x file object.
* Closes #15897: zipimport.c doesn't check return value of fseek()Jesus Cea2012-10-031-7/+35
|
* 2.7 : Issue #16013: Fix CSV Reader parsing issue with ending quote ↵Senthil Kumaran2012-09-251-3/+7
| | | | characters. 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.
* #15796: Fix \n in readline docstring.Ezio Melotti2012-09-181-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 #15910: MD5 and SHA1 crash when "updated" with strings bigger than ↵Jesus Cea2012-09-102-4/+30
| | | | 2**32 bytes
* Closes #15908: SHA1 crashes in 64 bits when the string to hash is bigger ↵Jesus Cea2012-09-101-3/+16
| | | | than 2**32 bytes
* - Mention _heapq in Setup.dist.doko@ubuntu.com2012-09-101-0/+1
|
* Closes #15676: mmap: add empty file check prior to offset checkJesus Cea2012-09-091-0/+5
|
* Issue #15841: The readable(), writable() and seekable() methods of io.BytesIOAntoine Pitrou2012-09-052-8/+31
| | | | | and io.StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura.
* Issue #15765: Fix quirky NetBSD getcwd() behaviour.Trent Nelson2012-08-291-1/+3
| | | | | This is done by extending a previous fix for issue #9185 that was made for Solaris and OpenBSD to NetBSD as well.
* 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
* 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-39/+75
| | | | | | 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.
* Make TextIOWrapper's documentation clearer by copying the newline argument's ↵Antoine Pitrou2012-08-031-9/+16
| | | | description from open().
* #15512: Declarations reorganizationJesus Cea2012-08-031-21/+23
|
* Closes #15469: Correct __sizeof__ support for dequeJesus Cea2012-08-031-1/+20
|
* Closes #15512: Correct __sizeof__ support for parserJesus Cea2012-08-031-2/+21
|
* Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation ↵Antoine Pitrou2012-08-022-2/+2
| | | | | | code. Patch by Philipp Hagemeister.
* Issue #15489: Add a __sizeof__ implementation for BytesIO objects.Antoine Pitrou2012-07-291-0/+12
| | | | Patch by Serhiy Storchaka.
* Issue #15487: Add a __sizeof__ implementation for buffered I/O objects.Antoine Pitrou2012-07-291-0/+14
| | | | Patch by Serhiy Storchaka.
* Issue #15402: Simplify Struct.__sizeof__ and make tests more precise.Meador Inge2012-07-291-6/+2
|
* Issue #15402: Add a __sizeof__ method to struct.Struct.Meador Inge2012-07-231-0/+17
| | | | Initial patch by Serhiy Storchaka.
* Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.Meador Inge2012-07-191-28/+23
|
* Issue #15247: FileIO now raises an error when given a file descriptor ↵Antoine Pitrou2012-07-061-12/+5
| | | | pointing to a directory.
* Fix closes issue # 15033 - Return the proper exitcode for failure when ↵Senthil Kumaran2012-07-051-1/+1
| | | | modules are invoked using -m switch. Patch contributed by Jeff Knupp
* Closes #14591: Random.jumpahead could produce an invalid MT state on 64-bit ↵Mark Dickinson2012-06-301-2/+17
| | | | machines.
* Issue #5067: improve some json error messages.Antoine Pitrou2012-06-281-4/+4
| | | | Patch by Serhiy Storchaka.
* Issue #15219: Fix a reference leak when hashlib.new() is called withAmaury Forgeot d'Arc2012-06-281-0/+1
| | | | invalid parameters.
* Remove useless test (flowinfo is unsigned).Charles-François Natali2012-06-231-2/+2
|
* #10053: Don't close FDs when FileIO.__init__ failsHynek Schlawack2012-06-211-6/+6
| | | | Loosely based on the work by Hirokazu Yamamoto.