this post was submitted on 25 Oct 2024
39 points (93.3% liked)

Python

6356 readers
1 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
you are viewing a single comment's thread
view the rest of the comments
[–] solrize@lemmy.world 0 points 2 weeks ago (1 children)
[–] gigachad@sh.itjust.works 10 points 2 weeks ago (1 children)

Wdym? It's a text about the lesser known features and changes in Python 3.13.

[–] solrize@lemmy.world 2 points 2 weeks ago (1 children)

There's some confusing code there. What does it do?

[–] sugar_in_your_tea@sh.itjust.works 5 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

You mean the code under "The annotation change nobody asked for"? That's not intended to do anything, it's supposed to just be valid Python code as an annotation. Basically, they're trying to break the type hinting system.

[–] GBU_28@lemm.ee 2 points 2 weeks ago (1 children)

I see like 20 lines of code and an image. Is there more?

I don't think so. I see two code snippets, and each has a clear explanation preceding it.