@@ -341,43 +341,6 @@ extern void _PyInterpreterState_SetWhence(
341341
342342extern  const  PyConfig *  _PyInterpreterState_GetConfig (PyInterpreterState  * interp );
343343
344- // Get a copy of the current interpreter configuration. 
345- // 
346- // Return 0 on success. Raise an exception and return -1 on error. 
347- // 
348- // The caller must initialize 'config', using PyConfig_InitPythonConfig() 
349- // for example. 
350- // 
351- // Python must be preinitialized to call this method. 
352- // The caller must hold the GIL. 
353- // 
354- // Once done with the configuration, PyConfig_Clear() must be called to clear 
355- // it. 
356- // 
357- // Export for '_testinternalcapi' shared extension. 
358- PyAPI_FUNC (int ) _PyInterpreterState_GetConfigCopy (
359-     struct  PyConfig  * config );
360- 
361- // Set the configuration of the current interpreter. 
362- // 
363- // This function should be called during or just after the Python 
364- // initialization. 
365- // 
366- // Update the sys module with the new configuration. If the sys module was 
367- // modified directly after the Python initialization, these changes are lost. 
368- // 
369- // Some configuration like faulthandler or warnoptions can be updated in the 
370- // configuration, but don't reconfigure Python (don't enable/disable 
371- // faulthandler and don't reconfigure warnings filters). 
372- // 
373- // Return 0 on success. Raise an exception and return -1 on error. 
374- // 
375- // The configuration should come from _PyInterpreterState_GetConfigCopy(). 
376- // 
377- // Export for '_testinternalcapi' shared extension. 
378- PyAPI_FUNC (int ) _PyInterpreterState_SetConfig (
379-     const  struct  PyConfig  * config );
380- 
381344
382345/* 
383346Runtime Feature Flags 
0 commit comments