- 16 Jul, 2013 26 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
Type "o" format of Py_BuildValue() is invalid: it must be "O".
-
Victor Stinner authored
It was easy to miss the call to type->tp_init because it was done in a long conditional expression. Split the long expression in multiple lines to make the debug step by step easier.
-
Victor Stinner authored
-
Victor Stinner authored
and ignores exceptions raised during the call
-
Victor Stinner authored
Pass the MemoryError exception to the caller, instead of using empty keys.
-
Victor Stinner authored
-
Victor Stinner authored
As PyDict_GetItem(), PyDict_GetItemString() suppresses all errors that may occur for historical reasons.
-
Victor Stinner authored
-
Victor Stinner authored
notify exceptions raised by the _PyUnicodeWriter API
-
Victor Stinner authored
bytes is NULL on _PyBytes_Resize() failure
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Useed context managers for file I/O. Removed out-of-dated code and misleading comments.
-
Serhiy Storchaka authored
Useed context managers for file I/O. Removed out-of-dated code and misleading comments.
-
R David Murray authored
-
R David Murray authored
Patch by Vajrasky Kok.
-
Richard Oudkerk authored
Zachary Ware.)
-
Richard Oudkerk authored
Zachary Ware.)
-
Ronald Oussoren authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Ned Deily authored
-
Ned Deily authored
-
- 15 Jul, 2013 14 commits
-
-
Victor Stinner authored
_Py_DisplaySourceLine() For example, _PyGC_DumpShutdownStats() calls PyErr_WarnExplicitFormat() while the import machinery does not work anymore, _Py_DisplaySourceLine() fails when trying to import the io module.
-
Victor Stinner authored
earlier
-
Victor Stinner authored
Report _Py_FindSourceFile() error, so the error is cleared; and clear io.open(filename) exception on failure.
-
Victor Stinner authored
Don't pass a NULL traceback to PyException_SetTraceback(): pass Py_None. Passing NULL would raise a new exception.
-
Barry Warsaw authored
object's custom `__hash__()` method.
-
Victor Stinner authored
failure
-
Victor Stinner authored
exception was not raised. Before the process was killed by SIGALRM in another random test (1 second later)
-
Victor Stinner authored
on memory allocation failure
-
Victor Stinner authored
and _PyUnicode_HAS_WSTR_MEMORY() macros These macros are called in unicode_dealloc(), whereas the unicode object can be "inconsistent" if the creation of the object failed. For example, when unicode_subtype_new() fails on a memory allocation, _PyUnicode_CheckConsistency() fails with an assertion error because data is NULL.
-
R David Murray authored
-
Victor Stinner authored
if the function called failed whereas no exception was raised, to detect bugs earlier.
-
Victor Stinner authored
-
Victor Stinner authored
Check if XML_ParserCreate_MM() failed (ex: MemoryError) before using self->itself.
-
Barry Warsaw authored
object's custom `__hash__()` method.
-