summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove ↵Christian Heimes2013-10-291-65/+0
| | | | | | OpenSSL re-seeding It is causing trouble like e.g. hanging processes.
* just return toplevel symbol table rather than all blocks (closes #19393)Benjamin Peterson2013-10-261-1/+1
|
* Issue #18739: Fix inconsistent results from math.log(n) and math.log(long(n))Mark Dickinson2013-10-131-12/+22
|
* Issue #18458: Prevent crashes with newer versions of libedit. Its readlineNed Deily2013-10-121-15/+25
| | | | | emulation has changed from 0-based indexing to 1-based like gnu readline. Original patch by Ronald Oussoren.
* Issue #19147: Fix docstring for fcntl.flock to refer to correct man section.Ned Deily2013-10-021-1/+1
|
* Properly initialize all fields of a SSL object after allocation.Antoine Pitrou2013-09-291-0/+1
|
* Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output inSerhiy Storchaka2013-09-051-14/+22
| | | | the _sre moduel.
* Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in ↵Christian Heimes2013-09-051-1/+1
|\ | | | | | | GEN_EMAIL/GEN_URI/GEN_DNS case
| * Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in ↵Christian Heimes2013-09-051-1/+1
| | | | | | | | GEN_EMAIL/GEN_URI/GEN_DNS case
| * - Issue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytesBarry Warsaw2013-08-231-3/+61
| | | | | | | | | | | | | | inside subjectAltName correctly. Formerly the module has used OpenSSL's GENERAL_NAME_print() function to get the string represention of ASN.1 strings for `rfc822Name` (email), `dNSName` (DNS) and `uniformResourceIdentifier` (URI).
| * - Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes in the hashBarry Warsaw2012-03-154-59/+130
| | | | | | | | | | | | table internal to the pyexpat module's copy of the expat library to avoid a denial of service due to hash collisions. Patch by David Malcolm with some modifications by the expat project.
* | Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't castVictor Stinner2013-09-041-1/+1
| | | | | | | | 64-bit pointer to long (32 bits).
* | Issue #18876: The FileIO.mode attribute now better reflects the actual mode ↵Antoine Pitrou2013-09-041-10/+13
| | | | | | | | | | | | under which the file was opened. Patch by Erik Bray.
* | Close #18912: Fix indentation in docstringEli Bendersky2013-09-031-4/+4
| | | | | | | | Contributed by Jeroen Van Goey
* | #18803: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-251-1/+1
| |
* | Issue #11973: Fix a problem in kevent. The flags and fflags fields are nowChristian Heimes2013-08-251-1/+1
| | | | | | | | properly handled as unsigned.
* | Issue #18747: Fix spelling errors in my commit message and comments,Christian Heimes2013-08-251-2/+2
| | | | | | | | thanks to Vajrasky Kok for proof-reading.
* | Issue #16809: Tkinter's splitlist() and split() methods now accept Tcl_ObjSerhiy Storchaka2013-08-221-12/+53
| | | | | | | | | | | | argument. This is needed for support Tcl/Tk 8.6.
* | Issue #18747: Use a parent atfork handler instead of a child atfork handler.Christian Heimes2013-08-221-12/+9
| | | | | | | | fork() is suppose to be async-signal safe but the handler calls unsafe functions. A parent handler mitigates the issue.
* | Issue #17119: Fixed integer overflows when processing large Unicode stringsSerhiy Storchaka2013-08-211-10/+33
| | | | | | | | and tuples in the tkinter module.
* | Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.Christian Heimes2013-08-211-0/+72
| | | | | | | | | | A pthread_atfork() child handler is used to seeded the PRNG with pid, time and some stack data.
* | Issue #8865: Concurrent invocation of select.poll.poll() now raises aSerhiy Storchaka2013-08-201-0/+13
| | | | | | | | RuntimeError exception. Patch by Christian Schubert.
* | Issue #13461: Fix a crash in the TextIOWrapper.tell method and in the "replace"Serhiy Storchaka2013-08-201-1/+1
| | | | | | | | error handler on 64-bit platforms. Patch by Yogesh Chaudhari.
* | Issue #18777: The ssl module now uses the new CRYPTO_THREADID API ofChristian Heimes2013-08-191-1/+17
| | | | | | | | OpenSSL 1.0.0+ instead of the deprecated CRYPTO id callback function.
* | Issue 18768: Correct doc string of RAND_edg(). Patch by Vajrasky Kok.Christian Heimes2013-08-171-1/+1
| |
* | Issue #18768: coding style nitpick. Thanks to Vajrasky KokChristian Heimes2013-08-171-1/+1
| |
* | #18466: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-172-2/+2
| |
* | Issue #18178: Fix ctypes on BSD. dlmalloc.c was compiled twice which broke ↵Christian Heimes2013-08-171-1/+0
| | | | | | | | malloc weak symbols.
* | Issue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytesChristian Heimes2013-08-161-6/+60
| | | | | | | | | | | | | | inside subjectAltName correctly. Formerly the module has used OpenSSL's GENERAL_NAME_print() function to get the string represention of ASN.1 strings for rfc822Name (email), dNSName (DNS) and uniformResourceIdentifier (URI).
* | Issue #15866: The xmlcharrefreplace error handler no more produces two XMLSerhiy Storchaka2013-08-061-1/+1
| | | | | | | | entities for a non-BMP character on narrow build.
* | Issue #18661: typo in grp.struct_group docstring.Mark Dickinson2013-08-051-1/+1
| |
* | Issue #13612: Fix a buffer overflow in case of a multi-byte encoding.Eli Bendersky2013-08-042-0/+9
| | | | | | | | This is a belated backport of f7b47fb30169; Patch by Serhiy Storchaka.
* | Issue #17998: Fix an internal error in regular expression engine.Serhiy Storchaka2013-08-032-8/+8
| |
* | Issue #17557: Fix os.getgroups() to work with the modified behavior ofNed Deily2013-08-021-0/+30
| | | | | | | | getgroups(2) on OS X 10.8. Original patch by Mateusz Lenik.
* | Restore the data block size to 62.Raymond Hettinger2013-07-281-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | The former block size traded away good fit within cache lines in order to gain faster division in deque_item(). However, compilers are getting smarter and can now replace the slow division operation with a fast integer multiply and right shift. Accordingly, it makes sense to go back to a size that lets blocks neatly fill entire cache-lines. GCC-4.8 and CLANG 4.0 both compute "x // 62" with something roughly equivalent to "x * 9520900167075897609 >> 69".
* | Issue #18513: Add workaround for OS X 10.8 cexp bug that leads to wrong ↵Raymond Hettinger2013-07-201-0/+7
| | | | | | | | cmath.rect(0.0,-0.0) results.
* | Backport c952f3d122ae: Tweak the deque struct by moving the least used fieldsRaymond Hettinger2013-07-161-1/+1
| | | | | | | | (maxlen and weakref) to the end.
* | Move the leftlink to the end of the block structure.Raymond Hettinger2013-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The current pattern of memory access will update both the leftlink and rightlink at the same time, so they should be positioned side-by-side for better cache locality. Keeping the leftlink at the front of the structure would make sense only if the paired updates were eliminated by backporting changesets 49a9c734304d, 3555cc0ca35b, ae9ee46bd471, and 744dd749e25b. However, that isn't likely to happen, so we're better off with the leftlink at the end of the structure.
* | Issue #18101: Tcl.split() now process Unicode strings nested in a tuple as itSerhiy Storchaka2013-07-111-0/+27
| | | | | | | | | | | | do with byte strings. Added tests for Tcl.split() and tcl.splitline().
* | Issue #17097: Make multiprocessing ignore EINTR.Richard Oudkerk2013-07-011-9/+48
| |
* | reapply f1dc30a1be72Benjamin Peterson2013-06-251-1/+1
| |
* | reapply 5accb0ac8bfbBenjamin Peterson2013-06-251-11/+7
| |
* | reapply f1dc30a1be72Benjamin Peterson2013-06-251-1/+1
| |
* | reapply f1dc30a1be72Benjamin Peterson2013-06-251-1/+1
| |
* | Issue #18135: ssl.SSLSocket.write() now raises an OverflowError if the inputVictor Stinner2013-06-241-6/+7
| | | | | | | | | | string in longer than 2 gigabytes. The ssl module does not support partial write.
* | also backout f1dc30a1be72 for not being a bugfixBenjamin Peterson2013-06-231-1/+1
| |
* | Issue #18135: Fix a possible integer overflow in ssl.SSLSocket.write()Victor Stinner2013-06-231-1/+6
| | | | | | | | for strings longer than 2 gigabytes.
* | backout 5accb0ac8bfb; needs more discussion on python-devBenjamin Peterson2013-06-221-7/+11
| |
* | #18113: avoid segfault if Py_XDECREF triggers code that calls ↵Andrew Kuchling2013-06-221-3/+8
| | | | | | | | | | | | set_panel_userptr again Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
* | Arrange structure to match the common access patterns.Raymond Hettinger2013-06-221-1/+1
| |