bpo-36763: Make _PyCoreConfig.check_hash_pycs_mode public (GH-13052)

_PyCoreConfig: Rename _check_hash_pycs_mode field to
check_hash_pycs_mode (make it public) and change its type from "const
char*" to "wchar_t*".
This commit is contained in:
Victor Stinner 2019-05-01 23:51:56 -04:00 committed by GitHub
parent 11e4a941e9
commit cb9fbd3588
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 17 deletions

View file

@ -495,7 +495,7 @@ static int test_init_from_config(void)
Py_NoUserSiteDirectory = 0;
config.user_site_directory = 0;
config._check_hash_pycs_mode = "always";
config.check_hash_pycs_mode = L"always";
Py_FrozenFlag = 0;
config._frozen = 1;