0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Python
Victor Stinner ace47d7efd Issue #18408: PyEval_EvalFrameEx() and PyEval_CallObjectWithKeywords() now fail
with an assertion error if they are called with an exception set
(PyErr_Occurred()).

If these functions are called with an exception set, the exception may be
cleared and so the caller looses its exception.

Add also assertions to PyEval_CallObjectWithKeywords() and call_function() to
check if the function succeed with no exception set, or the function failed
with an exception set.
2013-07-18 01:41:08 +02:00
..
_warnings.c Issue #18408: Fix show_warning(), clear also the exception raised by 2013-07-16 01:54:37 +02:00
asdl.c
ast.c Issue #18408: Fix ast_for_atom(), PyErr_Fetch(&type, &value, &tback) can set value to NULL 2013-07-17 21:51:42 +02:00
bltinmodule.c Issue #18408: handle PySys_GetObject() failure, raise a RuntimeError 2013-07-16 22:26:05 +02:00
ceval_gil.h
ceval.c Issue #18408: PyEval_EvalFrameEx() and PyEval_CallObjectWithKeywords() now fail 2013-07-18 01:41:08 +02:00
codecs.c Issue #18408: normalizestring() now raises MemoryError on memory allocation failure 2013-07-12 00:02:55 +02:00
compile.c Issue #18408: Fix compiler_import() to handle PyUnicode_Substring() failure properly 2013-07-11 22:50:45 +02:00
condvar.h
dtoa.c
dup2.c
dynamic_annotations.c
dynload_aix.c
dynload_dl.c
dynload_hpux.c
dynload_next.c
dynload_shlib.c
dynload_stub.c
dynload_win.c Issue #18180: Fix ref leak in _PyImport_GetDynLoadWindows(). 2013-06-10 15:38:54 +01:00
errors.c Issue #18408: PyEval_EvalFrameEx() and PyEval_CallObjectWithKeywords() now fail 2013-07-18 01:41:08 +02:00
fileutils.c Issue #18203: Fix decode_ascii_surrogateescape(), use PyMem_RawMalloc() as _Py_char2wchar() 2013-07-07 16:35:54 +02:00
formatter_unicode.c Issue #9566: Fix a compiler warning on Windows x64 2013-06-24 23:34:15 +02:00
frozen.c
frozenmain.c
future.c
getargs.c Issue #9566: Fix compilater warnings on Windows 64-bit 2013-06-05 01:18:13 +02:00
getcompiler.c
getcopyright.c
getcwd.c
getopt.c
getplatform.c
getversion.c
graminit.c
import.c Issue #18408: handle PySys_GetObject() failure, raise a RuntimeError 2013-07-16 22:26:05 +02:00
importdl.c Issue #18408: Fix _PyImport_LoadDynamicModule(), handle PyUnicode_FromFormat() failure 2013-07-17 21:53:23 +02:00
importdl.h
importlib.h Issue #18415: Normalize what type of quotes are used with string 2013-07-12 11:04:23 -04:00
makeopcodetargets.py
marshal.c Issue #17872: Fix a segfault in marshal.load() when input stream returns 2013-07-11 22:28:18 +03:00
modsupport.c
mysnprintf.c
mystrtoul.c
opcode_targets.h rather than passing locals to the class body, just execute the class body in the proper environment 2013-05-16 14:37:25 -05:00
peephole.c Issue #18408: Fix PyCode_Optimize(): raise a MemoryError on memory allocation 2013-07-09 00:32:04 +02:00
pyarena.c Issue #18203: Replace malloc() with PyMem_Malloc() to allocate arena objects 2013-07-07 17:18:53 +02:00
pyctype.c
pyfpe.c
pymath.c
pystate.c Issue #18203: Replace malloc() with PyMem_RawMalloc() at Python initialization 2013-07-07 16:25:15 +02:00
pystrcmp.c
pystrtod.c Issue #9566: pystrtod.c: Fix a compiler warnings on Windows x64 2013-06-24 23:37:40 +02:00
Python-ast.c Issue #18408: Fix Python-ast.c: handle init_types() failure (ex: MemoryError) 2013-07-17 00:17:15 +02:00
pythonrun.c Close #18469: Replace PyDict_GetItemString() with _PyDict_GetItemId() in structseq.c 2013-07-17 01:22:45 +02:00
pytime.c
random.c
sigcheck.c
strdup.c
structmember.c
symtable.c Issue #18408: ste_new() initialize all attributes before handling error 2013-07-11 22:49:00 +02:00
sysmodule.c #13226: update references from ctypes/DLFCN modules to os module 2013-06-21 10:58:41 -04:00
thread_foobar.h
thread_nt.h Issue #18203: Replace malloc() with PyMem_RawMalloc() to allocate thread locks 2013-07-07 17:17:59 +02:00
thread_pth.h
thread_pthread.h Issue #18203: Replace malloc() with PyMem_RawMalloc() to allocate thread locks 2013-07-07 17:17:59 +02:00
thread.c Issue #18203: Replace malloc() with PyMem_RawMalloc() at Python initialization 2013-07-07 16:25:15 +02:00
traceback.c Issue #18408: Fix _Py_DisplaySourceLine() 2013-07-16 00:32:14 +02:00