Christian Heimes
|
66eda26a72
|
Handle yet another potential failure in testcapi
CID 1058280
|
2013-07-26 15:54:07 +02:00 |
Christian Heimes
|
5962bef8aa
|
Check return value of PyLong_FromLong(X509_get_version()). It might be NULL if
X509_get_version() grows beyond our small int cache.
CID 1058279
|
2013-07-26 15:51:18 +02:00 |
Christian Heimes
|
ec2309b03d
|
remove surplus and wrong Py_DECREF() introduced in 33891989c9cf
|
2013-07-26 15:26:18 +02:00 |
Christian Heimes
|
3205e74d88
|
Fix declaration-after-statement of d49f65ff4f3c
|
2013-07-26 15:06:48 +02:00 |
Christian Heimes
|
7e138027ff
|
Fix memory leaks and add checks for failing malloc() calls to testcapi module
CID 1058288
|
2013-07-26 15:03:50 +02:00 |
Christian Heimes
|
ff369a5595
|
Fix possible NULL pointer dereferences in testcapi module
CID 1058280
CID 1058282
CID 1058284
|
2013-07-26 14:52:18 +02:00 |
Christian Heimes
|
a956e645c1
|
Fix possible NULL pointer dereference in PyCurses_Start_Color()
CID 1058276
|
2013-07-26 14:45:37 +02:00 |
Brett Cannon
|
845f7845aa
|
Issue #18556: Check the return value for PyUnicode_AsWideChar() in
U_set() from ctypes.
CID #486657
|
2013-07-25 17:34:00 -04:00 |
R David Murray
|
b76b1b1ec8
|
#15130: remove repeat of abstract paragraph from socket howto body.
Patch by Tshepang Lekhonkhobe.
|
2013-07-25 13:24:15 -04:00 |
R David Murray
|
271ade87ac
|
#18503: small cleanups in test_email.
Patch by Vajrasky Kok.
|
2013-07-25 12:11:55 -04:00 |
Christian Heimes
|
9228837e31
|
Issue #18549: Eliminate dead code in socket_ntohl().
CID 982369
|
2013-07-25 11:46:10 +02:00 |
Ezio Melotti
|
b042daa5a7
|
#14853: remove test that was making too many assumptions about stdin. Patch by Elena Oat.
|
2013-07-25 05:21:00 +02:00 |
Ezio Melotti
|
61b0c672b5
|
#16937: document that stdin is always buffered, even when -u is used. Patch by Elena Oat.
|
2013-07-25 05:04:02 +02:00 |
Christian Heimes
|
72f562f719
|
Fix potential NULL pointer dereferencing in ast module
CID 719690
|
2013-07-24 21:02:17 +02:00 |
Vinay Sajip
|
a92fbe6dce
|
Issue #18541: simplified LoggerAdapter example.
|
2013-07-24 17:52:01 +01:00 |
Benjamin Peterson
|
7d28b6b379
|
return NULL here
|
2013-07-22 22:08:09 -07:00 |
Serhiy Storchaka
|
fa6bc29987
|
Issue #17944: test_zipfile now discoverable and uses subclassing to
generate tests for different compression types. Fixed a bug with skipping
some tests due to use of exhausted iterators.
|
2013-07-22 21:00:11 +03:00 |
Christian Heimes
|
1eb0cb12ac
|
Some compilers complain about 'control reaches end of non-void function'
because they don't understand that Py_FatalError() terminates the program.
|
2013-07-22 16:34:13 +02:00 |
Christian Heimes
|
60a6067709
|
Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0],
prefix and exec_prefix if the operation system does not obey MAXPATHLEN.
|
2013-07-22 12:53:32 +02:00 |
Christian Heimes
|
37c916dd18
|
merge
|
2013-07-22 10:37:41 +02:00 |
Christian Heimes
|
53d2dc4045
|
Add sanity check to PyGrammar_LabelRepr() in order to catch invalid tokens when debugging
a new grammar.
CID 715360
|
2013-07-22 10:30:14 +02:00 |
Terry Jan Reedy
|
6e2711b345
|
Issue #18439: Make patchcheck work on Windows for ACKS, NEWS.
|
2013-07-21 20:57:44 -04:00 |
Christian Heimes
|
43d82df406
|
Now all error paths of _freeze_importlib use 'goto error' and the error label cleans up all used resources.
|
2013-07-21 23:05:04 +02:00 |
Benjamin Peterson
|
0f9b7d32c7
|
fix spacing
|
2013-07-21 13:29:37 -07:00 |
Benjamin Peterson
|
04b01dc8f7
|
let's not return NULL from functions that should return ints
|
2013-07-21 13:26:13 -07:00 |
Christian Heimes
|
8c4c1f6e66
|
Issue #18514: Fix unreachable Py_DECREF() call in PyCData_FromBaseObj()
|
2013-07-21 16:24:51 +02:00 |
Christian Heimes
|
96f628f487
|
Fix reference and memory leaks in _freeze_importlib
|
2013-07-21 16:19:02 +02:00 |
Christian Heimes
|
1f34729f42
|
Check return value of lseek() in _Py_DisplaySourceLine().
Also use portable SEEK_SET instead of 0.
CID 1040639
|
2013-07-21 02:12:35 +02:00 |
Christian Heimes
|
c731bbe665
|
Propagate error when PyByteArray_Resize() fails in bytearray_translate()
CID 715334
|
2013-07-21 02:04:35 +02:00 |
Christian Heimes
|
8e0908495a
|
merge
|
2013-07-21 01:54:26 +02:00 |
Christian Heimes
|
8c077bc03e
|
Check return value of PyObject_AsFileDescriptor() in _Py_DisplaySourceLine() for error
CID 486768
|
2013-07-21 01:53:10 +02:00 |
Ned Deily
|
8e8b9ba753
|
Issue #17532: Prevent exception when changing key sets if Options menu is empty.
|
2013-07-20 15:06:26 -07:00 |
Christian Heimes
|
a6404ad43c
|
Check return value of PyEval_GetGlobals() for NULL
CID 486814
|
2013-07-20 22:54:25 +02:00 |
Christian Heimes
|
09994a9c59
|
Check return value of flush_character_buffer()
CID 486663
|
2013-07-20 22:41:58 +02:00 |
Christian Heimes
|
27c4c3ec79
|
Check return value of fstat() in _PyImport_GetDynLoadFunc()
CID 486250
|
2013-07-20 22:17:55 +02:00 |
Mark Dickinson
|
58ceecfe5a
|
Issue #18513: Add workaround for OS X 10.8 cexp bug that leads to wrong cmath.rect(0.0,-0.0) results.
|
2013-07-20 17:59:13 +01:00 |
Christian Heimes
|
7ed4294d7f
|
Add missing check of PyDict_Update()'s return value in _elementtree.c
CID 719637
|
2013-07-20 15:12:09 +02:00 |
Christian Heimes
|
97cb67b9ca
|
Add missing check of PyDict_SetItem()'s return value
CID 486659
|
2013-07-20 15:01:26 +02:00 |
Christian Heimes
|
26532f7519
|
Check return value of PyType_Ready(&EncodingMapType)
CID 486654
|
2013-07-20 14:57:16 +02:00 |
Christian Heimes
|
09ca794afe
|
Add missing check of PyDict_SetItem()'s return value in _PyImport_FindExtensionObject()
CID 486649
|
2013-07-20 14:51:53 +02:00 |
Christian Heimes
|
0bd447f847
|
Add missing check of PyDict_SetItem()'s return value in PyEval_EvalCodeEx()
CID 486647
|
2013-07-20 14:48:10 +02:00 |
Richard Oudkerk
|
14f5ee0a62
|
Prevent dangling threads/process warning for test_multiprocessing.
|
2013-07-19 22:53:42 +01:00 |
Ronald Oussoren
|
138d080a28
|
#18480: Add missing PyType_Ready call to _elementtree extension
|
2013-07-19 11:11:25 +02:00 |
Victor Stinner
|
45e90394e7
|
Fix posix_chflags(): return_value was uninitialized when follow_symlinks=False
whereas the fchmodat() function is not avaialble.
|
2013-07-18 23:57:35 +02:00 |
Serhiy Storchaka
|
c406a121f7
|
Issue #18266: test_largefile now works with unittest test discovery and
supports running only selected tests. Patch by Zachary Ware.
|
2013-07-17 13:42:24 +03:00 |
Serhiy Storchaka
|
880254e222
|
Issue #17767: test_locale now works with unittest test discovery.
Original patch by Zachary Ware.
|
2013-07-17 13:23:45 +03:00 |
Serhiy Storchaka
|
6a98fe9edd
|
Issue #18448: Fix a typo in Tools/demo/eiffel.py.
|
2013-07-16 22:12:03 +03:00 |
Serhiy Storchaka
|
ec7ddd9028
|
Issue #18457: Fixed saving of formulas and complex numbers in Tools/demo/ss1.py.
Useed context managers for file I/O.
Removed out-of-dated code and misleading comments.
|
2013-07-16 21:55:36 +03:00 |
R David Murray
|
b5c9dfdab3
|
Closes #18475: add unittest.main() to test_email/test_inversions.
Patch by Vajrasky Kok.
|
2013-07-16 11:45:31 -04:00 |
Richard Oudkerk
|
d15642e428
|
Issue #17778: Fix test discovery for test_multiprocessing. (Patch by
Zachary Ware.)
|
2013-07-16 15:33:41 +01:00 |