Последние посты
CPython notes
8 сент., 17:00
https://discuss.python.org/t/docstrings-for-type-aliases/108901 По моему мнению адекватная замена typing.Doc, и в целом по дизайну совпадает с остальными фичами языка.Discussions on Python.orgDocstrings for type aliasesHi! I propose preserving a string literal immediately following a type statement as the resulting alias object’s __doc__ attribute, with support in pydoc to display it in help(), and making that docstring retrievable from ast.TypeAlias. type Timeout = float…CPython notes
7 сент., 06:48
https://peps.python.org/pep-0828/ Был принят.Теперь можно будет делать так async def agenerator(): yield 1 yield 2 return 3async def main(): result = yield from agenerator() assert result == 3Python Enhancement Proposals (PEPs)PEP 828 – Supporting ‘yield from’ in asynchronous generators | peps.python.orgThis PEP introduces support for yield from in an asynchronous generator function:CPython notes
23 авг., 07:56
https://blog.python.org/2026/08/the-python-documentation-is-now-available-in-russian/ Внезапно. Если честно вообще первый раз про это слышуPython InsiderThe Python documentation is now available in Russian! | Python InsiderThe official blog of the Python core development team.CPython notes
20 авг., 15:40
https://github.com/python/peps/pull/5101 Я бы сказал пушка. За ссылку спасибо @miryanovsnGitHubPEP 805: Safe Parallel Python by markshannon · Pull Request #5101 · python/pepsBasic requirements (all PEP Types) Read and followed PEP 1 & PEP 12 File created from the latest PEP template PEP has next available number, & set in filename (pep-NNNN.rst), PR...CPython notes
14 авг., 13:16
Никита Соболев aka автор @opensource_findings собрал папку с русскоязычными сообществами по Питону — забирайте, много полезного: https://t.me/addlist/o2_hXmp5nSUyODNiTelegramPythonНикита Соболев invites you to add the folder “Python”, which includes 13 chats.CPython notes
5 авг., 13:05
https://peps.python.org/pep-0797/ был отклонен руководящим советом.Python Enhancement Proposals (PEPs)PEP 797 – Shared Object Proxies | peps.python.orgThis PEP introduces a new SharedObjectProxy() type to the concurrent.interpreters module, which allows any arbitrary object to be shared across interpreters using an object proxy, at the cost of being less efficient to concurrently access across multipl...CPython notes
14 июл., 15:55
https://discuss.python.org/t/an-announcement-from-the-steering-council-regarding-the-jit-project/107638 Коротко: Если ребята работающие над джитом не предоставят предельно ясный PEP с дальнейшими планами проекта, JIT будет удален из языка. ссылку украл у НикитыPython Enhancement Proposals (PEPs)PEP 836 – JIT Go Brrr: The Path to a Supported JIT Compiler for CPython | peps.python.orgThe experimental Just-in-Time (JIT) compiler has been part of CPython’s main branch since Python 3.13. PEP 744 described part of its initial design and explicitly deferred a number of questions about the JIT’s long-term status. Since then, the JIT has b...CPython notes
21 июн., 12:28
https://discuss.python.org/t/2026-python-core-dev-sprint-at-openai/106928/13 Полу-драмма происходит на наших глазах. Каждый год осенью происходит Core sprint для участников команды CPython. В этом году его отважились хостить OpenAI. 57 участников подали заявку, а мест то оказалось всего 40. OpenAI не могут пожертвовать денег на дополнительное помещение на недостающие 17 лиц.Поражает.Discussions on Python.org2026 Python Core Dev Sprint at OpenAIOpenAI is excited to host the 2026 Python Core Dev Sprint at our offices in San Francisco! We have a few different dates available. If you are a core developer who is interested in sprinting with us, please select all of the weeks below that work for you.…CPython notes
5 июн., 13:31изменён
https://discuss.python.org/t/an-announcement-from-the-steering-council-regarding-the-jit-project/107638 Коротко: Если ребята работающие над джитом не предоставят предельно ясный PEP с дальнейшими планами проекта, JIT будет удален из языка. ссылку украл у Никиты СоболеваDiscussions on Python.orgAn announcement from the Steering Council regarding the JIT projectWe would like to take a moment to talk about the experimental just-in-time compiler in CPython, and the path we think it should take from here. Over the past several years, several core developers and contributors have been building a JIT compiler in the…CPython notes
16 апр., 07:22
Инкрементальный GC для 3.14 & 3.15 полностью откатывают. Вот такой вам инсайд. Конечно, связано с проблемами с производительностью.CPython notes
8 апр., 08:12изменён
https://discuss.python.org/t/rust-for-cpython-progress-update-april-2026/106895и туда же: https://blog.python.org/2026/04/rust-for-cpython-2026-04/Discussions on Python.orgRust for CPython Progress Update April 2026To head off unfocused discussion, I ask that folks refrain from making this thread a discussion about whether or not Rust should be introduced into CPython. There will be a PEP thread for that later this year! We (the Rust for CPython community) wanted…CPython notes
1 апр., 14:54
https://github.com/youknowone/pyre И да, это не первоапрельская шутка.GitHubGitHub - youknowone/pyre: PyRe will be a very fast and compliant implementation of the Python language.PyRe will be a very fast and compliant implementation of the Python language. - youknowone/pyreCPython notes
21 мар., 12:30
Тут на днях начали хайпиться проекты от одного автора, например turboapi который заявляет что он быстрее чем fastapi в 22 раза. Уж очень интересно стало как этого достигли. Коротко: все бенчи полный AI-slop. Анализ: https://eclips4.github.io/slopsource.htmlCPython notes
19 мар., 13:27
https://openai.com/index/openai-to-acquire-astral/ & https://astral.sh/blog/openai Это не связано с CPython напрямую, но новость таки прецедентная.OpenAIOpenAI to acquire AstralAccelerates Codex growth to power the next generation of Python developer toolsCPython notes
2 мар., 14:18изменён
https://peps.python.org/pep-0827/For the link thanks to @lucabaggiPython Enhancement Proposals (PEPs)PEP 827 – Type Manipulation | peps.python.orgWe propose adding powerful type-level introspection and construction facilities to Python’s type system. This design is inspired largely by TypeScript’s conditional and mapped types, but is adapted to the distinct semantics and constraints of Python’s t...CPython notes
16 февр., 08:59
https://www.youtube.com/watch?v=B4XrghSsUhQ Вышел подкаст от коллег по цеху! Советую посмотреть, дельные вещи говорятYouTubeAdaptix vs Pydantic: или почему код на Python может работать быстро? / Python Mentor Podcast #3*** 💡Ламповое комьюнити питонистов в Telegram: https://t.me/pymentor ✒️ Собесы, интервью, подкасты: https://www.youtube.com/@pymentor_by/playlists 📡 Записаться на тестовый (мок) собес: https://t.ly/lXoVH ✉️ Связь с автором канала - python.mentor.by@gmail.com…CPython notes
12 февр., 13:53
https://discuss.python.org/t/pep-814-add-frozendict-built-in-type/104854/121 frozendict (аналог frozenset но для словаря) принят, будет реализован в 3.15.Discussions on Python.orgPEP 814: Add frozendict built-in typeI’d really like to see finally a frozendict implemented in the stdlib. It will be a dream finally come true. But maybe my dreams are too nerdy… @csm10495 quoted a frozendict package on PyPI. I took a quick look and this library claims it’s faster than dict.…CPython notes
28 янв., 10:26
PyPy... умирает? Для тех кто не знает PyPy является одной из реализаций Python, прямой аналог CPython, при чем с крутым джитом. Один из мейнтейнеров PyPy предложил numpy дропнуть поддержку для PyPy со словами "PyPy is no longer under active development": https://github.com/numpy/numpy/issues/30416 Печальная новость для всего Python сообщества.За ссылку спасибо @serjflintGitHubMAINT: drop support for PyPy · Issue #30416 · numpy/numpyPyPy is no longer under active development, and has not released a Python3.12 version. Other than the submodule pythoncapi_compat.h, we maintain code that checks IS_PYPY implementation-specific det...CPython notes
9 дек. 2025 г., 21:41
Кто-то говорит что киллер-фича 3.15 это lazy imports. Nah, not even close.Реальная киллер-фича 3.15 это встроенный статистический профилировщик Tachyon. Корокто: вы можете запустить его на проде, и ваше приложение (которое вы профилируете) никак не пострадает по перфомансу.> Есть wall-clock/cpu режимы > async-aware (Господи, наконец-то). При чем умеет отображать как те корутины что прямо сейчас жрут CPU, так и те которые ждут IO/лока, и так далее > Умеет в native stack (удивительно) > GC-aware > GIL-aware > Умеет сэмплировать все треды, а не только текущийCPython notes
2 дек. 2025 г., 12:53
https://py-code.org/stats Крутая статистика по PyPI пакетамpy-code.orgPyPI DataPyPI code explorable on Github