summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add missing check of PyDict_Update()'s return value in _elementtree.cChristian Heimes2013-07-201-1/+2
| | | | CID 719637
* Add missing check of PyDict_SetItem()'s return valueChristian Heimes2013-07-201-1/+4
| | | | CID 486659
* #18480: Add missing PyType_Ready call to _elementtree extensionRonald Oussoren2013-07-191-5/+9
|
* Fix posix_chflags(): return_value was uninitialized when follow_symlinks=FalseVictor Stinner2013-07-181-1/+1
| | | | whereas the fchmodat() function is not avaialble.
* Issue #18344: Fix potential ref-leaks in _bufferedreader_read_all().Richard Oudkerk2013-07-151-48/+45
|
* Issue #18101: Tcl.split() now process strings nested in a tuple as itSerhiy Storchaka2013-07-111-0/+15
| | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline().
* #18399: fix comment typo.R David Murray2013-07-101-1/+1
| | | | Patch by Andrew Rowe.
* Issue #18343: faulthandler.register() now keeps the previous signal handlerVictor Stinner2013-07-011-1/+2
| | | | | when the function is called twice, so faulthandler.unregister() restores correctly the original signal handler.
* Singular form just like the other error message.Christian Heimes2013-07-011-1/+1
|
* Issue #18339: Negative ints keys in unpickler.memo dict no longer cause aChristian Heimes2013-07-011-0/+5
| | | | segfault inside the _pickle C extension.
* Fix time.strftime("%Y") on AIX: raise a ValueError for year > 9999Victor Stinner2013-06-251-1/+1
| | | | time.strtime("%Y") returned "2345" when formatting year 12345.
* Issue #18135: ssl.SSLSocket.write() now raises an OverflowError if the inputVictor Stinner2013-06-241-2/+7
| | | | | | string in longer than 2 gigabytes, and ssl.SSLContext.load_cert_chain() raises a ValueError if the password is longer than 2 gigabytes. The ssl module does not support partial write.
* Check for correct macro, code uses S_ISDIR().Christian Heimes2013-06-231-1/+1
|
* Issue #18135: Fix a possible integer overflow in ssl.SSLSocket.write()Victor Stinner2013-06-231-5/+11
| | | | | and in ssl.SSLContext.load_cert_chain() for strings and passwords longer than 2 gigabytes.
* _ssl.c: strip trailing spacesVictor Stinner2013-06-231-5/+5
|
* Closes #18220: expand itertools.islice docstring to 2 linesAndrew Kuchling2013-06-221-1/+2
|
* Close #18285: add 'repeat' parameter to docstring for productAndrew Kuchling2013-06-221-1/+1
|
* #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.
* Closes #18239: correct description of count() in module docstringAndrew Kuchling2013-06-211-1/+1
|
* fix libffi build on AIX (closes #18248)Benjamin Peterson2013-06-192-2/+2
|
* fixed libffi on PPC without __NO_FPRS__Christian Heimes2013-06-191-1/+3
| | | | ISO C90 forbids mixed declarations and code
* Issue #18259: Declare sethostname in socketmodule.c for AIXChristian Heimes2013-06-191-0/+5
|
* Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if ↵Christian Heimes2013-06-181-0/+3
| | | | it's available
* ctypes: AIX needs an explicit #include <alloca.h> to get alloca()Victor Stinner2013-06-171-0/+1
|
* Describe 'surrogateescape' in the documentation.Andrew Kuchling2013-06-162-4/+5
| | | | | | Also, improve some docstring descriptions of the 'errors' parameter. Closes #14015.
* #18113: Objects associated to a curses.panel object with set_userptr() were ↵Andrew Kuchling2013-06-151-0/+4
| | | | | | leaked. Reported by Atsuo Ishimoto.
* Ensure that the fix for #17269 also works on OSX 10.4Ronald Oussoren2013-06-101-1/+1
| | | | AI_NUMERICSERV isn't defined on OSX 10.4.
* Close #18109: os.uname() now decodes fields from the locale encoding, andVictor Stinner2013-06-032-9/+9
| | | | | socket.gethostname() now decodes the hostname from the locale encoding, instead of using the UTF-8 encoding in strict mode.