Serhiy Storchaka
e048addedc
Issue #19589 : Use specific asserts in asyncio tests.
2013-11-14 23:10:51 +02:00
Guido van Rossum
f38f7f3c7b
asyncio: Avoid ResourceWarning. Fix issue 19580 by Vajrasky Kok.
2013-11-14 10:06:18 -08:00
Stefan Krah
49d0479357
Add unused third arg for the benefit of Valgrind.
2013-11-14 15:35:47 +01:00
Benjamin Peterson
e109ee8205
fix refleaks
2013-11-13 23:49:49 -05:00
Benjamin Peterson
079c998872
adjust style
2013-11-13 23:25:01 -05:00
Guido van Rossum
8ff3e8af72
asyncio: Relax timing requirement. Fixes issue 19579.
2013-11-13 20:17:52 -08:00
Christian Heimes
c6ae813011
merge
2013-11-14 01:48:32 +01:00
Christian Heimes
6a3db25c70
Issue #17828 : _PyObject_GetDictPtr() may return NULL instead of a PyObject**
...
CID 1128792: Dereference null return value (NULL_RETURNS)
2013-11-14 01:47:14 +01:00
Christian Heimes
507eabdf11
Issue #17828 : va_start() must be accompanied by va_end()
...
CID 1128793: Missing varargs init or cleanup (VARARGS)
2013-11-14 01:39:35 +01:00
Victor Stinner
541067a640
Issue #19437 : Fix array.buffer_info(), handle PyLong_FromVoidPtr() and
...
PyLong_FromLong() failure
2013-11-14 01:27:12 +01:00
Victor Stinner
804e05e800
Issue #19437 : Use an identifier for "__name__" string in pickle to improve
...
error handling
The following code didn't handle correctly the failure of
PyUnicode_InternFromString("__name__").
if (newobj_str == NULL) {
newobj_str = PyUnicode_InternFromString("__newobj__");
name_str = PyUnicode_InternFromString("__name__");
if (newobj_str == NULL || name_str == NULL)
return -1;
}
2013-11-14 01:26:17 +01:00
Victor Stinner
c82729e44f
Issue #19437 : Fix fold_unaryops_on_constants() of the peephole optimizer, clear
...
the exception when PyList_Append() fails
2013-11-14 01:21:00 +01:00
Guido van Rossum
2bcae708d8
asyncio: Fix from Anthony Baire for CPython issue 19566 (replaces earlier fix).
2013-11-13 15:50:08 -08:00
Ethan Furman
be3c2fea35
removed Enum.__eq__ as it added nothing
2013-11-13 14:25:45 -08:00
Guido van Rossum
82e9f32f17
asyncio: Temporary fix by Victor Stinner for issue 19566.
2013-11-13 11:08:34 -08:00
Nick Coghlan
d4fdbcc078
Issue #17839 : mention base64 change in What's New
2013-11-14 00:24:31 +10:00
Nick Coghlan
8b097b4ed7
Close #17828 : better handling of codec errors
...
- output type errors now redirect users to the type-neutral
convenience functions in the codecs module
- stateless errors that occur during encoding and decoding
will now be automatically wrapped in exceptions that give
the name of the codec involved
2013-11-13 23:49:21 +10:00
Victor Stinner
59799a8399
Don't use deprecated function PyUnicode_GET_SIZE()
...
Replace it with PyUnicode_GET_LENGTH() or PyUnicode_AsUnicodeAndSize()
2013-11-13 14:17:30 +01:00
Victor Stinner
e223439c13
Issue #19437 : Fix ctypes, handle PyCData_GetContainer() and GetKeepedObjects()
...
failures
2013-11-13 13:29:37 +01:00
Victor Stinner
588544d186
Issue #19437 : Fix GetKeepedObjects() of ctypes, handle PyCData_GetContainer()
...
failure
2013-11-13 13:24:50 +01:00
Victor Stinner
7184366dab
Issue #19437 : Fix PyCData_GetContainer() of ctypes, handle PyDict_New() failure
2013-11-13 13:23:35 +01:00
Victor Stinner
22af2599a9
Issue #19437 : Fix PyImport_ImportModuleLevelObject(), handle
...
PyUnicode_Substring() failure (ex: MemoryError)
2013-11-13 12:11:36 +01:00
Nick Coghlan
d3e83e2a3e
Avoid global side effect in test_ensurepip
2013-11-13 22:24:58 +10:00
Nick Coghlan
ca351e6bc5
Fix test_socket for repr update
2013-11-13 22:10:16 +10:00
Giampaolo Rodola'
c46600d8f2
merge
2013-11-12 23:09:01 +01:00
Giampaolo Rodola'
1bfa7ed3b0
test.support: considering the module is a mix of utilities unrelated with each other divide __all__ in sub-sections so that it can be used as a quick-reference doc
2013-11-12 23:08:27 +01:00
Victor Stinner
651f9f77f3
Issue #19515 : Remove duplicated identifiers in zipimport.c
2013-11-12 21:44:18 +01:00
Victor Stinner
3f36a5736b
Issue #19515 : Remove identifiers duplicated in the same file.
...
Patch written by Andrei Dorian Duma.
2013-11-12 21:39:02 +01:00
Victor Stinner
dcf17f8a55
Issue #19466 : Fix typo. Patch written by Vajrasky Kok.
2013-11-12 17:18:51 +01:00
Victor Stinner
45956b9a33
Close #19466 : Clear the frames of daemon threads earlier during the Python
...
shutdown to call objects destructors. So "unclosed file" resource warnings are
now corretly emitted for daemon threads.
2013-11-12 16:37:55 +01:00
Andrew Kuchling
c6a140f330
Merge from 3.3
2013-11-12 10:26:15 -05:00
Andrew Kuchling
98a0d063a1
Closes #12828 : add docstring text noting this is an internal-only module
2013-11-12 10:25:15 -05:00
Andrew Kuchling
7150787b7e
Merge from 3.3
2013-11-12 10:03:20 -05:00
Andrew Kuchling
587e970be6
Update e-mail address
2013-11-12 10:02:35 -05:00
Tim Golden
01b1f878a0
Issue #13674 Null merge with 3.3
2013-11-12 13:33:17 +00:00
Tim Golden
09a5f5eb26
Issue #13674 Updated NEWS
2013-11-12 13:24:03 +00:00
Tim Golden
af40e98617
Issue #13674 Updated NEWS
2013-11-12 13:22:39 +00:00
Tim Golden
d9182e64cb
Remove mis-merged artefact
2013-11-12 12:51:37 +00:00
Tim Golden
bbe268f583
Issue13674 Correct crash with strftime %y format under Windows
2013-11-12 12:48:20 +00:00
Tim Golden
6e51b8ff0f
Issue13674 Correct crash with strftime %y format under Windows
2013-11-12 12:36:54 +00:00
Zachary Ware
dfcd694674
Issue #19440 : Clean up test_capi
2013-11-11 22:59:23 -06:00
Zachary Ware
c12f09ed24
Issue #19440 : Clean up test_capi
2013-11-11 22:47:04 -06:00
Zachary Ware
8f56bf57fd
Null merge
2013-11-11 22:44:03 -06:00
Zachary Ware
0eac43a4eb
Correct a merge error in Misc/NEWS
2013-11-11 22:30:47 -06:00
Andrew Kuchling
de5aff2932
#15422 : remove NEWS item for a change that was later reverted
2013-11-11 14:50:13 -05:00
Andrew Kuchling
785918250f
Closes #6683 : add a test that exercises multiple authentication.
...
The SMTP server advertises four different authentication methods, and
the code will try CRAM-MD5 first, which will fail, but LOGIN succeeds.
2013-11-11 14:03:23 -05:00
Tim Golden
fc0cad8b04
Remove outdated comment
2013-11-11 15:08:40 +00:00
Tim Golden
acea823fd8
Remove outdated comment
2013-11-11 15:08:04 +00:00
Nick Coghlan
d0cf0635b3
Close #19406 : Initial implementation of ensurepip
...
Patch by Donald Stufft and Nick Coghlan
2013-11-11 22:11:55 +10:00
Kristjan Valur Jonsson
020af2a2bc
Issue #8799 : Reduce timing sensitivity of condition test by explicitly
...
delaying the main thread so that it doesn't race ahead of the workers.
2013-11-11 11:29:04 +00:00