Index: Modules/_ctypes/libffi_msvc/ffi.c =================================================================== --- Modules/_ctypes/libffi_msvc/ffi.c (revision 66852) +++ Modules/_ctypes/libffi_msvc/ffi.c (working copy) @@ -34,7 +34,7 @@ /* ffi_prep_args is called by the assembly routine once stack space has been allocated for the function's arguments */ -extern void Py_FatalError(char *msg); +extern void Py_FatalError(const char *msg); /*@-exportheader@*/ void ffi_prep_args(char *stack, extended_cif *ecif) Index: Objects/exceptions.c =================================================================== --- Objects/exceptions.c (revision 66852) +++ Objects/exceptions.c (working copy) @@ -2127,7 +2127,7 @@ PyExc_MemoryErrorInst = BaseException_new(&_PyExc_MemoryError, NULL, NULL); if (!PyExc_MemoryErrorInst) - Py_FatalError("Cannot pre-allocate MemoryError instance\n"); + Py_FatalError("Cannot pre-allocate MemoryError instance"); PyExc_RecursionErrorInst = BaseException_new(&_PyExc_RuntimeError, NULL, NULL); if (!PyExc_RecursionErrorInst) Index: Python/ast.c =================================================================== --- Python/ast.c (revision 66852) +++ Python/ast.c (working copy) @@ -189,7 +189,7 @@ default: { char buf[128]; - sprintf(buf, "Non-statement found: %d %d\n", + sprintf(buf, "Non-statement found: %d %d", TYPE(n), NCH(n)); Py_FatalError(buf); } Index: Python/compile.c =================================================================== --- Python/compile.c (revision 66852) +++ Python/compile.c (working copy) @@ -1254,7 +1254,7 @@ char buf[350]; PyOS_snprintf(buf, sizeof(buf), "unknown scope for %.100s in %.100s(%s) in %s\n" - "symbols: %s\nlocals: %s\nglobals: %s\n", + "symbols: %s\nlocals: %s\nglobals: %s", PyString_AS_STRING(name), PyString_AS_STRING(c->u->u_name), PyObject_REPR(c->u->u_ste->ste_id),