cpython/Python
Victor Stinner c82bfd871f Issue #18664, #18408: Rewrite PyErr_WriteUnraisable() to handle errors
* Catch PyFile_WriteString() and PyFile_WriteObject() errors
 * Clear the current exception on _PyObject_GetAttrId() failure
 * Use PyUnicode_CompareWithASCIIString() and PyFile_WriteObject() instead of
   _PyUnicode_AsString() and strcmp() to avoid Unicode encoding error. stderr
   has a more tolerant error handler than utf-8/strict.
2013-08-26 14:04:10 +02:00
..
Python-ast.c Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object(). 2013-07-27 00:33:35 +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 Fix potential NULL pointer dereferencing in ast module 2013-07-24 21:02:50 +02:00
bltinmodule.c Issue #18560: Fix potential NULL pointer dereference in sum() 2013-07-26 22:50:01 +02:00
ceval.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
ceval_gil.h
codecs.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +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 Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
dynload_dl.c
dynload_hpux.c
dynload_next.c
dynload_shlib.c merge 3.3 2013-07-22 22:08:17 -07:00
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 #18664, #18408: Rewrite PyErr_WriteUnraisable() to handle errors 2013-08-26 14:04:10 +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 Issue #15893: Remove dead code 2013-07-27 02:41:03 +02:00
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
getopt.c
getplatform.c
getversion.c
graminit.c
import.c remove unused declaration 2013-08-22 02:23:13 +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 #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
modsupport.c
mysnprintf.c
mystrtoul.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
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 #10241: Clear extension module dict copies at interpreter shutdown. 2013-08-11 00:30:09 +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
pythonrun.c Issue #18808: Non-daemon threads are now automatically joined when a sub-interpreter is shutdown (it would previously dump a fatal error). 2013-08-25 19:48:18 +02:00
pytime.c
random.c Issue #18756: Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing. 2013-08-16 20:49:32 +02:00
sigcheck.c
strdup.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
structmember.c
symtable.c Issue #18408: ste_new() initialize all attributes before handling error 2013-07-11 22:49:00 +02:00
sysmodule.c #18839: merge with 3.3. 2013-08-26 14:01:29 +03:00
thread.c Issue #18520: Add a new PyStructSequence_InitType2() function, same than 2013-07-22 22:24:54 +02: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_pthread.h Issue #18203: Replace malloc() with PyMem_RawMalloc() to allocate thread locks 2013-07-07 17:17:59 +02:00
traceback.c merge 3.3 2013-07-21 13:29:42 -07:00