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:

354K
active users

#pep703

0 posts0 participants0 posts today
Continued thread

Just released! PrettyTable 3.12 🚀

pypi.org/project/prettytable/3

🪑 Add new themes to ColorTable
🪑 Drop support for Python 3.8
🪑 Deprecate hrule and tableStyle constants
🪑 Use SPDX license identifier
🪑 Add lots of type annotations
🪑 Generate __version__ at build to avoid slow importlib.metadata
🪑 Release to PyPI using Trusted Publishing and PEP 703 digital attestations
🪑 Fix drawing headerless coloured tables with title
🪑 And more!

🧵🛞 I made a thing!

hugovk.github.io/free-threaded tracks how many of the top 360 PyPI packages have free-threaded wheels.

🟢 Green packages (currently 3%) offer has free-threaded wheels

⚪ Uncoloured packages (82%) offer pure-Python wheels

🟠 Orange packages (16%) have no wheels ready for free-threading (yet!)

See also Quansight Labs' py-free-threading.github.io/tr for a smaller yet fine-grained tracker that also includes build tools.

🚀🧵🐍 Big thanks to @lysnikolaou of Quansight Labs for helping us get @pillow ready for free-threaded Python 3.13 (we did some work at the @europython sprints).

See labs.quansight.org/blog/free-t and py-free-threading.github.io to learn more.

We also upload nightly free-threaded (cp313t) wheels to help the community test:
anaconda.org/scientific-python

And we'll upload them to PyPI as part of the Q3 release in October.

labs.quansight.orgFree-threaded CPython is ready to experiment with!An overview of the ongoing efforts to improve and roll out support for free-threaded CPython throughout the Python open source ecosystem

Sadhana Srinivasan: The Gilectomy: Past, Present and Future @ PyCon Ireland 2023

youtu.be/bC5pdoOXXoc

In Python, multithreading has historically faced challenges due to the Global Interpreter Lock (GIL). However, after years of ongoing efforts, the community has achieved a breakthrough with the acceptance of PEP 703.
This talk will delve into the GIL, its origins, and the reasons for its removal.

🐍🧪 Python 3.13.0 is due out in October 2024 and work is underway to implement *experimental support* for PEP 703 "Making the Global Interpreter Lock Optional in CPython".

As the Steering Council noted in their acceptance of the PEP, to succeed it's important to have community support.

I wrote a little guide on how you can help test out the beta in your project, and help us find bugs in CPython:

dev.to/hugovk/help-us-test-fre

DEV CommunityHelp us test free-threaded Python without the GILPython 3.13 is due out in October 2024 and work is underway to implement experimental support for PEP...

🎉 Please welcome our two newest Python core developers! 🎈🐍🎈

Sam Gross is the author of PEP 703 and leading the work to remove the GIL

Nikita Sobolev is the fourth most active contributor (since 2020) and was recently made a @ThePSF Fellow.

discuss.python.org/t/vote-to-p

discuss.python.org/t/vote-to-p

And just for fun I made a chart of the number of new core developers per year!

Will your #python code will run on #nogil (#PEP703)?

It's easy to find out...

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).

github.com/marketplace/actions

My hope is this helps people get familiar with nogil, begin testing their code, and providing feedback.

GitHubnogil/python - GitHub MarketplaceRun, Build, and Test Python Code in Multithreaded Python without the GIL -> https://github.com/colesbury/nogil/