TGViewer
Channel Public Channel
CPython notes

CPython notes

@cpython_notes

Author: Kirill Podoprigora aka @backinblacknext
Subscribers
2.39K
Photos
11
Videos
0
Links
95
Recent Posts 20 shown
Post #113 1.06K
Post #112 1.32K
https://peps.python.org/pep-0828/
Был принят.

Теперь можно будет делать так
async def agenerator():
yield 1
yield 2
return 3

async def main():
result = yield from agenerator()
assert result == 3
Python Enhancement Proposals (PEPs) PEP 828 – Supporting ‘yield from’ in asynchronous generators | peps.python.org This PEP introduces support for yield from in an asynchronous generator function:
  • ❤ 15
  • 😱 10
  • 🍌 8
  • 👍 5
  • 👌 4
Post #108 3.42K
Post #107 3.76K
CPython notes https://discuss.python.org/t/an-announcement-from-the-steering-council-regarding-the-jit-project/107638 Коротко: Если ребята работающие над джитом не предоставят предельно ясный PEP с дальнейшими планами проекта, JIT будет удален из языка. ссылку украл у Никиты…
https://peps.python.org/pep-0836/
Продолжение.
Python Enhancement Proposals (PEPs) PEP 836 – JIT Go Brrr: The Path to a Supported JIT Compiler for CPython | peps.python.org The 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...
  • 🔥 8
  • 🍌 6
  • 🙈 2
  • 🫡 2
  • 🌭 1
Post #106 4.28K
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.org 2026 Python Core Dev Sprint at OpenAI OpenAI 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.…
  • 😁 41
  • 🤯 9
  • 🥰 4
  • 🔥 2
  • 🍌 2
Post #105 4.36K
Post #104 4.45K
Инкрементальный GC для 3.14 & 3.15 полностью откатывают.
Вот такой вам инсайд.
Конечно, связано с проблемами с производительностью.
  • 😢 42
  • 😱 17
  • 😁 9
  • 🤯 4
  • 👍 1
Post #103 4.26K
Post #101 4.44K
Тут на днях начали хайпиться проекты от одного автора, например turboapi который заявляет что он быстрее чем fastapi в 22 раза.
Уж очень интересно стало как этого достигли.
Коротко: все бенчи полный AI-slop.
Анализ: https://eclips4.github.io/slopsource.html
  • 😁 63
  • 🍌 4
  • 🤡 2
  • ❤ 1
  • 🥴 1
Post #98 4.17K
Post #97 5.63K
Post #96 4.34K
PyPy... умирает?
Для тех кто не знает PyPy является одной из реализаций Python, прямой аналог CPython, при чем с крутым джитом.
Один из мейнтейнеров PyPy предложил numpy дропнуть поддержку для PyPy со словами "PyPy is no longer under active development": https://github.com/numpy/numpy/issues/30416
Печальная новость для всего Python сообщества.

За ссылку спасибо @serjflint
GitHub MAINT: drop support for PyPy · Issue #30416 · numpy/numpy PyPy 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...
  • 😭 42
  • 😢 12
  • 🤯 7
  • 🕊 2
  • ❤ 1
Post #95 6.27K
Кто-то говорит что киллер-фича 3.15 это lazy imports. Nah, not even close.

Реальная киллер-фича 3.15 это встроенный статистический профилировщик Tachyon.
Корокто: вы можете запустить его на проде, и ваше приложение (которое вы профилируете) никак не пострадает по перфомансу.

> Есть wall-clock/cpu режимы
> async-aware (Господи, наконец-то). При чем умеет отображать как те корутины что прямо сейчас жрут CPU, так и те которые ждут IO/лока, и так далее
> Умеет в native stack (удивительно)
> GC-aware
> GIL-aware
> Умеет сэмплировать все треды, а не только текущий
  • 🔥 101
  • 🤯 12
  • 👍 7
  • 👀 2
  • ❤ 1
Older posts →

About this channel

How can I read @cpython_notes without a Telegram account?
TGViewer shows the public web preview Telegram publishes for CPython notes: recent posts, photos, videos and the subscriber count, with no app, login or account.
How many subscribers does CPython notes have?
CPython notes (@cpython_notes) has 2.39K subscribers on Telegram, refreshed roughly every 30 minutes.
Does CPython notes know I viewed it here?
No. Public channel previews carry no viewer identity, and TGViewer has no accounts or tracking of what you look up.
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →