diff --git a/pyembed/src/config.rs b/pyembed/src/config.rs index 1203a60fe..600263050 100644 --- a/pyembed/src/config.rs +++ b/pyembed/src/config.rs @@ -680,13 +680,13 @@ impl<'a> From> for OxidizedPythonInterpreterConfig<'a> { }), site_import: Some(config.import_site), user_site_directory: Some(config.import_user_site), - use_environment: Some(!config.ignore_python_env), + use_environment: Some(config.ignore_python_env), inspect: Some(config.inspect), interactive: Some(config.interactive), legacy_windows_fs_encoding: Some(config.legacy_windows_stdio), legacy_windows_stdio: Some(config.legacy_windows_stdio), write_bytecode: Some(config.write_bytecode), - buffered_stdio: Some(!config.unbuffered_stdio), + buffered_stdio: Some(config.unbuffered_stdio), parser_debug: Some(config.parser_debug), quiet: Some(config.quiet), verbose: Some(config.verbose != 0),