Начинается
https://github.com/python/cpython/issues/113464
Еще и стишок! https://github.com/python/cpython/pull/113465
https://github.com/python/cpython/issues/113464
Еще и стишок! https://github.com/python/cpython/pull/113465
GitHub
JIT Compilation · Issue #113464 · python/cpython
It's probably about time to start thinking seriously about just-in-time compilation. To kick things off, here's my talk from this year's sprint about "copy-and-patch", which I...
Meta* как и обещала выделила людей для реализации NoGIL, и они уже начинают свою работу:
https://github.com/python/cpython/issues/112175#issuecomment-1901015579
*Компания Meta признана экстремистской организацией и запрещена в России
https://github.com/python/cpython/issues/112175#issuecomment-1901015579
*Компания Meta признана экстремистской организацией и запрещена в России
Небольшой новый синтаксический PEP: https://peps.python.org/pep-0736/
Вообще, наверное, полезно. С каждым днём мы все больше и больше похожи на раст
Вообще, наверное, полезно. С каждым днём мы все больше и больше похожи на раст
Python Enhancement Proposals (PEPs)
PEP 736 – Shorthand syntax for keyword arguments at invocation | peps.python.org
This PEP proposes to introduce syntactic sugar f(x=) for the common pattern where a keyword argument has the same name as that of the variable corresponding to its value f(x=x).
Интересная ситуация складывается. Бывший мейнтейнер decimal'a (некоторое время назад, из-за некоторых событий он перестал коммитить в CPython) создал ишью: https://github.com/python/cpython/issues/114682
Пока не очень ясно из-за чего такая сильная регрессия, буду держать вас в курсе дела. Думаю, в случае с decimal это достаточно большая проблема
Пока не очень ясно из-за чего такая сильная регрессия, буду держать вас в курсе дела. Думаю, в случае с decimal это достаточно большая проблема
CPython notes
Начинается https://github.com/python/cpython/issues/113464 Еще и стишок! https://github.com/python/cpython/pull/113465
Смержили JIT. Не смотрите что PR закрыт, из-за бага гитхаба пр смержен, но почему-то не закрылся после мержа (ещё и в истории коммитов почему-то целых два мержа)
Пока что доступно лишь с флагом
Пока что доступно лишь с флагом
--enable-experimental-jit
при сборке интерпретатора. По моим скромным оценкам, тесты все же исполнялись чуть дольше, чем без JIT'a. Ну, по этой причине оно и находится пока что в "экспериментальном режиме". Нужно еще подождать до полной стабилизацииRelated topic про Jython и его будущее: https://github.com/python/cpython/issues/116349#issuecomment-1983401167
GitHub
Consider deprecating `platform.java_ver` because it is only helpful for Jython · Issue #116349 · python/cpython
Feature or enhancement What do you think about deprecating platform.java_ver? It is never used on CPython, it is a helper for Jython only, which is basically stuck on 2.7 for the last 10 years. I t...
Смержили новый REPL!
https://github.com/python/cpython/pull/111567
В общем-то, реализация из PyPy.
Я, так как довольно часто пользуюсь реплом, доволен.
https://github.com/python/cpython/pull/111567
В общем-то, реализация из PyPy.
Я, так как довольно часто пользуюсь реплом, доволен.
GitHub
gh-111201: A new Python REPL by pablogsal · Pull Request #111567 · python/cpython
Issue: gh-111201
PEP 649 – Отложенное вычисление аннотаций с использованием дескрипторов - отложен... 🥁
Отложен до 3.14, не успели реализовать.
(Шутка украдена у Виктора Стиннера)
Отложен до 3.14, не успели реализовать.
(Шутка украдена у Виктора Стиннера)
Вышла первая бета 3.13, соответсвенно, произошел feature-freeze для 3.13 (более не будет новых фич, только баг и секьюрити фиксы).
Так что, с этого момента начинается разработка 3.14 (aka πthon)
Так что, с этого момента начинается разработка 3.14 (aka πthon)
Чем занимается руководящий совет питона?
Ответ на скриншоте:
https://github.com/python/steering-council/blob/main/updates/2023-10-steering-council-update.md
Ответ на скриншоте:
https://github.com/python/steering-council/blob/main/updates/2023-10-steering-council-update.md
В целом.. почему нет.
https://github.com/python/cpython/pull/118644
https://github.com/python/cpython/pull/118644
GitHub
gh-106246: Allow the use of unions as match patterns by randolf-scholz · Pull Request #118644 · python/cpython
Fixes #106246
Modified version of #118525 that supports using subpatterns in unions.
Issue: gh-106246
added tests:
test_patma_union_type
test_patma_union_no_match
test_union_type_positional_su...
Modified version of #118525 that supports using subpatterns in unions.
Issue: gh-106246
added tests:
test_patma_union_type
test_patma_union_no_match
test_union_type_positional_su...
CPython notes
Вышла первая бета 3.13, соответсвенно, произошел feature-freeze для 3.13 (более не будет новых фич, только баг и секьюрити фиксы). Так что, с этого момента начинается разработка 3.14 (aka πthon)
GitHub
Support `pythonπ` in Python 3.14 venv's · Issue #119535 · python/cpython
Feature or enhancement Proposal: λ env/bin/pythonπ Python 3.14.0a0 (heads/main-dirty:de19694cfb, May 24 2024, 23:13:56) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin Type "help", "copy...
если вам нечего делать можете почитать
https://github.com/python/cpython/issues/111933
https://github.com/python/cpython/issues/111933
GitHub
broken link to A.Neumaier article in built-in sum comment · Issue #111933 · python/cpython
Bug report Bug description: The new implementation of sum on Python 3.12 (cfr. #100425 , #100426 , #107785 ) is not associative on simple input values. This minimal code shows the bug: On Python 3....
Каждый раз как я трогаю github actions происходит нечто подобное: https://github.com/python/cpython/pull/120435
GitHub
gh-119146: Move wildcard patterns to top by Eclips4 · Pull Request #120435 · python/cpython
Issue: gh-119146