Thanks to visit codestin.com Credit goes to github.com
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 0ea395a commit e23c06eCopy full SHA for e23c06e
1 file changed
Modules/main.c
@@ -894,7 +894,7 @@ config_get_program_name(_PyMainInterpreterConfig *config)
894
return SET_DECODE_ERROR("PYTHONEXECUTABLE environment "
895
"variable", len);
896
}
897
- pymain->config.program_name = buffer;
+ config->program_name = program_name;
898
899
#ifdef WITH_NEXT_FRAMEWORK
900
else {
@@ -909,7 +909,7 @@ config_get_program_name(_PyMainInterpreterConfig *config)
909
return SET_DECODE_ERROR("__PYVENV_LAUNCHER__ environment "
910
911
912
- pymain->config.program_name = program_name;
913
914
915
#endif /* WITH_NEXT_FRAMEWORK */
0 commit comments