@@ -138,7 +138,7 @@ Py_InitializeEx(int install_sigs)
138138 PyThreadState * tstate ;
139139 PyObject * bimod , * sysmod ;
140140 char * p ;
141- char * icodeset = NULL ; /* On Windows, input codeset may theoretically
141+ char * icodeset = NULL ; /* On Windows, input codeset may theoretically
142142 differ from output codeset. */
143143 char * codeset = NULL ;
144144 char * errors = NULL ;
@@ -237,7 +237,7 @@ Py_InitializeEx(int install_sigs)
237237
238238 if (install_sigs )
239239 initsigs (); /* Signal handling stuff, including initintr() */
240-
240+
241241 /* Initialize warnings. */
242242 _PyWarnings_Init ();
243243 if (PySys_HasWarnOptions ()) {
@@ -339,7 +339,7 @@ Py_InitializeEx(int install_sigs)
339339 sys_isatty = PyObject_CallMethod (sys_stream , "isatty" , "" );
340340 if (!sys_isatty )
341341 PyErr_Clear ();
342- if ((overridden ||
342+ if ((overridden ||
343343 (sys_isatty && PyObject_IsTrue (sys_isatty ))) &&
344344 PyFile_Check (sys_stream )) {
345345 if (!PyFile_SetEncodingAndErrors (sys_stream , codeset , errors ))
@@ -351,7 +351,7 @@ Py_InitializeEx(int install_sigs)
351351 sys_isatty = PyObject_CallMethod (sys_stream , "isatty" , "" );
352352 if (!sys_isatty )
353353 PyErr_Clear ();
354- if ((overridden ||
354+ if ((overridden ||
355355 (sys_isatty && PyObject_IsTrue (sys_isatty ))) &&
356356 PyFile_Check (sys_stream )) {
357357 if (!PyFile_SetEncodingAndErrors (sys_stream , codeset , errors ))
@@ -701,7 +701,7 @@ initmain(void)
701701 if (bimod == NULL ||
702702 PyDict_SetItemString (d , "__builtins__" , bimod ) != 0 )
703703 Py_FatalError ("can't add __builtins__ to __main__" );
704- Py_DECREF (bimod );
704+ Py_XDECREF (bimod );
705705 }
706706}
707707
@@ -1297,7 +1297,7 @@ PyRun_StringFlags(const char *str, int start, PyObject *globals,
12971297 PyArena * arena = PyArena_New ();
12981298 if (arena == NULL )
12991299 return NULL ;
1300-
1300+
13011301 mod = PyParser_ASTFromString (str , "<string>" , start , flags , arena );
13021302 if (mod != NULL )
13031303 ret = run_mod (mod , "<string>" , globals , locals , flags , arena );
@@ -1314,7 +1314,7 @@ PyRun_FileExFlags(FILE *fp, const char *filename, int start, PyObject *globals,
13141314 PyArena * arena = PyArena_New ();
13151315 if (arena == NULL )
13161316 return NULL ;
1317-
1317+
13181318 mod = PyParser_ASTFromFile (fp , filename , start , 0 , 0 ,
13191319 flags , NULL , arena );
13201320 if (closeit )
@@ -1804,7 +1804,7 @@ PyOS_CheckStack(void)
18041804 alloca (PYOS_STACK_MARGIN * sizeof (void * ));
18051805 return 0 ;
18061806 } __except (GetExceptionCode () == STATUS_STACK_OVERFLOW ?
1807- EXCEPTION_EXECUTE_HANDLER :
1807+ EXCEPTION_EXECUTE_HANDLER :
18081808 EXCEPTION_CONTINUE_SEARCH ) {
18091809 int errcode = _resetstkoflw ();
18101810 if (errcode == 0 )
0 commit comments