]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45582: Fix framework path and bootstrap build (GH-29954)
authorChristian Heimes <christian@python.org>
Tue, 7 Dec 2021 18:09:53 +0000 (20:09 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Dec 2021 18:09:53 +0000 (19:09 +0100)
commit06c4ae8b1380eec1c5f3cd8faa21102d1c940bab
tree7de8b45b260c0651dd2f6157af938bda4dde9809
parent064e53d19aea6d6906fa8f7706a2556a2c293ccd
bpo-45582: Fix framework path and bootstrap build (GH-29954)

* Check NS API return values for NULL to prevent segfault in
  ``_bootstrap_python``.
* Set modPathInitialized to 1 so the ``decode_to_dict`` path is used.

Signed-off-by: Christian Heimes <christian@python.org>
Makefile.pre.in
Modules/getpath.c