Skip to content

bpo-40939: Remove some extra references to PYTHONOLDPARSER #20815

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Programs/_testembed.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,6 @@ static int test_init_from_config(void)

config.install_signal_handlers = 0;

putenv("PYTHONOLDPARSER=1");

/* FIXME: test use_environment */

putenv("PYTHONHASHSEED=42");
Expand Down Expand Up @@ -673,7 +671,6 @@ static void set_most_env_vars(void)
putenv("PYTHONNOUSERSITE=1");
putenv("PYTHONFAULTHANDLER=1");
putenv("PYTHONIOENCODING=iso8859-1:replace");
putenv("PYTHONOLDPARSER=1");
putenv("PYTHONPLATLIBDIR=env_platlibdir");
}

Expand Down
3 changes: 1 addition & 2 deletions Tools/scripts/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ def main(regrtest_args):
'-u', # Unbuffered stdout and stderr
'-W', 'default', # Warnings set to 'default'
'-bb', # Warnings about bytes/bytearray
'-E', # Ignore environment variables
]
if 'PYTHONOLDPARSER' not in os.environ:
args.append('-E') # Ignore environment variables

# Allow user-specified interpreter options to override our defaults.
args.extend(test.support.args_from_interpreter_flags())
Expand Down