4256 Commits (d4095d95f87010751ebc0b656a87f422ce5480ad)

Author SHA1 Message Date
Christian Heimes 72f562f719 Fix potential NULL pointer dereferencing in ast module 13 years ago
Benjamin Peterson 7d28b6b379 return NULL here 13 years ago
Victor Stinner ba30883f60 Issue #18520: Fix initstdio(), handle PySys_SetObject() failure 13 years ago
Victor Stinner 62ce62a3a1 Issue #18520: initsite() is a little bit more verbose when import site fails 13 years ago
Victor Stinner 580496005d Issue #18520: Fix _PySys_Init(), handle PyDict_SetItemString() errors 13 years ago
Victor Stinner f54a574478 Issue #18520: PyErr_NoMemory() now fails with a fatal error if it is called 13 years ago
Victor Stinner 1c8f059019 Issue #18520: Add a new PyStructSequence_InitType2() function, same than 13 years ago
Christian Heimes 60a6067709 Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0], 13 years ago
Benjamin Peterson 0f9b7d32c7 fix spacing 13 years ago
Benjamin Peterson 04b01dc8f7 let's not return NULL from functions that should return ints 13 years ago
Victor Stinner d786ad55ef Issue #18520: Fix initsigs(), handle PyOS_InitInterrupts() error 13 years ago
Christian Heimes 1f34729f42 Check return value of lseek() in _Py_DisplaySourceLine(). 13 years ago
Christian Heimes 8c077bc03e Check return value of PyObject_AsFileDescriptor() in _Py_DisplaySourceLine() for error 13 years ago
Christian Heimes 27c4c3ec79 Check return value of fstat() in _PyImport_GetDynLoadFunc() 13 years ago
Christian Heimes 09ca794afe Add missing check of PyDict_SetItem()'s return value in _PyImport_FindExtensionObject() 13 years ago
Christian Heimes 0bd447f847 Add missing check of PyDict_SetItem()'s return value in PyEval_EvalCodeEx() 13 years ago
Victor Stinner ace47d7efd Issue #18408: PyEval_EvalFrameEx() and PyEval_CallObjectWithKeywords() now fail 13 years ago
Victor Stinner 479054bca7 Issue #18408: Fix PyErr_SetImportError(), handle PyDict_SetItemString() failure 13 years ago
Victor Stinner 8e54b1c448 Issue #18408: Fix _PyImport_LoadDynamicModule(), handle PyUnicode_FromFormat() failure 13 years ago
Victor Stinner 0fae8f9083 Issue #18408: Fix ast_for_atom(), PyErr_Fetch(&type, &value, &tback) can set value to NULL 13 years ago
Victor Stinner 26f91999b4 Close #18469: Replace PyDict_GetItemString() with _PyDict_GetItemId() in structseq.c 13 years ago
Victor Stinner 43d8195a70 Issue #18408: Handle PyArena_AddPyObject() failure in ast.c 13 years ago
Victor Stinner 74a7fa6663 Issue #18408: Fix PyErr_NormalizeException(), handle PyObject_IsSubclass() failure 13 years ago
Victor Stinner bdf630c4a7 Issue #18408: Fix Python-ast.c: handle init_types() failure (ex: MemoryError) 13 years ago
Victor Stinner 1e53bbaced Issue #18408: handle PySys_GetObject() failure, raise a RuntimeError 13 years ago
Victor Stinner 78e2c985ac Issue #18408: Fix show_warning(), clear also the exception raised by 13 years ago
Victor Stinner f243ee4055 Issue #18408: add more assertions on PyErr_Occurred() in ceval.c to detect bugs 13 years ago
Victor Stinner ceceaa00ba Issue #18408: Fix _Py_DisplaySourceLine() 13 years ago
Victor Stinner 7eab0d000c Issue #18408: Fix PyEval_EvalFrameEx() for MemoryError 13 years ago
Brett Cannon a79e4fb38d Issue #18342: Use the repr of a module name for ``from ... import 13 years ago
Brett Cannon f0cb69274c Issue #18415: Normalize what type of quotes are used with string 13 years ago
Victor Stinner fb3a630001 Issue #18408: errors.c: in debug mode, calling PyErr_BadInternalCall() now 13 years ago
Victor Stinner 365b693adc Issue #18408: ceval.c: in debug mode, convert the PyErr_Occurred() check on 13 years ago
Victor Stinner cc35159ed8 Issue #18408: normalizestring() now raises MemoryError on memory allocation failure 13 years ago
Victor Stinner 6b64a6803e Issue #18408: Fix compiler_import() to handle PyUnicode_Substring() failure properly 13 years ago
Victor Stinner 9a4fb66966 Issue #18408: ste_new() initialize all attributes before handling error 13 years ago
Serhiy Storchaka 3641a74e1c Issue #17872: Fix a segfault in marshal.load() when input stream returns 13 years ago
Serhiy Storchaka dfde2151ed Fix reference leaks introduced by the patch for issue #5308. 13 years ago
Christian Heimes 7ce57d67c9 Issue #18426: improve exception message. Courtesy of Amaury 13 years ago
Christian Heimes 848ee099f5 Issue #18426: Fix NULL pointer dereference in C extension import when 13 years ago
R David Murray 87ead1138d #18424: PEP8ify the tense of the sum docstring. 13 years ago
Victor Stinner aaa8ed8b84 Issue #18408: Fix call_exc_trace(): if the traceback is NULL, use None when 13 years ago
Victor Stinner e0af3a802a Issue #18408: Fix PyCode_Optimize(): raise a MemoryError on memory allocation 13 years ago
Victor Stinner 0ff0f54dd4 Issue #18408: Fix call_function() of ceval.c to handle PyTuple_New() failure 13 years ago
Victor Stinner 3a8b79d4d2 Issue #18408: Fix marshal reader for Unicode strings: handle 13 years ago
Victor Stinner 49fc8ece81 Issue #18203: Add _PyMem_RawStrdup() and _PyMem_Strdup() 13 years ago
Victor Stinner c6632e7eb4 Issue #18203: Replace malloc() with PyMem_Malloc() to allocate arena objects 13 years ago
Victor Stinner 80aa565fb4 Issue #18203: Replace malloc() with PyMem_RawMalloc() to allocate thread locks 13 years ago
Victor Stinner 65bf9cf26f Issue #18203: Fix decode_ascii_surrogateescape(), use PyMem_RawMalloc() as _Py_char2wchar() 13 years ago
Victor Stinner 1a7425f67a Issue #18203: Replace malloc() with PyMem_RawMalloc() at Python initialization 13 years ago