Brett Cannon
2be28a6984
Silence a compiler warning about an unused function
2013-11-01 10:25:13 -04:00
Victor Stinner
a9eb38f02a
Issue #19437 : Fix newPySSLSocket(), handle PyWeakref_NewRef() failure
2013-10-31 16:35:38 +01:00
Victor Stinner
e75996a77c
Issue #19437 : Fix PyCFuncPtrType constructor, handle
...
_ctypes_alloc_format_string() failure
2013-10-31 16:34:08 +01:00
Victor Stinner
a215002453
Issue #19437 : Fix PyCArrayType constructor, raise MemoryError on PyMem_Malloc()
...
failure
2013-10-31 16:33:05 +01:00
Victor Stinner
ba9be477b0
Issue #19437 : Fix fill_and_set_sslerror() of _ssl, handle Py_BuildValue()
...
failure
Don't call PyObject_CallObject() with NULL parameters and an exception set.
2013-10-31 15:00:24 +01:00
Victor Stinner
2ae57e3cf8
Issue #19437 : Fix _pickle, don't call _Unpickler_SkipConsumed() with an
...
exception set
2013-10-31 13:39:23 +01:00
Victor Stinner
b43ad1d569
cleanup _Unpickler_SkipConsumed(): remove 1 level of indentation
2013-10-31 13:38:42 +01:00
Tim Golden
fa6ab0fa5b
Issue #19418 Fix some warnings on Win64
2013-10-31 10:25:47 +00:00
Guido van Rossum
90fb914b4b
asyncio: Make the IOCP proactor support "waitable" handles (Richard Oudkerk).
2013-10-30 14:44:05 -07:00
Victor Stinner
7613542a27
Issue #19437 : Fix select.epoll.poll(), fix code handling PyMem_New() error
...
The bug was introduced with the select.epoll module! So it's 5 years old :-)
2013-10-30 19:57:52 +01:00
Victor Stinner
f0a7bac201
Issue #19437 : Fix os.statvfs(), handle errors
2013-10-30 18:55:24 +01:00
Christian Heimes
dc6b933d23
merge
2013-10-29 21:16:58 +01:00
Christian Heimes
ee0bac66b2
Issue #19227 / Issue #18747 : Remove pthread_atfork() handler to remove OpenSSL re-seeding
...
It is causing trouble like e.g. hanging processes.
2013-10-29 21:11:55 +01:00
Christian Heimes
fb6b44e830
Issue #19227 / Issue #18747 : Remove pthread_atfork() handler to remove OpenSSL re-seeding
...
It is causing trouble like e.g. hanging processes.
2013-10-29 20:50:01 +01:00
Victor Stinner
34f7383d7a
Issue #19437 : Fix dec_format() of the _decimal module, handle dec_strdup()
...
failure (memory allocation failure): raise a MemoryError exception
2013-10-29 20:33:14 +01:00
Victor Stinner
f866f97ca8
Issue #19433 : test_capi: check signness of some C types
2013-10-29 19:59:31 +01:00
Victor Stinner
01076554b7
Issue #19433 : test_capi: add tests on the size of some C types
2013-10-29 19:39:52 +01:00
Victor Stinner
f38a5c28e0
Cleanup locale.localeconv(): move Py_DECREF() closer to the error
2013-10-29 19:28:20 +01:00
Victor Stinner
1ce3f840be
Issue #19437 : Fix convert_op_cmp() of decimal.Decimal rich comparator, handle
...
PyObject_IsInstance() failure
2013-10-29 19:26:11 +01:00
Victor Stinner
6decccdafe
Issue #19437 : Fix Array_subscript() of ctypes, handle Array_item() failure
2013-10-29 16:05:14 +01:00
Christian Heimes
db816d6546
Issue #19420 : Fix reference leak in module initalization code of _hashopenssl.c
2013-10-29 12:14:55 +01:00
Victor Stinner
dd371b92c4
Issue #18408 : Fix PyCStructUnionType_update_stgdict(), handle
...
_ctypes_alloc_format_string() failure
2013-10-29 03:50:45 +01:00
Victor Stinner
68f6adca6d
Issue #18408 : Fix _ctypes_alloc_format_string(), raise MemoryError on memory
...
allocation failure
2013-10-29 03:50:21 +01:00
Victor Stinner
cc024d1820
Issue #18408 : Fix iobase_readline(), handle PyByteArray_Resize() failure
2013-10-29 02:23:46 +01:00
Victor Stinner
af8b7e8233
Issue #18408 : Fix zipimport, handle PyUnicode_Substring() and get_subname() failures
2013-10-29 01:46:24 +01:00
Victor Stinner
73660af6af
Issue #19428 : zipimport now handles errors when reading truncated or invalid
...
ZIP archive.
2013-10-29 01:43:44 +01:00
Victor Stinner
28c63f7ffb
CJK codecs: less magical macros, semicolon is now explicit
2013-10-29 00:59:44 +01:00
Victor Stinner
14c9fea60a
CJK codecs: less magic macros, require explicit semicolon
2013-10-29 00:19:27 +01:00
Victor Stinner
146a2ed0f2
CJK codecs: add newlines for readability
2013-10-29 00:09:41 +01:00
Victor Stinner
bd97ac35f7
CJK codecs: use less magic and more readable macros, write explicit if
2013-10-28 23:54:13 +01:00
Victor Stinner
0a6e2c59d3
CJK codecs: remove unused TRYMAP_ENC_MPLANE macro
2013-10-28 23:47:26 +01:00
Victor Stinner
11bdf91a5f
Issue #18509 : handle PyUnicode_Writer() error
2013-10-28 23:18:39 +01:00
Nadeem Vawda
e6514f533e
#19395 : Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).
...
The underlying C libraries provide no mechanism for serializing compressor and
decompressor objects, so actually pickling these classes is impractical.
Previously, these objects would be pickled without error, but attempting to use
a deserialized instance would segfault the interpreter.
2013-10-28 21:41:24 +01:00
Nadeem Vawda
3797065ac5
#19395 : Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).
...
The underlying C libraries provide no mechanism for serializing compressor and
decompressor objects, so actually pickling these classes is impractical.
Previously, these objects would be pickled without error, but attempting to use
a deserialized instance would segfault the interpreter.
2013-10-28 21:35:23 +01:00
Georg Brandl
81be27d53e
Issue #19227 : Try to fix deadlocks caused by re-seeding then OpenSSL
...
pseudo-random number generator on fork().
2013-10-27 07:56:11 +01:00
Serhiy Storchaka
efa5a39fa5
Issue #19405 : Fixed outdated comments in the _sre module.
2013-10-27 08:04:58 +02:00
Benjamin Peterson
89d8cd943b
just return toplevel symbol table rather than all blocks ( closes #19393 )
2013-10-26 13:13:51 -04:00
Georg Brandl
fb404f528a
#19227 : merge with 3.3
2013-10-27 07:57:42 +01:00
Serhiy Storchaka
1985f7b133
Issue #19405 : Fixed outdated comments in the _sre module.
2013-10-27 08:07:46 +02:00
Benjamin Peterson
77353664e2
merge 3.3 ( #19393 )
2013-10-26 13:22:08 -04:00
Serhiy Storchaka
8444ebbd72
Issue #18685 : Extract template part of _sre.c into separated sre_lib.h file.
2013-10-26 11:18:42 +03:00
Serhiy Storchaka
9eabac68a3
Issue #18685 : Restore re performance to pre-PEP 393 levels.
2013-10-26 10:45:48 +03:00
Tim Golden
781bbebacb
Issue13234 Allow listdir to handle extended paths on Windows (Patch by Santoso Wijaya)
2013-10-25 20:24:06 +01:00
Tim Golden
23005084ad
Issue4905: use INVALID_FILE_ATTRIBUTES where appropriate. (Patch by Ulrich Eckhardt)
2013-10-25 11:22:37 +01:00
Serhiy Storchaka
4f056d43d6
Issue #19288 : Fixed the "in" operator of dbm.gnu databases for string
...
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
2013-10-25 00:08:13 +03:00
Serhiy Storchaka
7d6392c517
Issue #19288 : Fixed the "in" operator of dbm.gnu databases for string
...
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
2013-10-25 00:06:52 +03:00
Serhiy Storchaka
124a0b314b
Issue #19287 : Fixed the "in" operator of dbm.ndbm databases for string
...
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
2013-10-25 00:01:25 +03:00
Serhiy Storchaka
9da33ab193
Issue #19287 : Fixed the "in" operator of dbm.ndbm databases for string
...
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
2013-10-24 23:59:28 +03:00
Serhiy Storchaka
8b150ecfc9
Issue #19327 : Fixed the working of regular expressions with too big charset.
2013-10-24 22:04:37 +03:00
Serhiy Storchaka
be80fc9a84
Issue #19327 : Fixed the working of regular expressions with too big charset.
2013-10-24 22:02:58 +03:00