hugovk, to python
@hugovk@mastodon.social avatar

📣🐍📚 Calling all Python library maintainers!

Python 3.13 is now in beta, with the second of four beta releases out later today!

It's now time to start testing your libraries with 3.13 and report any problems back to CPython so they can be fixed before the big October release. And make any updates you need to upgrade your library; keep an eye out for removals and deprecations.

Here's how to test 3.13 on GitHub Actions:

https://dev.to/hugovk/help-test-python-313-14j1

#Python #Python313 #beta #GitHubActions

hynek,
@hynek@mastodon.social avatar

@hugovk My understanding is they already fixed it months ago. Guessing their release process is painful.

cfbolz,
@cfbolz@mastodon.social avatar

@hynek @hugovk I think it's mainly undermaintained (just like everything else) :-(

clacke, to python

#Python 3.13 has an experimental feature "Free-threaded CPython" to disable the GIL. Extensions can indicate whether they rely on the GIL or not.

docs.python.org/3.14/whatsnew/…

peps.python.org/pep-0703/

@python
#python313

clacke, to python
rikiti9,
@rikiti9@piaille.fr avatar

@clacke
3.13 or 3.14 ?
@python

clacke,

@rikiti9 3.13. The link is to the 3.13 release notes section of the 3.14 documentation. 🤣

hugovk, to python
@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 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

fohrloop, to python
@fohrloop@fosstodon.org avatar

The new python 3.13 REPL looks so useful that I might be able to switch from IPython to it entirely!

https://treyhunner.com/2024/05/my-favorite-python-3-dot-13-feature/

hugovk, to python
@hugovk@mastodon.social avatar

🎲 Do you like Python's little CLIs? For example:

$ python -m http.server
$ python -m webbrowser example_url
$ python -m uuid
$ python -m calendar

What about adding one to random?

$ python -m random curry "fish n chips" tacos
curry

$ python -m random 6
6

$ python -m random 2.5
1.6423361547011504

Give your feedback on my proposal at
https://discuss.python.org/t/command-line-interface-for-the-random-module/51304

If there's support we might be able to get it into 3.13 before May's beta cutoff! 🤞

fcodvpt,

@jpmens @hugovk "python -m uuid : New in version 3.12", a reason to get a newer Python version :D

0xdefec7edcafe,
@0xdefec7edcafe@piaille.fr avatar

@hugovk i often use python3 -m antigravity

hugovk, to python
@hugovk@mastodon.social avatar
hynek,
@hynek@mastodon.social avatar

@hugovk I’ve got enough coding challenges in my bug tracker for the next 10 Decembers 🫠

synlogic,
@synlogic@toot.io avatar

@hynek @hugovk exactly. I have real software that would benefit from me working on new features or upgrades. I also engage in too much "freetardism" race-to-bottom activities as it is ;-p

imo, its a wise policy to focus most on what others clearly pay us to do.

paulox, to python
@paulox@fosstodon.org avatar

RT @gvanrossum

Talk by my coworker (and co core dev) Brandt Bucher on how we plan a JIT for Python 3.13.

https://youtu.be/HxSHIpEQRjs?feature=shared

hugovk, to python
@hugovk@mastodon.social avatar

I've released pepotron 1.0.0 with the new Python 3.13 schedule!

$ python -m pip install pepotron
...

Use it to open PEPs in your browser:

$ pep 8
https://peps.python.org/pep-0008/

Or the release schedule for a Python version:

$ pep 3.13
https://peps.python.org/pep-0719/

Or word search:

$ pep dead batteries
Score Result
90 PEP 594: Removing dead batteries from the standard library
55 PEP 288: Generators Attributes and Exceptions
...

https://github.com/hugovk/pepotron #Python #PEP #CLI #Python313

ulope,

@hugovk ha, funny.
I’ve been running a simple web redirector for years to make looking up PEPs simpler.

E.g https://pep.fyi/8

hugovk,
@hugovk@mastodon.social avatar

@ulope Nice! You can also do https://peps.python.org/8 and be directed to https://peps.python.org/pep-0008/

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