diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-10-01 08:56:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-01 08:56:37 (GMT) |
commit | 3c30a76f3d3c0dcc1fb4de097fa4a3a4c92c0b0b (patch) | |
tree | bb73b56814d30967e67cc61eb8b66cab83477c3a /Programs/_freeze_importlib.c | |
parent | 94e165096fd65e8237e60de570fb609604ab94c9 (diff) | |
download | cpython-3c30a76f3d3c0dcc1fb4de097fa4a3a4c92c0b0b.zip cpython-3c30a76f3d3c0dcc1fb4de097fa4a3a4c92c0b0b.tar.gz cpython-3c30a76f3d3c0dcc1fb4de097fa4a3a4c92c0b0b.tar.bz2 |
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)
Diffstat (limited to 'Programs/_freeze_importlib.c')
-rw-r--r-- | Programs/_freeze_importlib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Programs/_freeze_importlib.c b/Programs/_freeze_importlib.c index 7c494c2..74735f2 100644 --- a/Programs/_freeze_importlib.c +++ b/Programs/_freeze_importlib.c @@ -78,7 +78,6 @@ main(int argc, char *argv[]) PyStatus status; PyConfig config; - config.struct_size = sizeof(PyConfig); status = PyConfig_InitIsolatedConfig(&config); if (PyStatus_Exception(status)) { |