102
you are viewing a single comment's thread
view the rest of the comments
[-] gigachad@sh.itjust.works 14 points 1 month ago

Nice I guess it's time to check if my daily used libraries have stable 3.12 releases already.

I guess the free-threaded mode and the JIT compiler will be the most important features from what I read, but their significance is out of my expertise.

My absolute favorite with this update is the new REPL! It features Multiline-editing and a paste mode for easier pasting code. It also added the spaces automatically in my example.

Sometimes I want to make some quick tests on some data in the terminal without installing IPython to my environment first, this is great news!

This new error message will also be very useful for beginners and relieve StackOverflow:

AttributeError: module 'numpy' has no attribute 'array' (consider renaming '/home/me/numpy.py' if it has the same name as a third-party module you intended to import)

[-] mamg22@sh.itjust.works 3 points 1 month ago

That last one is going to be so good. Months ago I ran into that while porting the "Crafting Interpreters" java-based interpreter into python. It took me a few hours to figure out that one of my modules was colliding with "token" in the stdlib, a module I didn't even know existed. Glad it's being made clearer.

this post was submitted on 07 Oct 2024
102 points (100.0% liked)

Python

6356 readers
10 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS