#ResearchTopic of the day: #noGIL #freethreaded design in π-thon 3.14
#ResearchTopic of the day: #noGIL #freethreaded design in π-thon 3.14
❄️ - Using No GIL Python
- Decorators in Python : FREE Webinar
- Cure for Distraction
- Fun with Python and Pytest
- Why to Raise your hand?
Latest Edition of My Voyage of Discovery: http://eepurl.com/i7m8oU
Subscribe for more at: http://eepurl.com/iu6PFU
#Python #GIL #NoGil #Decorators #India #Distraction #Discovery #MyVOD #PyTest
My weekend
project was building a new tool for Python projects, called “unittest-ft”, to run your entire test suite in parallel using a thread pool. With Python 3.13 and free threading enabled, this can dramatically speed up your test suite, as well as help catch any thread-safety issues that your project might have.
It also includes options to run "stress tests" which queues every test to be run ten times rather than just once, as well as randomizing the test order every time to help catch unintended test order dependencies.
This is intended for use with Python 3.13 or newer with free threading enabled, but is functionally useful back to Python 3.8 for testing and use in CI (it just won't be *faster* without FT).
🐍 #Python 📦 #packaging news. Looks like the latest release of `cibuildwheel` v2.19 now supports #freethreading #nogil 🎉 thanks to @henryiii
Looking for thoughts from the Python community:
What is the Long-Term Vision for a Parallel/Concurrent Python Programming Model?
https://discuss.python.org/t/what-is-the-long-term-vision-for-a-parallel-python-programming-model/39190/1
More concrete questions in: https://discuss.python.org/t/what-is-the-long-term-vision-for-a-parallel-python-programming-model/39190/20
With PEP 703 and various ongoing projects to bring just-in-time compilation to CPython, I would like to ask what the long-term vision for a parallel Python programming model is. For context, I am asking this is an academic programming language implementation researcher, who has been working on enabling efficient implementations for dynamic languages that support shared-memory parallelism and concurrency. Having very recently looked at the precise details around the global interpreter lock, I wo...
No-GIL planned for an experimental build of Python 3.13 on October 2024 🥳
Thank you Sam Gross 🙏🏻
Posting for the whole Steering Council, on the subject of @colesbury’s PEP 703 (Making the Global Interpreter Lock Optional in CPython). Thank you, everyone, for responding to the poll on the no-GIL proposal. It’s clear that the overall sentiment is positive, both for the general idea and for PEP 703 specifically. The Steering Council is also largely positive on both. We intend to accept PEP 703, although we’re still working on the acceptance details. As we’ve done a few times in the past, we ...