mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

351K
active users

#nogil

0 posts0 participants0 posts today
Sarfraaz Ahmed<p>❄️ - Using No GIL Python<br />- Decorators in Python : FREE Webinar<br />- Cure for Distraction<br />- Fun with Python and Pytest<br />- Why to Raise your hand?</p><p>Latest Edition of My Voyage of Discovery: <a href="http://eepurl.com/i7m8oU" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">http://</span><span class="">eepurl.com/i7m8oU</span><span class="invisible"></span></a><br />Subscribe for more at: <a href="http://eepurl.com/iu6PFU" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">http://</span><span class="">eepurl.com/iu6PFU</span><span class="invisible"></span></a></p><p><a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="tag">#<span>Python</span></a> <a href="https://mastodon.social/tags/GIL" class="mention hashtag" rel="tag">#<span>GIL</span></a> <a href="https://mastodon.social/tags/NoGil" class="mention hashtag" rel="tag">#<span>NoGil</span></a> <a href="https://mastodon.social/tags/Decorators" class="mention hashtag" rel="tag">#<span>Decorators</span></a> <a href="https://mastodon.social/tags/India" class="mention hashtag" rel="tag">#<span>India</span></a> <a href="https://mastodon.social/tags/Distraction" class="mention hashtag" rel="tag">#<span>Distraction</span></a> <a href="https://mastodon.social/tags/Discovery" class="mention hashtag" rel="tag">#<span>Discovery</span></a> <a href="https://mastodon.social/tags/MyVOD" class="mention hashtag" rel="tag">#<span>MyVOD</span></a> <a href="https://mastodon.social/tags/PyTest" class="mention hashtag" rel="tag">#<span>PyTest</span></a></p>
Hynek Schlawack<p>🤩</p><p><a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="tag">#<span>Python</span></a> <a href="https://mastodon.social/tags/freeThreaded" class="mention hashtag" rel="tag">#<span>freeThreaded</span></a> <a href="https://mastodon.social/tags/noGIL" class="mention hashtag" rel="tag">#<span>noGIL</span></a></p>
Waseem<p>Has anyone benchmarked the Python with JIT vs non-JIT using 3.13 version?</p><p><a href="https://mastodon.social/tags/python" class="mention hashtag" rel="tag">#<span>python</span></a> <a href="https://mastodon.social/tags/JIT" class="mention hashtag" rel="tag">#<span>JIT</span></a> <a href="https://mastodon.social/tags/nogil" class="mention hashtag" rel="tag">#<span>nogil</span></a></p>
Amethyst 🌸<p>My weekend :python: 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.</p><p>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.</p><p>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).</p><p><a href="https://pypi.org/project/unittest-ft/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">pypi.org/project/unittest-ft/</span><span class="invisible"></span></a></p><p><a href="https://toots.n7.gg/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://toots.n7.gg/tags/FreeThreading" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FreeThreading</span></a> <a href="https://toots.n7.gg/tags/NoGIL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NoGIL</span></a></p>
🇺🇦 Sviatoslav Sydorenko<p>🐍 <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="tag">#<span>Python</span></a> 📦 <a href="https://mastodon.social/tags/packaging" class="mention hashtag" rel="tag">#<span>packaging</span></a> news. Looks like the latest release of `cibuildwheel` v2.19 now supports <a href="https://mastodon.social/tags/freethreading" class="mention hashtag" rel="tag">#<span>freethreading</span></a> <a href="https://mastodon.social/tags/nogil" class="mention hashtag" rel="tag">#<span>nogil</span></a> 🎉 thanks to <span class="h-card" translate="no"><a href="https://fosstodon.org/@henryiii" class="u-url mention">@<span>henryiii</span></a></span></p><p><a href="https://github.com/pypa/cibuildwheel/issues/1657" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/pypa/cibuildwheel/i</span><span class="invisible">ssues/1657</span></a></p><p><a href="https://mastodon.social/tags/PyPA" class="mention hashtag" rel="tag">#<span>PyPA</span></a></p>
Stefan Marr<p>Looking for thoughts from the Python community:</p><p>What is the Long-Term Vision for a Parallel/Concurrent Python Programming Model?<br><a href="https://discuss.python.org/t/what-is-the-long-term-vision-for-a-parallel-python-programming-model/39190/1" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discuss.python.org/t/what-is-t</span><span class="invisible">he-long-term-vision-for-a-parallel-python-programming-model/39190/1</span></a></p><p>More concrete questions in: <a href="https://discuss.python.org/t/what-is-the-long-term-vision-for-a-parallel-python-programming-model/39190/20" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discuss.python.org/t/what-is-t</span><span class="invisible">he-long-term-vision-for-a-parallel-python-programming-model/39190/20</span></a></p><p><a href="https://mastodon.acm.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mastodon.acm.org/tags/noGIL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>noGIL</span></a> <a href="https://mastodon.acm.org/tags/freeThreading" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>freeThreading</span></a></p>
Reid D. M.<p>I am FIRMLY team <a href="https://macaw.social/tags/python4" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python4</span></a> for the <a href="https://macaw.social/tags/nogil" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nogil</span></a> work. LFG. The lesson from Python 3 is you gotta rip off that upgrade bandaid. <a href="https://lwn.net/Articles/947138/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lwn.net/Articles/947138/</span><span class="invisible"></span></a></p>
Python Torino<p>No-GIL planned for an experimental build of Python 3.13 on October 2024 🥳 </p><p><a href="https://social.python.it/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://social.python.it/tags/nogil" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nogil</span></a></p><p>Thank you Sam Gross 🙏🏻 </p><p><a href="https://discuss.python.org/t/a-steering-council-notice-about-pep-703-making-the-global-interpreter-lock-optional-in-cpython/30474" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discuss.python.org/t/a-steerin</span><span class="invisible">g-council-notice-about-pep-703-making-the-global-interpreter-lock-optional-in-cpython/30474</span></a></p>
Tin Tvrtković<p>I&#39;ve been thinking about what <a href="https://mastodon.social/tags/asyncio" class="mention hashtag" rel="tag">#<span>asyncio</span></a> might look like in a <a href="https://mastodon.social/tags/nogil" class="mention hashtag" rel="tag">#<span>nogil</span></a> <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="tag">#<span>Python</span></a> world, and I&#39;m curious about what others are thinking too. So I made a Discourse discussion: <a href="https://discuss.python.org/t/asyncio-in-a-nogil-world/30694" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">discuss.python.org/t/asyncio-i</span><span class="invisible">n-a-nogil-world/30694</span></a></p><p>Would love for folks to chip in with their thoughts!</p>
Some Bits: Nelson's Linkblog<p>Python no GIL plan: Steering Council adopts a plan for enabling concurrency in Python processes<br><a href="https://discuss.python.org/t/a-steering-council-notice-about-pep-703-making-the-global-interpreter-lock-optional-in-cpython/30474" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discuss.python.org/t/a-steerin</span><span class="invisible">g-council-notice-about-pep-703-making-the-global-interpreter-lock-optional-in-cpython/30474</span></a><br> <a href="https://tech.lgbt/tags/concurrency" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>concurrency</span></a> <a href="https://tech.lgbt/tags/parallelism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parallelism</span></a> <a href="https://tech.lgbt/tags/programing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programing</span></a> <a href="https://tech.lgbt/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://tech.lgbt/tags/nogil" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nogil</span></a> <a href="https://tech.lgbt/tags/gil" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gil</span></a> #+</p>
Mark<p>Python is embarking on a new and interesting path! PEP703: "Making the Global Interpreter Lock Optional in CPython" <a href="https://discuss.python.org/t/a-steering-council-notice-about-pep-703-making-the-global-interpreter-lock-optional-in-cpython/30474" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discuss.python.org/t/a-steerin</span><span class="invisible">g-council-notice-about-pep-703-making-the-global-interpreter-lock-optional-in-cpython/30474</span></a><br><a href="https://aus.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://aus.social/tags/nogil" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nogil</span></a></p>
Hugo van Kemenade<p>Big Python news! 🐍📰 </p><p>&quot;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.&quot;</p><p>For the general plan, see:</p><p><a href="https://discuss.python.org/t/a-steering-council-notice-about-pep-703-making-the-global-interpreter-lock-optional-in-cpython/30474?u=hugovk" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">discuss.python.org/t/a-steerin</span><span class="invisible">g-council-notice-about-pep-703-making-the-global-interpreter-lock-optional-in-cpython/30474?u=hugovk</span></a> <a href="https://mastodon.social/tags/PEP703" class="mention hashtag" rel="tag">#<span>PEP703</span></a> <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="tag">#<span>Python</span></a> <a href="https://mastodon.social/tags/GIL" class="mention hashtag" rel="tag">#<span>GIL</span></a> <a href="https://mastodon.social/tags/NoGIL" class="mention hashtag" rel="tag">#<span>NoGIL</span></a></p>
__sharky__<p><span class="h-card" translate="no"><a href="https://mastodon.social/@ambv" class="u-url mention">@<span>ambv</span></a></span> <a href="https://mastodon.social/tags/noGIL" class="mention hashtag" rel="tag">#<span>noGIL</span></a> 🚞</p>
Jan Katins<p><span class="h-card"><a href="https://mastodon.social/@hynek" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>hynek</span></a></span> the iphone also sacrificed comfortable typing on real keys and daylong battery life for some new experience... Nokia bet on the former and it paid big time for it. <a href="https://fosstodon.org/tags/nogil" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nogil</span></a> <a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a></p>
Hugo van Kemenade<p>And Sam Gross has submitted PEP 703 (Making the Global Interpreter Lock Optional in CPython) to the steering council for consideration for Python 3.13!</p><p><a href="https://github.com/python/steering-council/issues/188" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/python/steering-cou</span><span class="invisible">ncil/issues/188</span></a></p><p><a href="https://peps.python.org/pep-0703/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">peps.python.org/pep-0703/</span><span class="invisible"></span></a></p><p><a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="tag">#<span>Python</span></a> <a href="https://mastodon.social/tags/GIL" class="mention hashtag" rel="tag">#<span>GIL</span></a> <a href="https://mastodon.social/tags/NoGIL" class="mention hashtag" rel="tag">#<span>NoGIL</span></a> <a href="https://mastodon.social/tags/PEP703" class="mention hashtag" rel="tag">#<span>PEP703</span></a></p>
elhult<p>By setting `nogil=True` on a Numba function, I just cut the runtime of one part in the code from 60 minutes to 4 minutes.</p><p>Feels like an okay win for essentially a single line edit.</p><p><a href="https://mastodon.acc.sunet.se/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mastodon.acc.sunet.se/tags/nogil" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nogil</span></a> <a href="https://mastodon.acc.sunet.se/tags/numba" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>numba</span></a> <a href="https://mastodon.acc.sunet.se/tags/threading" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>threading</span></a></p>
elhult<p><span class="h-card"><a href="https://fosstodon.org/@brettcannon" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brettcannon</span></a></span> i vote <a href="https://mastodon.acc.sunet.se/tags/NoGIL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NoGIL</span></a>. I do machine learning research, often prototyping code on my local computer (with a quite competent multicore CPU), and i think threads could give me quite some improvements there. Not bringing out the big guns like dask every time might improve latency in development iterations, for example. On the other hand, i think I am badly informed about the implications of a <a href="https://mastodon.acc.sunet.se/tags/JIT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JIT</span></a> compiler. </p><p>Would love an episode of <span class="h-card"><a href="https://fosstodon.org/@pythonbytes" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pythonbytes</span></a></span> discussing the topic.</p>
Thomas Svensson 🖖<p><span class="h-card"><a href="https://fosstodon.org/@brettcannon" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>brettcannon</span></a></span> Thinking if <a href="https://fosstodon.org/tags/NoGIL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NoGIL</span></a> is sorted first, making JIT happen later is probably much easier than the other order.</p>
Jim Kring :python: :django: G<p>Will your <a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> code will run on <a href="https://fosstodon.org/tags/nogil" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nogil</span></a> (<a href="https://fosstodon.org/tags/PEP703" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PEP703</span></a>)?</p><p>It's easy to find out...</p><p>Here is a GitHub Action I created to run and test your project code with nogil python (by adding just a few lines of yaml to your project's config).</p><p><a href="https://github.com/marketplace/actions/nogil-python" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/marketplace/actions</span><span class="invisible">/nogil-python</span></a></p><p>My hope is this helps people get familiar with nogil, begin testing their code, and providing feedback.</p>
Jim Kring :python: :django: G<p>I’m looking forward to working with <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/NOGIL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NOGIL</span></a>. Real, multithreaded apps would be so nice. Kudos to Sam Gross for all the great work on this effort<br><a href="https://peps.python.org/pep-0703/" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="">peps.python.org/pep-0703/</span><span class="invisible"></span></a></p>