<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/library/python/runtime_py3, branch main</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=main</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2026-06-03T07:33:40Z</updated>
<entry>
<title>feat python: always compile Python libs with -O3</title>
<updated>2026-06-03T07:33:40Z</updated>
<author>
<name>antoshkka</name>
<email>antoshkka@yandex-team.com</email>
</author>
<published>2026-06-03T06:42:34Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=37780c25523e7295b8b4887fb28fbb05fbb8e37d'/>
<id>urn:sha1:37780c25523e7295b8b4887fb28fbb05fbb8e37d</id>
<content type='text'>
Many people use Python to test their C++ binaries built in Debug (that is a common case in RideTech). Debug built Python is very slow, almost noone debugs the Python interpreter itself, so this patch forces the Python to be always built with optimizations.

Tests run (3 iteratons) with -O3 compiled Python (this patch):
```
real	5m20.239s
user	17m51.171s
sys	1m38.676s

real	5m31.585s
user	17m55.240s
sys	1m38.903s

real	5m20.914s
user	17m57.854s
sys	1m39.039s
```

Same tests (2 iterations) with default Python in debug (current trunk):
```
real	13m43.975s
user	46m29.006s
sys	2m13.313s

real	13m29.301s
user	46m55.216s
sys	2m10.173s
```

For other service:
```
# This patch
real  1m24.427s
user  6m56.296s
sys  0m39.936s

real  1m12.953s
user  7m34.245s
sys  0m37.000s

real  1m14.612s
user  7m27.097s
sys  0m36.839s

# Trunk:
real  1m59.555s
user  13m40.203s
sys  0m35.482s

real  2m2.459s
user  13m50.473s
sys  0m34.215s

real  1m59.250s
user  13m34.304s
sys  0m32.218s
```

