Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:agraul:bundle-benchmarks
saltbundlepy
call-startup-script-always.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File call-startup-script-always.patch of Package saltbundlepy
diff -urN a/Modules/main.c b/Modules/main.c --- a/Modules/main.c 2021-06-28 11:26:18.000000000 +0300 +++ b/Modules/main.c 2022-02-04 14:04:39.423792680 +0300 @@ -491,10 +491,6 @@ Py_InspectFlag = 0; /* do exit on SystemExit */ int exitcode; - if (pymain_run_startup(config, cf, &exitcode)) { - return exitcode; - } - if (pymain_run_interactive_hook(&exitcode)) { return exitcode; } @@ -585,6 +581,10 @@ pymain_header(config); pymain_import_readline(config); + if (pymain_run_startup(config, &cf, exitcode)) { + return; + } + if (config->run_command) { *exitcode = pymain_run_command(config->run_command, &cf); } diff -urN a/Python/initconfig.c b/Python/initconfig.c --- a/Python/initconfig.c 2021-06-28 11:26:18.000000000 +0300 +++ b/Python/initconfig.c 2022-02-04 14:13:00.441244654 +0300 @@ -108,7 +108,7 @@ - : program read from stdin (default; interactive mode if a tty)\n\ arg ...: arguments passed to program in sys.argv[1:]\n\n\ Other environment variables:\n\ -PYTHONSTARTUP: file executed on interactive startup (no default)\n\ +PYTHONSTARTUP: file executed on Python startup\n\ PYTHONPATH : '%lc'-separated list of directories prefixed to the\n\ default module search path. The result is sys.path.\n\ ";
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor