- 16 Jul, 2013 17 commits
-
-
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 21 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.
-
Ronald Oussoren authored
The "Gestalt" function on OSX is deprecated (starting with OSX 10.8), remove its usage from the stdlib. The patch removes a number of private functions and a private module, but does not change the public API. The removed code was effectively dead, the platform module has used other code to fetch the OSX version for years and could only use on the Gestalt-based code as a fallback. That fallback can only trigger on broken OSX installs (that is, someone has removed parts of the system install)
-
R David Murray authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Nick Coghlan authored
-
Serhiy Storchaka authored
Févry Thibault.
-
Serhiy Storchaka authored
Févry Thibault.
-
- 14 Jul, 2013 2 commits