hugovk,
@hugovk@mastodon.social avatar

🐍🧪 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:

https://dev.to/hugovk/help-us-test-free-threaded-python-without-the-gil-1hgf

neutrinoceros,
@neutrinoceros@fosstodon.org avatar

@hugovk I’m very new to multi-threading, so pardon the naivety of my question, but does testing code without any form of parallelism bring any value ?

hugovk,
@hugovk@mastodon.social avatar

@neutrinoceros It's a good question 👍 Yes, I think so, to give exposure to as much code as possible. At this early stage, single-threaded performance will be worse, but CI testing can help find bugs. I "accidentally" found a couple with a PR that had nothing apparently related.

neutrinoceros,
@neutrinoceros@fosstodon.org avatar

@hugovk I think I found a bug … that is specific to deadsnakes’ build :blobcatsweat:
Any clue where I should report this ?
https://github.com/neutrinoceros/reprod_deadsnakes_3.13b1_math_dunder_file/actions/runs/9114819417/job/25059674701

hugovk,
@hugovk@mastodon.social avatar

@neutrinoceros I think this is the right place to report it: https://github.com/deadsnakes/issues

nedbat,
@nedbat@hachyderm.io avatar

@neutrinoceros @hugovk A lot of work has happened that isn't directly related to parallelism (new memory managers, changes to built-in data structures, etc), so testing is very important.

hroncok,
@hroncok@floss.social avatar

@hugovk I wonder why is the deadsnakes build called nogil and not freethreading 🤔 We wanted to call it nogil at first as well but were told not to, so now we have 2 different names for it.

hugovk,
@hugovk@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines