File tree 1 file changed +0
-18
lines changed
1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -922,23 +922,6 @@ _PyConfig_InitPathConfig(PyConfig *config, int compute_path_config)
922
922
}
923
923
Py_DECREF (r );
924
924
925
- #if 0
926
- PyObject * it = PyObject_GetIter (configDict );
927
- for (PyObject * k = PyIter_Next (it ); k ; k = PyIter_Next (it )) {
928
- if (!strcmp ("__builtins__" , PyUnicode_AsUTF8 (k ))) {
929
- Py_DECREF (k );
930
- continue ;
931
- }
932
- fprintf (stderr , "%s = " , PyUnicode_AsUTF8 (k ));
933
- PyObject * o = PyDict_GetItem (configDict , k );
934
- o = PyObject_Repr (o );
935
- fprintf (stderr , "%s\n" , PyUnicode_AsUTF8 (o ));
936
- Py_DECREF (o );
937
- Py_DECREF (k );
938
- }
939
- Py_DECREF (it );
940
- #endif
941
-
942
925
if (_PyConfig_FromDict (config , configDict ) < 0 ) {
943
926
_PyErr_WriteUnraisableMsg ("reading getpath results" , NULL );
944
927
Py_DECREF (dict );
@@ -949,4 +932,3 @@ _PyConfig_InitPathConfig(PyConfig *config, int compute_path_config)
949
932
950
933
return _PyStatus_OK ();
951
934
}
952
-
You can’t perform that action at this time.
0 commit comments