File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 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)
922922 }
923923 Py_DECREF (r );
924924
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-
942925 if (_PyConfig_FromDict (config , configDict ) < 0 ) {
943926 _PyErr_WriteUnraisableMsg ("reading getpath results" , NULL );
944927 Py_DECREF (dict );
@@ -949,4 +932,3 @@ _PyConfig_InitPathConfig(PyConfig *config, int compute_path_config)
949932
950933 return _PyStatus_OK ();
951934}
952-
You can’t perform that action at this time.
0 commit comments