summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* cwr_next(): move invariants out of loops.Tim Peters2013-09-031-16/+12
| | | | This simplifies and clarifies the code, and gives a small speedup.
* Issue #18912: Fix indentation in docstringEli Bendersky2013-09-031-4/+4
| | | | Contributed by Jeroen Van Goey
* Fix compilation of the _sqlite module if threads are disabledVictor Stinner2013-08-271-0/+3
|
* Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-278-29/+28
| | | | error messages and comments.
* #18803: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-251-1/+1
|
* Merge.Charles-François Natali2013-08-251-11/+12
|\
| * Issue #18763: subprocess: The file descriptors are now closed after calling theCharles-François Natali2013-08-251-11/+12
| | | | | | | | preexec_fn callback, which may open file descriptors.
* | 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 strings and tuplesSerhiy Storchaka2013-08-211-9/+30
| | | | 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 on 64-bit platforms.Serhiy Storchaka2013-08-201-1/+1
| | | | 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-173-3/+3
|
* 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-5/+59
| | | | | | | 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 #18667: Add missing "HAVE_FCHOWNAT" symbol to posix._have_functions.Larry Hastings2013-08-121-0/+4
|
* Issue #18661: typo in grp.struct_group docstring. Thanks Vajrasky Kok.Mark Dickinson2013-08-051-1/+1
|
* Silence compiler warnings for strict function prototype declarations.Raymond Hettinger2013-08-041-2/+2
|
* Issue #17998: Fix an internal error in regular expression engine.Serhiy Storchaka2013-08-032-7/+7
|
* Issue #18627: Fix typo noticed by Vajrasky Kok.Ned Deily2013-08-021-1/+1
|
* 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.
* Issue #17899: Fix rare file descriptor leak in os.listdir().Larry Hastings2013-08-021-0/+11
| | | | (Done as separate patch from trunk as the code has diverged quite a bit.)
* Initialize utime with 0. It fixes a couple of compiler warnung:Christian Heimes2013-07-311-0/+1
| | | | warning: 'utime.mtime_ns' may be used uninitialized in this function [-Wmaybe-uninitialized]
* Issue #18599: Fix name attribute of _sha1.sha1() object. It now returnsChristian Heimes2013-07-301-1/+1
| | | | 'SHA1' instead of 'SHA'.
* Issue #15893: frozenmain.c now handles PyMem_Malloc() failureVictor Stinner2013-07-261-6/+10
|
* Issue #18561: Skip name in ctypes' _build_callargs() if name is NULL.Christian Heimes2013-07-261-1/+1
| | | | CID 486199
* Issue #18559: Fix NULL pointer dereference error in _pickle moduleChristian Heimes2013-07-261-4/+6
|
* Handle yet another potential failure in testcapiChristian Heimes2013-07-261-0/+2
| | | | CID 1058280
* Check return value of PyLong_FromLong(X509_get_version()). It might be NULL ifChristian Heimes2013-07-261-0/+2
| | | | | X509_get_version() grows beyond our small int cache. CID 1058279
* remove surplus and wrong Py_DECREF() introduced in 33891989c9cfChristian Heimes2013-07-261-1/+0
|
* Fix declaration-after-statement of d49f65ff4f3cChristian Heimes2013-07-261-3/+7
|
* Fix memory leaks and add checks for failing malloc() calls to testcapi moduleChristian Heimes2013-07-261-0/+9
| | | | CID 1058288
* Fix possible NULL pointer dereferences in testcapi moduleChristian Heimes2013-07-261-1/+7
| | | | | | CID 1058280 CID 1058282 CID 1058284
* Fix possible NULL pointer dereference in PyCurses_Start_Color()Christian Heimes2013-07-261-0/+4
| | | | CID 1058276
* Issue #18556: Check the return value for PyUnicode_AsWideChar() inBrett Cannon2013-07-251-1/+5
| | | | | | U_set() from ctypes. CID #486657
* Issue #18549: Eliminate dead code in socket_ntohl().Christian Heimes2013-07-251-2/+0
| | | | CID 982369
* #16937: document that stdin is always buffered, even when -u is used. Patch ↵Ezio Melotti2013-07-251-1/+2
| | | | by Elena Oat.
* Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0],Christian Heimes2013-07-221-4/+12
| | | | prefix and exec_prefix if the operation system does not obey MAXPATHLEN.
* Now all error paths of _freeze_importlib use 'goto error' and the error ↵Christian Heimes2013-07-211-19/+18
| | | | label cleans up all used resources.
* Issue #18514: Fix unreachable Py_DECREF() call in PyCData_FromBaseObj()Christian Heimes2013-07-211-1/+1
|
* Fix reference and memory leaks in _freeze_importlibChristian Heimes2013-07-211-0/+3
|
* Check return value of PyEval_GetGlobals() for NULLChristian Heimes2013-07-201-2/+7
| | | | CID 486814
* Check return value of flush_character_buffer()Christian Heimes2013-07-201-1/+3
| | | | CID 486663
* Issue #18513: Add workaround for OS X 10.8 cexp bug that leads to wrong ↵Mark Dickinson2013-07-201-0/+7
| | | | cmath.rect(0.0,-0.0) results.