- 17 Jul, 2013 19 commits
-
-
Victor Stinner authored
the last call to the step() method of a user function
-
Victor Stinner authored
PyObject_Repr() can removes the current exception. For example, module_repr() calls PyErr_Clear() if calling loader.module_repr(mod) failed.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
small integers (0 or 1 digit)
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Serhiy Storchaka authored
supports running only selected tests. Patch by Zachary Ware.
-
Serhiy Storchaka authored
supports running only selected tests. Patch by Zachary Ware.
-
Serhiy Storchaka authored
Original patch by Zachary Ware.
-
Serhiy Storchaka authored
Original patch by Zachary Ware.
-
- 16 Jul, 2013 21 commits
-
-
Victor Stinner authored
_PyDict_GetItemId() is more efficient: it only builds the Unicode string once. Identifiers (dictionary keys) are now created at Python initialization, and if the creation failed, Python does exit with a fatal error. Before, PyDict_GetItemString() failure was not handled: structseq_new() could call PyObject_GC_NewVar() with a negative size, and structseq_dealloc() could also crash.
-
Victor Stinner authored
-
Victor Stinner authored
PyList_Append() (called by PyArena_AddPyObject()) can fail because of a MemoryError for example.
-
Victor Stinner authored
-
Victor Stinner authored
PyObject_IsSubclass() can fail and raise a new exception!
-
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
-