summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18582: fix memory leak in pbkdf2 codeChristian Heimes2013-11-061-0/+1
|
* Issue #19437: Fix _threading.RLock constructor (rlock_new), callVictor Stinner2013-11-051-10/+14
| | | | | | | | | Py_DECREF(self) if PyThread_allocate_lock() failed instead of calling directly type->tp_free(self), to keep the chained list of objects consistent when Python is compiled in debug mode fails, don't consume the row (restore it) and fail immediatly (don't call pysqlite_step())
* Issue #19437: Fix pysqlite_cursor_iternext() of sqlite3, when the row factoryVictor Stinner2013-11-051-0/+5
| | | | | fails, don't consume the row (restore it) and fail immediatly (don't call pysqlite_step())
* Issue #19437: Fix pysqlite_connection_call() of sqlite3, return NULL whenVictor Stinner2013-11-051-17/+13
| | | | PyList_Append() fails
* Issue #19437: Fix pysqlite_cursor_iternext() of sqlite3, handleVictor Stinner2013-11-051-0/+6
| | | | _pysqlite_fetch_one_row() failure
* #18678: Correct names of spwd struct members.R David Murray2013-11-041-5/+9
| | | | | | | | | | The old names (sp_nam and sp_pwd) are kept for backward compatibility. Since this is a long standing bug that hasn't caused any real-world problems, I'm not backporting it. However, it is worth fixing because the corrected names match the documentation, and more importantly now match the C struct, just like the other struct members. Patch by Vajrasky Kok.
* Merge #19411: Clarify that b2a_hex/hexlify returns a bytes object.R David Murray2013-11-031-1/+2
|\
| * #19411: Clarify that b2a_hex/hexlify returns a bytes object.R David Murray2013-11-031-1/+2
| | | | | | | | Initial patch by Vajrasky Kok.
| * Issue #19418 Fix some warnings on Win64Tim Golden2013-10-311-2/+5
| |
* | Silence a compiler warning about an unused functionBrett Cannon2013-11-011-28/+28
| |
* | Issue #19437: Fix newPySSLSocket(), handle PyWeakref_NewRef() failureVictor Stinner2013-10-311-0/+4
| |
* | Issue #19437: Fix PyCFuncPtrType constructor, handleVictor Stinner2013-10-311-0/+4
| | | | | | | | _ctypes_alloc_format_string() failure
* | Issue #19437: Fix PyCArrayType constructor, raise MemoryError on PyMem_Malloc()Victor Stinner2013-10-311-1/+3
| | | | | | | | failure
* | Issue #19437: Fix fill_and_set_sslerror() of _ssl, handle Py_BuildValue()Victor Stinner2013-10-311-1/+5
| | | | | | | | | | | | failure Don't call PyObject_CallObject() with NULL parameters and an exception set.
* | Issue #19437: Fix _pickle, don't call _Unpickler_SkipConsumed() with anVictor Stinner2013-10-311-3/+3
| | | | | | | | exception set
* | cleanup _Unpickler_SkipConsumed(): remove 1 level of indentationVictor Stinner2013-10-311-12/+15
| |
* | Issue #19418 Fix some warnings on Win64Tim Golden2013-10-311-2/+5
| |
* | asyncio: Make the IOCP proactor support "waitable" handles (Richard Oudkerk).Guido van Rossum2013-10-301-0/+176
| |
* | Issue #19437: Fix select.epoll.poll(), fix code handling PyMem_New() errorVictor Stinner2013-10-301-1/+0
| | | | | | | | The bug was introduced with the select.epoll module! So it's 5 years old :-)
* | Issue #19437: Fix os.statvfs(), handle errorsVictor Stinner2013-10-301-0/+4
| |
* | mergeChristian Heimes2013-10-294-12/+89
|\ \
| * | Issue #19437: Fix dec_format() of the _decimal module, handle dec_strdup()Victor Stinner2013-10-291-0/+1
| | | | | | | | | | | | failure (memory allocation failure): raise a MemoryError exception
| * | Issue #19433: test_capi: check signness of some C typesVictor Stinner2013-10-291-10/+34
| | |
| * | Issue #19433: test_capi: add tests on the size of some C typesVictor Stinner2013-10-291-0/+40
| | |
| * | Cleanup locale.localeconv(): move Py_DECREF() closer to the errorVictor Stinner2013-10-291-2/+3
| | |
| * | Issue #19437: Fix convert_op_cmp() of decimal.Decimal rich comparator, handleVictor Stinner2013-10-291-10/+17
| | | | | | | | | | | | PyObject_IsInstance() failure
| * | Issue #19437: Fix Array_subscript() of ctypes, handle Array_item() failureVictor Stinner2013-10-291-0/+4
| | |
* | | Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove ↵Christian Heimes2013-10-291-67/+0
|\ \ \ | |/ / |/| / | |/ | | | | OpenSSL re-seeding It is causing trouble like e.g. hanging processes.
| * Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove ↵Christian Heimes2013-10-291-67/+0
| | | | | | | | | | | | OpenSSL re-seeding It is causing trouble like e.g. hanging processes.
* | Issue #19420: Fix reference leak in module initalization code of _hashopenssl.cChristian Heimes2013-10-291-1/+1
| |
* | Issue #18408: Fix PyCStructUnionType_update_stgdict(), handleVictor Stinner2013-10-291-1/+3
| | | | | | | | _ctypes_alloc_format_string() failure
* | Issue #18408: Fix _ctypes_alloc_format_string(), raise MemoryError on memoryVictor Stinner2013-10-291-1/+3
| | | | | | | | allocation failure
* | Issue #18408: Fix iobase_readline(), handle PyByteArray_Resize() failureVictor Stinner2013-10-291-5/+8
| |
* | Issue #18408: Fix zipimport, handle PyUnicode_Substring() and get_subname() ↵Victor Stinner2013-10-291-2/+7
| | | | | | | | failures
* | Issue #19428: zipimport now handles errors when reading truncated or invalidVictor Stinner2013-10-291-3/+13
| | | | | | | | ZIP archive.
* | CJK codecs: less magical macros, semicolon is now explicitVictor Stinner2013-10-288-104/+118
| |
* | CJK codecs: less magic macros, require explicit semicolonVictor Stinner2013-10-2810-191/+234
| |
* | CJK codecs: add newlines for readabilityVictor Stinner2013-10-287-91/+188
| |
* | CJK codecs: use less magic and more readable macros, write explicit ifVictor Stinner2013-10-287-34/+32
| |
* | CJK codecs: remove unused TRYMAP_ENC_MPLANE macroVictor Stinner2013-10-281-10/+0
| |
* | Issue #18509: handle PyUnicode_Writer() errorVictor Stinner2013-10-287-84/+102
| |
* | #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).Nadeem Vawda2013-10-282-2/+38
|\ \ | |/ | | | | | | | | | | 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.
| * #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).Nadeem Vawda2013-10-282-2/+38
| | | | | | | | | | | | | | 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.
* | #19227: merge with 3.3Georg Brandl2013-10-271-7/+8
|\ \ | |/
| * Issue #19227: Try to fix deadlocks caused by re-seeding then OpenSSLGeorg Brandl2013-10-271-7/+8
| | | | | | | | pseudo-random number generator on fork().
* | Issue #19405: Fixed outdated comments in the _sre module.Serhiy Storchaka2013-10-271-2/+1
|\ \ | |/
| * Issue #19405: Fixed outdated comments in the _sre module.Serhiy Storchaka2013-10-271-2/+1
| |
* | merge 3.3 (#19393)Benjamin Peterson2013-10-261-1/+1
|\ \ | |/
| * just return toplevel symbol table rather than all blocks (closes #19393)Benjamin Peterson2013-10-261-1/+1
| |
* | Issue #18685: Extract template part of _sre.c into separated sre_lib.h file.Serhiy Storchaka2013-10-262-1339/+1332
| |