File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 208208 <ClCompile Include =" ..\Python\hashtable.c" />
209209 <ClCompile Include =" ..\Python\import.c" />
210210 <ClCompile Include =" ..\Python\importdl.c" />
211+ <ClCompile Include =" ..\Python\immutability.c" />
211212 <ClCompile Include =" ..\Python\initconfig.c" />
212213 <ClCompile Include =" ..\Python\intrinsics.c" />
213214 <ClCompile Include =" ..\Python\instrumentation.c" />
Original file line number Diff line number Diff line change 208208 <ClCompile Include =" ..\Python\importdl.c" >
209209 <Filter >Source Files</Filter >
210210 </ClCompile >
211+ <CLCompile Include =" ..\Python\immutability.c" >
212+ <Filter >Source Files</Filter >
213+ </CLCompile >
211214 <ClCompile Include =" ..\Python\initconfig.c" >
212215 <Filter >Source Files</Filter >
213216 </ClCompile >
Original file line number Diff line number Diff line change @@ -454,12 +454,12 @@ bool _Py_GlobalsImmutable_Check()
454454
455455 main = PyInterpreterState_Main ();
456456 if (main == NULL ){
457- return NULL ;
457+ return false ;
458458 }
459459
460460 main_dict = PyInterpreterState_GetDict (main );
461461 if (main_dict == NULL ){
462- return NULL ;
462+ return false ;
463463 }
464464
465465 flag = PyDict_GetItemString (main_dict , "__globals_immutable__" );
You can’t perform that action at this time.
0 commit comments