Victor Stinner
|
d786ad55ef
|
Issue #18520: Fix initsigs(), handle PyOS_InitInterrupts() error
PyOS_InitInterrupts() can raise error when importing the signal module
|
2013-07-21 13:25:51 +02:00 |
Victor Stinner
|
41801f5812
|
Issue #18519, #18408: Fix sqlite authorizer callback
If a previous call to the authorizer callback failed and raised an exception,
don't call the Python authorizer callback, but just return SQLITE_DENY.
|
2013-07-21 13:05:38 +02:00 |
Raymond Hettinger
|
b97cc49c3a
|
Minor code simplification by eliminating an unnecessary temporary variable.
|
2013-07-21 01:51:07 -07:00 |
Christian Heimes
|
02e8b53e6d
|
Check return value of lseek() in _Py_DisplaySourceLine().
Also use portable SEEK_SET instead of 0.
CID 1040639
|
2013-07-21 02:12:44 +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
|
6895947570
|
Propagate error when PyByteArray_Resize() fails in bytearray_translate()
CID 715334
|
2013-07-21 02:04:44 +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
|
8ded80d909
|
merge
|
2013-07-21 01:54:36 +02:00 |
Christian Heimes
|
8e0908495a
|
merge
|
2013-07-21 01:54:26 +02:00 |
Christian Heimes
|
d74f680252
|
merge
|
2013-07-21 01:54:15 +02:00 |
Christian Heimes
|
8282d749a6
|
Check return value of PyObject_AsFileDescriptor() in _Py_DisplaySourceLine() for error
CID 486768
|
2013-07-21 01:53:18 +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
|
237e8f5394
|
Issue #17532: merge from 3.3
|
2013-07-20 15:08:22 -07: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
|
603bd2d374
|
Check return value of PyEval_GetGlobals() for NULL
CID 486814
|
2013-07-20 22:54:39 +02:00 |
Christian Heimes
|
a6404ad43c
|
Check return value of PyEval_GetGlobals() for NULL
CID 486814
|
2013-07-20 22:54:25 +02:00 |
Christian Heimes
|
5df8ff01d9
|
Check return value of flush_character_buffer()
CID 486663
|
2013-07-20 22:42:06 +02:00 |
Christian Heimes
|
09994a9c59
|
Check return value of flush_character_buffer()
CID 486663
|
2013-07-20 22:41:58 +02:00 |
Christian Heimes
|
7bc80fcf4e
|
Check return value of fstat() in _PyImport_GetDynLoadFunc()
CID 486250
|
2013-07-20 22:18:19 +02:00 |
Christian Heimes
|
27c4c3ec79
|
Check return value of fstat() in _PyImport_GetDynLoadFunc()
CID 486250
|
2013-07-20 22:17:55 +02:00 |
Antoine Pitrou
|
2894073e1a
|
test_ssl: use a bytestring here
|
2013-07-20 19:36:15 +02:00 |
Antoine Pitrou
|
60a26e0516
|
Issue #9177: Calling read() or write() now raises ValueError, not AttributeError, on a closed SSL socket.
Patch by Senko Rasic.
|
2013-07-20 19:35:16 +02:00 |
Mark Dickinson
|
60d634ae4a
|
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 18:00:06 +01: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
|
2ef710e40f
|
Add missing check of PyDict_Update()'s return value in _elementtree.c
CID 719637
|
2013-07-20 15:12:19 +02: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
|
3f95bdcdbe
|
Add missing check of PyDict_SetItem()'s return value
CID 486659
|
2013-07-20 15:01:36 +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
|
b578735dff
|
Check return value of PyType_Ready(&EncodingMapType)
CID 486654
|
2013-07-20 14:57:28 +02:00 |
Christian Heimes
|
26532f7519
|
Check return value of PyType_Ready(&EncodingMapType)
CID 486654
|
2013-07-20 14:57:16 +02:00 |
Christian Heimes
|
74ba26a40c
|
Add missing check of PyDict_SetItem()'s return value in _PyImport_FindExtensionObject()
CID 486649
|
2013-07-20 14:52:18 +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
|
895bdfb16e
|
Add missing check of PyDict_SetItem()'s return value in PyEval_EvalCodeEx()
CID 486647
|
2013-07-20 14:48:21 +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 |
Christian Heimes
|
de4d183955
|
Issue #18327: Fix argument order in call to compatible_for_assignment(oldto, newto, attr).
The fix only affects the error message of __class__ assignment. CID 983564
|
2013-07-20 14:19:46 +02:00 |
Christian Heimes
|
abfc4d838a
|
Fix fishy sizeof(Py_ssize_t *).
sizeof(Py_ssize_t *) == sizeof(Py_ssize_t) but it's not a portable assumption.
CID 486403
|
2013-07-20 14:11:52 +02:00 |
Christian Heimes
|
e91ad501c5
|
Use strncat() instead of strcat() to silence some warnings.
CID 486616, CID 486617, CID 486615
|
2013-07-20 14:11:28 +02:00 |
Raymond Hettinger
|
5ea0f80165
|
Make the GCC-4.8 compiler happy by moving declarations to the top of the function.
|
2013-07-19 19:52:04 -07:00 |
Ethan Furman
|
520ad57916
|
Change _names to _names_ since the latter is reserved for Enum use.
Before this change only the methods were _single_underscored_; now
the attributes are as well.
|
2013-07-19 19:47:21 -07:00 |
Ethan Furman
|
2aa2732eaf
|
Close #18508 -- fix _value2member_map to always have the member's value
|
2013-07-19 19:35:56 -07:00 |
Richard Oudkerk
|
e410f267f1
|
Merge.
|
2013-07-19 22:54:37 +01:00 |
Richard Oudkerk
|
14f5ee0a62
|
Prevent dangling threads/process warning for test_multiprocessing.
|
2013-07-19 22:53:42 +01:00 |
Victor Stinner
|
2c40f640d9
|
Issue #18408: Fix list_ass_slice(), handle list_resize() failure
I tested the patch manually by injecting a fault using gdb: list items are
correctly restored on failure.
|
2013-07-19 23:06:21 +02:00 |
Vinay Sajip
|
9007dd7274
|
Closes #18479: Changed venv Activate.ps1 to make deactivate a function, and removed Deactivate.ps1.
|
2013-07-19 11:03:55 +01:00 |
Ronald Oussoren
|
ced1226cce
|
(3.3->default): #18480: Add missing PyType_Ready call to _elementtree extension
|
2013-07-19 11:14:05 +02:00 |
Ronald Oussoren
|
138d080a28
|
#18480: Add missing PyType_Ready call to _elementtree extension
|
2013-07-19 11:11:25 +02:00 |
Ethan Furman
|
f24bb35a69
|
closes issue18042 -- a `unique` decorator is added to enum.py
The docs also clarify the 'Interesting Example' duplicate-free enum is for
demonstration purposes.
|
2013-07-18 17:05:39 -07:00 |
Victor Stinner
|
d85032e25d
|
(Merge 3.3) Fix posix_chflags(): return_value was uninitialized when
follow_symlinks=False whereas the fchmodat() function is not avaialble.
|
2013-07-18 23:58:08 +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 |
Victor Stinner
|
9e09c26e8a
|
Issue #18501, #18408: Fix expat handlers in pyexpat, don't call Python
functions if a Python exception was raised
|
2013-07-18 23:17:01 +02:00 |