<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/contrib/tools/python3/patches, 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-11T11:40:15Z</updated>
<entry>
<title>Intermediate changes</title>
<updated>2026-06-11T11:40:15Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2026-06-11T10:38:17Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=4b34cf70fa349d24240b2ef9691bf86866e86c4e'/>
<id>urn:sha1:4b34cf70fa349d24240b2ef9691bf86866e86c4e</id>
<content type='text'>
commit_hash:e81750c1bdcb2ce3baeb77a0b77bff41af9e38d4
</content>
</entry>
<entry>
<title>Reducing number of `lstat` calls</title>
<updated>2026-06-09T22:02:10Z</updated>
<author>
<name>shadchin</name>
<email>shadchin@yandex-team.com</email>
</author>
<published>2026-06-09T21:42:53Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b8866ed8dcfa962d05b2caeaccb660173086c621'/>
<id>urn:sha1:b8866ed8dcfa962d05b2caeaccb660173086c621</id>
<content type='text'>
commit_hash:fd5d126cda63b34250bf5e76f2d4e16b91756d16
</content>
</entry>
<entry>
<title>Replace deprecated `Py_UNICODE` with `wchar_t` for Python 3.13 compatibility</title>
<updated>2026-04-18T11:17:59Z</updated>
<author>
<name>shadchin</name>
<email>shadchin@yandex-team.com</email>
</author>
<published>2026-04-18T11:00:44Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=4a00142fd68301f609820e09c29de197006d6854'/>
<id>urn:sha1:4a00142fd68301f609820e09c29de197006d6854</id>
<content type='text'>
Since `Py_UNICODE` is just a typedef for `wchar_t` in Python 3, replace it with `wchar_t` in Cython typedefs, C++ headers, and stringlib macros. Python 2 code paths retain `Py_UNICODE` via #if guards.
commit_hash:7bed62e2231a8fde3adc6317e8a41dd060895e24
</content>
</entry>
<entry>
<title>Rework `pyconfig.h`</title>
<updated>2026-04-11T18:12:23Z</updated>
<author>
<name>shadchin</name>
<email>shadchin@yandex-team.com</email>
</author>
<published>2026-04-11T17:54:24Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=467f8e26f672fa7ddf8c1f74f495c376e36d302d'/>
<id>urn:sha1:467f8e26f672fa7ddf8c1f74f495c376e36d302d</id>
<content type='text'>
commit_hash:826de8ce55126c9f2a15bb1dcdd1227e0e069615
</content>
</entry>
<entry>
<title>Prefer CA bundle set by SSL_CERT_FILE and SSL_CERT_DIR (common part)</title>
<updated>2026-03-11T04:51:34Z</updated>
<author>
<name>Konstantin Khlebnikov</name>
<email>khlebnikov@nebius.com</email>
</author>
<published>2026-03-11T04:05:54Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=30e75adce65edfaf782ffdaf713dd0931e58fc83'/>
<id>urn:sha1:30e75adce65edfaf782ffdaf713dd0931e58fc83</id>
<content type='text'>
- **library/cpp/openssl: prefer CA set by SSL_CERT_FILE and SSL_CERT_DIR**
- **contrib/tools/python3: prefer CA set by SSL_CERT_FILE and SSL_CERT_DIR**
- **library/python/certifi: prefer CA set by SSL_CERT_FILE and SSL_CERT_DIR**

First three commits from PR #1607 to change common part separately.

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1635

Co-authored-by: shadchin &lt;shadchin@yandex-team.com&gt;
Co-authored-by: shadchin &lt;shadchin@yandex-team.com&gt;
commit_hash:21db0cd5fe3b4af267dcf5ec4d2753fbdd49ba1e
</content>
</entry>
<entry>
<title>Fix REPL for Mac</title>
<updated>2026-03-10T18:31:54Z</updated>
<author>
<name>shadchin</name>
<email>shadchin@yandex-team.com</email>
</author>
<published>2026-03-10T17:57:41Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=d8a2d08497720aed56bf6c33e3a19f13b33bb69f'/>
<id>urn:sha1:d8a2d08497720aed56bf6c33e3a19f13b33bb69f</id>
<content type='text'>
commit_hash:16d75ec7f9fd46d5373a5abb04feb9b63939bf49
</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>Switch Python 3 on contrib/libs/blake2</title>
<updated>2026-01-22T05:53:12Z</updated>
<author>
<name>shadchin</name>
<email>shadchin@yandex-team.com</email>
</author>
<published>2026-01-22T05:29:44Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=1d7bb883c2ff9b622bfa29f1de93fde43e06906e'/>
<id>urn:sha1:1d7bb883c2ff9b622bfa29f1de93fde43e06906e</id>
<content type='text'>
commit_hash:71d95ae6feb5796edc36f16859e57cf07a56a184
</content>
</entry>
<entry>
<title>Fix `__name__` for builtin modules</title>
<updated>2026-01-14T17:30:18Z</updated>
<author>
<name>shadchin</name>
<email>shadchin@yandex-team.com</email>
</author>
<published>2026-01-14T16:52:47Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=078fd8aa66d488d1339cb64a5a3918e786b4baae'/>
<id>urn:sha1:078fd8aa66d488d1339cb64a5a3918e786b4baae</id>
<content type='text'>
Такой же подход есть у загрузки so-расширений, но для builtin его из коробки нет, так как builtin в upstream используется только для стандартной библиотеки, а там нет подпакетов, там только модули и у них нет проблемы с именем.

До патча:
```ipython
In [1]: import osgeo._gdal

In [2]: osgeo._gdal.__name__
Out[2]: '_gdal'  # &lt;- Потерялось имя пакета, должно быть `osgeo._gdal`
```

После патча:
```ipython
In [1]: import osgeo._gdal

In [2]: osgeo._gdal.__name__
Out[2]: 'osgeo._gdal'
```
commit_hash:fee95110a58cae8395a46598bf8f0b80e42b029a
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2026-01-05T19:19:20Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2026-01-05T19:08:54Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=91148a220fd0ce6c0a05c8cbfc8964f9c0252d6f'/>
<id>urn:sha1:91148a220fd0ce6c0a05c8cbfc8964f9c0252d6f</id>
<content type='text'>
commit_hash:1a43bcb7f55bea5bd087ad537be5880e0301a09b
</content>
</entry>
</feed>
