Mercurial > vim
comparison src/errors.h @ 27581:78e3b38b0d33 v8.2.4317
patch 8.2.4317: MS-Windows: Vim exits when Python 3 initialisation fails
Commit: https://github.com/vim/vim/commit/63ff72aab91679725077eab5c5405267792268bd
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 7 13:54:01 2022 +0000
patch 8.2.4317: MS-Windows: Vim exits when Python 3 initialisation fails
Problem: MS-Windows: Vim exits when Python 3 initialisation fails.
Solution: Hook into the exit() function to recover from the failure.
(Ken Takata, closes #9710)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 07 Feb 2022 15:00:04 +0100 |
parents | 92fe6aca4907 |
children | d504745607bc |
comparison
equal
deleted
inserted
replaced
27580:bd5169e86dc5 | 27581:78e3b38b0d33 |
---|---|
3222 EXTERN char e_autoload_import_cannot_use_absolute_or_relative_path[] | 3222 EXTERN char e_autoload_import_cannot_use_absolute_or_relative_path[] |
3223 INIT(= N_("E1264: Autoload import cannot use absolute or relative path: %s")); | 3223 INIT(= N_("E1264: Autoload import cannot use absolute or relative path: %s")); |
3224 EXTERN char e_cannot_use_partial_here[] | 3224 EXTERN char e_cannot_use_partial_here[] |
3225 INIT(= N_("E1265: Cannot use a partial here")); | 3225 INIT(= N_("E1265: Cannot use a partial here")); |
3226 #endif | 3226 #endif |
3227 #if defined(FEAT_PYTHON3) && defined(MSWIN) | |
3228 EXTERN char e_critical_error_in_python3_initialization_check_your_installation[] | |
3229 INIT(= N_("E1266: Critical error in python3 initialization, check your python3 installation")); | |
3230 #endif |