Запускаем несколько интерпретаторов в коде на Python — невероятная скорость

5 июня 2025 года был принят PEP-0734 . Судя по информации на официальном сайте, он является продолжением PEP-0554 . Этот PEP предлагает добавить новый модуль, interpreters, для поддержки проверки, создания и запуска кода в нескольких интерпретаторах в текущем процессе. А если идти дальше, то он является частью PEP-0684 , которые предлагает один GIL на интерпретатор. Несколько полноценных интерпретаторов работающих рядом. Какие плюсы? Один процесс; Один тред, но руками можно создавать еще; По GILу на интерпретатор, все еще можно получить плюшки настоящей многозадачности по сети; Работает с asyncio. В этой статье вы узнаете как работает эта фича под капотом и в реальном питоне. Приятного чтения!

https://habr.com/ru/companies/timeweb/articles/922314/

#python_c_api #pep #pep734 #interpreters #python #интерпретаторы #новости #новые_фичи #производительность #c

Запускаем несколько интерпретаторов в коде на Python — невероятная скорость

5 июня 2025 года был принят PEP-0734 . Судя по информации на официальном сайте, он является продолжением PEP-0554 . Этот PEP предлагает добавить новый модуль interpreters для поддержки проверки,...

Хабр

Want to find out more about subinterpreters in Python?

PEP 734 author Eric Snow is interviewed by fellow core team member Nikita Sobolev:
https://www.youtube.com/watch?v=VBiaNNpLzWA

https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep734

#EricSnow #NikitaSobolev #Python #Python314 #subinterpreters #PEP734

Лучший курс по Python 15: Subinterpreters

YouTube

Just released: Python 3.14.0 beta 3! 🚀🐍

🥧 All the good stuff of b2 but also:

🥧 Free-threaded Python is officially supported! (PEP 779)

🥧 Subinterpreters in the stdlib! (PEP 734)

Do you maintain a Python package? Please test 3.14.

If you find a bug now, we can fix it before October, which helps everyone. And you might find some places in your code to update as well, which helps you.

https://discuss.python.org/t/python-3-14-0-beta-3-is-here/95843?u=hugovk

#Python #CPython #Python314 #release #PEP779 #PEP734 #FreeThreaded #subinterpreters

Python 3.14.0 beta 3 is here!

It’s 3.14 beta 3! https://www.python.org/downloads/release/python-3140b3/ This is a beta preview of Python 3.14 Python 3.14 is still in development. This release, 3.14.0b3, is the third of four planned beta releases. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release. We strongly encourage maintainers of third-party Python projects to test with 3.14 during the beta...

Discussions on Python.org

A special late acceptance for Python 3.14:

@ericsnowcurrently's PEP 734: Multiple Interpreters in the Stdlib 🚀

https://discuss.python.org/t/pep-734-multiple-interpreters-in-the-stdlib/41147/36

#Python #PEP734 #subinterpreters #Python314

PEP 734: Multiple Interpreters in the Stdlib

After discussing PEP 734 before and during PyCon, with you and many others, and confirming with @hugovk that he will issue a feature freeze exception for Python 3.14, the Steering Council approves PEP 734, with one suggested change (see below). The Python community is incredibly grateful for your diligence, tenacity, and expertise in bringing the subinterpreters feature to fruition. Despite the Zen of Python’s “There’s Only One Way To Do It”, we believe that giving Python developers options fo...

Discussions on Python.org