We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50afb6d commit d664496Copy full SHA for d664496
Python/initconfig.c
@@ -3193,15 +3193,7 @@ PyStatus
3193
_PyInterpreterConfig_Copy(_PyInterpreterConfig *config,
3194
const _PyInterpreterConfig *config2)
3195
{
3196
- _PyInterpreterConfig_Clear(config);
3197
-
3198
-#define COPY_ATTR(ATTR) config->ATTR = config2->ATTR
3199
3200
- COPY_ATTR(allow_fork);
3201
- COPY_ATTR(allow_subprocess);
3202
- COPY_ATTR(allow_threading);
3203
3204
-#undef COPY_ATTR
+ *config = *config2;
3205
3206
return _PyStatus_OK();
3207
}
0 commit comments