- 16 Tem, 2013 27 kayıt (commit)
-
-
Victor Stinner yazdı
PyObject_IsSubclass() can fail and raise a new exception!
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Type "o" format of Py_BuildValue() is invalid: it must be "O".
-
Victor Stinner yazdı
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 yazdı
-
Victor Stinner yazdı
and ignores exceptions raised during the call
-
Victor Stinner yazdı
Pass the MemoryError exception to the caller, instead of using empty keys.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
As PyDict_GetItem(), PyDict_GetItemString() suppresses all errors that may occur for historical reasons.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
notify exceptions raised by the _PyUnicodeWriter API
-
Victor Stinner yazdı
bytes is NULL on _PyBytes_Resize() failure
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Useed context managers for file I/O. Removed out-of-dated code and misleading comments.
-
Serhiy Storchaka yazdı
Useed context managers for file I/O. Removed out-of-dated code and misleading comments.
-
R David Murray yazdı
-
R David Murray yazdı
Patch by Vajrasky Kok.
-
Richard Oudkerk yazdı
Zachary Ware.)
-
Richard Oudkerk yazdı
Zachary Ware.)
-
Ronald Oussoren yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Ned Deily yazdı
-
Ned Deily yazdı
-
- 15 Tem, 2013 13 kayıt (commit)
-
-
Victor Stinner yazdı
_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 yazdı
earlier
-
Victor Stinner yazdı
Report _Py_FindSourceFile() error, so the error is cleared; and clear io.open(filename) exception on failure.
-
Victor Stinner yazdı
Don't pass a NULL traceback to PyException_SetTraceback(): pass Py_None. Passing NULL would raise a new exception.
-
Barry Warsaw yazdı
object's custom `__hash__()` method.
-
Victor Stinner yazdı
failure
-
Victor Stinner yazdı
exception was not raised. Before the process was killed by SIGALRM in another random test (1 second later)
-
Victor Stinner yazdı
on memory allocation failure
-
Victor Stinner yazdı
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 yazdı
-
Victor Stinner yazdı
if the function called failed whereas no exception was raised, to detect bugs earlier.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Check if XML_ParserCreate_MM() failed (ex: MemoryError) before using self->itself.
-