diff options
author | snermolaev <snermolaev@yandex-team.com> | 2025-04-29 06:44:21 +0300 |
---|---|---|
committer | snermolaev <snermolaev@yandex-team.com> | 2025-04-29 06:57:18 +0300 |
commit | 713adc6a88be8af8a342a9a72a055b7ef6514563 (patch) | |
tree | 19dada616a0fd41ead73ad79d463a11c6cd8279d /contrib/tools/python3/Python/import.c | |
parent | 407f7c0bc156862b8263bccf3eaaf0687ba75f8d (diff) | |
download | ydb-713adc6a88be8af8a342a9a72a055b7ef6514563.tar.gz |
Subinterpretor compatible __res module (2nd attempt)
Cython is not yet subinterpreter compatible. There are no ETA when cython is going to support subinterpreters.
This PR removes cython from hermetic python imoprt hooks in order to make them subinterpretr-compatible.
commit_hash:427b6f9db6afa6695659ee147621e1ccb391d3cb
Diffstat (limited to 'contrib/tools/python3/Python/import.c')
-rw-r--r-- | contrib/tools/python3/Python/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tools/python3/Python/import.c b/contrib/tools/python3/Python/import.c index daac00593d7..1b550d0451c 100644 --- a/contrib/tools/python3/Python/import.c +++ b/contrib/tools/python3/Python/import.c @@ -2523,7 +2523,7 @@ remove_importlib_frames(PyThreadState *tstate) { const char *importlib_filename = "<frozen importlib._bootstrap>"; const char *external_filename = "<frozen importlib._bootstrap_external>"; - const char *importer_filename = "library/python/runtime_py3/importer.pxi"; + const char *importer_filename = "library/python/runtime_py3/__res.py"; const char *remove_frames = "_call_with_frames_removed"; int always_trim = 0; int in_importlib = 0; |