And another service:
```
# This patch
real	0m36.629s
user	0m48.045s
sys	0m2.074s

# Trunk:
real  1m56.316s
user  2m16.525s
sys  0m3.732s
```
commit_hash:9fa58184be777973e5f8c4aebc3811ca348299b6
</content>
</entry>
<entry>
<title>YQL-20347: Fix memory leak</title>
<updated>2026-04-25T07:22:10Z</updated>
<author>
<name>atarasov5</name>
<email>atarasov5@yandex-team.com</email>
</author>
<published>2026-04-25T06:49:26Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e1a7571be0fe6bcf30b7aad897281b174448b30e'/>
<id>urn:sha1:e1a7571be0fe6bcf30b7aad897281b174448b30e</id>
<content type='text'>
Описание проблемы в тикете
commit_hash:9738f25866ad42e1e6f24191fdbc64feac814c2b
</content>
</entry>
<entry>
<title>ya tool black release 8</title>
<updated>2026-03-07T08:23:51Z</updated>
<author>
<name>robot-contrib</name>
<email>robot-contrib@yandex-team.com</email>
</author>
<published>2026-03-07T07:40:11Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=9f82b4e5f93fd4526ba437d91a72b2f991c1efba'/>
<id>urn:sha1:9f82b4e5f93fd4526ba437d91a72b2f991c1efba</id>
<content type='text'>
#| || **&lt;a href="https://nda.ya.ru/t/NmXL8DSH7W8pjd" target="_blank"&gt;![](https://nda.ya.ru/t/mAiQIjHx7Mm3JC =30x) Echo tests&lt;/a&gt;** || |#
commit_hash:595f1e5ce2f0b1215088b7c8d2b79f07955f9a4b
</content>
</entry>
<entry>
<title>clean runtime_py3</title>
<updated>2026-02-11T00:11:06Z</updated>
<author>
<name>kuzmich321</name>
<email>kuzmich321@yandex-team.com</email>
</author>
<published>2026-02-10T23:45:59Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7f819b0c89c679ccc44e86c56b407dbeff61e787'/>
<id>urn:sha1:7f819b0c89c679ccc44e86c56b407dbeff61e787</id>
<content type='text'>
commit_hash:bdfd716428773db22fff8db291a2ca33d8616d95
</content>
</entry>
<entry>
<title>rm legacy code in runtime_py3</title>
<updated>2026-02-10T09:21:25Z</updated>
<author>
<name>kuzmich321</name>
<email>kuzmich321@yandex-team.com</email>
</author>
<published>2026-02-10T08:14:05Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=80024707359671945cd036aa5249fefb5b6a09f2'/>
<id>urn:sha1:80024707359671945cd036aa5249fefb5b6a09f2</id>
<content type='text'>
commit_hash:2302b8301d7162e3aad97f392fa39762683aca72
</content>
</entry>
<entry>
<title>Prefer guidance file when searching for repo root in ext-py</title>
<updated>2026-02-09T06:48:10Z</updated>
<author>
<name>alevitskii</name>
<email>alevitskii@yandex-team.com</email>
</author>
<published>2026-02-09T06:22:11Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=66f7efe2b8b20bbd9f761c259f6023ef3e18ba12'/>
<id>urn:sha1:66f7efe2b8b20bbd9f761c259f6023ef3e18ba12</id>
<content type='text'>
commit_hash:9c636406274e7aaae314e8d32be5863fdd2944fd
</content>
</entry>
<entry>
<title>Import Python 3.13.11</title>
<updated>2026-02-03T19:28:51Z</updated>
<author>
<name>shadchin</name>
<email>shadchin@yandex-team.com</email>
</author>
<published>2026-02-03T18:59:07Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=bce46f28de392862d5c6c3b185d844ee7c623be3'/>
<id>urn:sha1:bce46f28de392862d5c6c3b185d844ee7c623be3</id>
<content type='text'>
commit_hash:bbb53cefb159aa3e7afaa475fd19d5a03b66945f
</content>
</entry>
<entry>
<title>Fix `USE_PYTHON3_PREV` v.2</title>
<updated>2026-01-23T03:19:39Z</updated>
<author>
<name>shadchin</name>
<email>shadchin@yandex-team.com</email>
</author>
<published>2026-01-23T03:04:06Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=daf5ec5586652231fbff6672d434a2eaafcc63ac'/>
<id>urn:sha1:daf5ec5586652231fbff6672d434a2eaafcc63ac</id>
<content type='text'>
commit_hash:580fc5bd507b881b93b57abb14e0a304ca179973
</content>
</entry>
<entry>
<title>Rework our machinery for `importlib.resources`</title>
<updated>2026-01-20T04:32:54Z</updated>
<author>
<name>shadchin</name>
<email>shadchin@yandex-team.com</email>
</author>
<published>2026-01-20T04:14:57Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=ceac195a892eec61403ec3d2f3a4e7f4550c90e2'/>
<id>urn:sha1:ceac195a892eec61403ec3d2f3a4e7f4550c90e2</id>
<content type='text'>
commit_hash:952ba013b771d9c6cb949cf43125956ad5cdfd58
</content>
</entry>
<entry>
<title>Get rid of `BuiltinSubmoduleImporter`</title>
<updated>2026-01-14T07:28:28Z</updated>
<author>
<name>shadchin</name>
<email>shadchin@yandex-team.com</email>
</author>
<published>2026-01-14T07:09:33Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b4e522a4f793ab665c2b57a160fd9cc134bdfdb9'/>
<id>urn:sha1:b4e522a4f793ab665c2b57a160fd9cc134bdfdb9</id>
<content type='text'>
Для современных Python 3 нет никакой разницы между `BuiltinImporter` и `BuiltinSubmoduleImporter` (наша переопределённая копия `BuiltinImporter`), мы только добавляем лишнюю сложность, потому предлагаю удалить `BuiltinSubmoduleImporter` как больше не нужную сущность.
commit_hash:93663cc0cedd41d931a92c407b9966d580d42dd7
</content>
</entry>
</feed>
