Channel: CPython notes
CPython notes
Начинается https://github.com/python/cpython/issues/113464 Еще и стишок! https://github.com/python/cpython/pull/113465
Смержили JIT. Не смотрите что PR закрыт, из-за бага гитхаба пр смержен, но почему-то не закрылся после мержа (ещё и в истории коммитов почему-то целых два мержа)
Пока что доступно лишь с флагом
Пока что доступно лишь с флагом
--enable-experimental-jit
при сборке интерпретатора. По моим скромным оценкам, тесты все же исполнялись чуть дольше, чем без JIT'a. Ну, по этой причине оно и находится пока что в "экспериментальном режиме". Нужно еще подождать до полной стабилизации❤7🤮2🥰1
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...
🔥3😭2
Смержили новый 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
👍6🔥2🥰1
PEP 649 – Отложенное вычисление аннотаций с использованием дескрипторов - отложен... 🥁
Отложен до 3.14, не успели реализовать.
(Шутка украдена у Виктора Стиннера)
Отложен до 3.14, не успели реализовать.
(Шутка украдена у Виктора Стиннера)
😁11😢1
Вышла первая бета 3.13, соответсвенно, произошел feature-freeze для 3.13 (более не будет новых фич, только баг и секьюрити фиксы).
Так что, с этого момента начинается разработка 3.14 (aka πthon)
Так что, с этого момента начинается разработка 3.14 (aka πthon)
😁9👍7🤡3
Чем занимается руководящий совет питона?
Ответ на скриншоте:
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
😁11👌1
В целом.. почему нет.
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...
👍3🤡1
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...
😁9❤1🤡1
если вам нечего делать можете почитать
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....
❤2🤡2
Каждый раз как я трогаю 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
❤5😁2👍1
https://github.com/python/cpython/issues/120522
Мда, Apple как всегда
Мда, Apple как всегда
😁3🤯3👍1
🤔10👍6🤮5😱2🖕2💊2🤬1🤡1
PEP 727 который лично мне не нравится, скорее всего будет отклонен.
https://discuss.python.org/t/pep-727-documentation-metadata-in-typing/32566/181
https://discuss.python.org/t/pep-727-documentation-metadata-in-typing/32566/181
Discussions on Python.org
PEP 727: Documentation Metadata in Typing
I ask for your guidance about how to proceed. As I previously mentioned, my recommendation is to abandon the use of Annotated for documentation and build on the existing docstring mechanisms that are supported by existing tools. Here’s another idea that…
🎉9😁4❤3👎1
https://discuss.python.org/t/three-month-suspension-for-a-core-developer/60250/4
Как вы уже могли слышать, роль основного разработчика была приостановлена для Тим Питерса(автор тимсорта в питоне) на 3 месяца. И вот вчера появляется этот комментарий от мейтнейнера енамов. Интересно, что будет дальше
Как вы уже могли слышать, роль основного разработчика была приостановлена для Тим Питерса(автор тимсорта в питоне) на 3 месяца. И вот вчера появляется этот комментарий от мейтнейнера енамов. Интересно, что будет дальше
😢5🤮1💯1
https://discuss.python.org/t/calling-for-a-vote-of-no-confidence/61557/1
TL;DR: один из core developer'ов призывает к роспуску состава текущего руководящего совета. Все это связано с временной отставкой Tim Peters (пост выше)
TL;DR: один из core developer'ов призывает к роспуску состава текущего руководящего совета. Все это связано с временной отставкой Tim Peters (пост выше)
Discussions on Python.org
Calling for a Vote of No Confidence
According to the guidance in PEP 13, I am calling for a vote of no confidence for the entire council. This motion is based on their recent action of suspending a core developer in which they withheld critical information: The core developer’s name. Without…
👍6🙈3🔥2
CPython notes
Теперь я участник Python Triage Team. https://github.com/python/core-workflow/issues/509
Теперь я участник Python Core Team.
https://discuss.python.org/t/vote-to-promote-kirill-podoprigora/63503/5
https://discuss.python.org/t/vote-to-promote-kirill-podoprigora/63503/5
🔥88🎉6❤5😁3🤝3👍2
HTML Embed Code: