aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3
diff options
context:
space:
mode:
authorsnermolaev <snermolaev@yandex-team.com>2025-04-28 08:08:57 +0300
committersnermolaev <snermolaev@yandex-team.com>2025-04-28 08:24:11 +0300
commitcc0f6ad7adfcba201e5dfb6f8c07f1135a1eb2fc (patch)
tree3519e96310a7ecdac44e6bb37ef79d33d7105227 /contrib/tools/python3
parented66e9f1f5489aa9dfc7069e5fbeea5ba136d5be (diff)
downloadydb-cc0f6ad7adfcba201e5dfb6f8c07f1135a1eb2fc.tar.gz
Fix import datetime for subinterpreters
_pydatetime module should be imported when working in subinterpreters mode since _datetime module is not yet ready for subinterpreters (contrib/tools/python3/Lib/datetime.py), but we get **Warn: ModuleNotFoundError: No module named '_pydatetime'**. commit_hash:4c3ebf1f1a231edcca1580943d1e8a1661bcfa5b
Diffstat (limited to 'contrib/tools/python3')
-rw-r--r--contrib/tools/python3/lib2/py/ya.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/tools/python3/lib2/py/ya.make b/contrib/tools/python3/lib2/py/ya.make
index 121df7cc86b..74f504ea2ba 100644
--- a/contrib/tools/python3/lib2/py/ya.make
+++ b/contrib/tools/python3/lib2/py/ya.make
@@ -51,6 +51,7 @@ PY_SRCS(
_markupbase.py
_osx_support.py
_py_abc.py
+ _pydatetime.py
_pydecimal.py
_pyio.py
_pylong.py