From 3c30a76f3d3c0dcc1fb4de097fa4a3a4c92c0b0b Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 1 Oct 2019 10:56:37 +0200 Subject: bpo-38304: Remove PyConfig.struct_size (GH-16500) (GH-16508) For now, we'll rely on the fact that the config structures aren't covered by the stable ABI. We may revisit this in the future if we further explore the idea of offering a stable embedding API. (cherry picked from commit bdace21b769998396d0ccc8da99a8ca9b507bfdf) --- Python/pathconfig.c | 1 - 1 file changed, 1 deletion(-) (limited to 'Python/pathconfig.c') diff --git a/Python/pathconfig.c b/Python/pathconfig.c index 6886ab7c42d..5550194a5d5 100644 --- a/Python/pathconfig.c +++ b/Python/pathconfig.c @@ -434,7 +434,6 @@ pathconfig_global_read(_PyPathConfig *pathconfig) { PyStatus status; PyConfig config; - config.struct_size = sizeof(PyConfig); status = _PyConfig_InitCompatConfig(&config); if (_PyStatus_EXCEPTION(status)) { -- cgit v1.2.3