Those new error messages look divine compared to what we've had up until now! They seem like they might have been inspired by Rust's error message format to me, but I'm not sure. I'm just happy that I won't have to split chained operations onto individual lines anymore just to have any ability to debug them with the regular old stacktrace errors.
> and it will experience repulsive gravity that will push it back to the original region, but then it will experience the pull from the singularity again and will repeat this process forever.
If the observer had a charge, wouldn't this create radio waves, bleeding off energy?
I've been really looking forward to the variadic generics. ML and data code is full of types like "FloatTensor" and "DataFrame" which really don't narrow things down. Hopefully this will make its way into the ecosystem asap.
I sure do hope Arbitrary Literal String Type (https://peps.python.org/pep-0675/) solves the problem they think it does and doesn't drive every typechecker in the world stark-raving mad
literal_name: LiteralString
expect_literal_string(f"hello {literal_name}")
# OK because it is composed from literal strings.
Maybe I'm being too cynical and this is laying the groundwork for py4000 where they will type check at runtime
This release sent me down a rabbit hole (it started with the sidenote on physics), which made me wonder what software https://discuss.python.org is running on. I couldn't find a link to GitHub or elsewhere or any project page which could enable me to host such a discussion board on a server. Does it have a name?
I was looking forward this release. The performance improvements in this release are insane! I just created a ticket for my team to upgrade all our production Pythons to this release.
I believe you may be thinking about a different language? Python only releases a feature release yearly. Features which don’t make it into a release like 3.9, 3.10, and 3.11 are usually agreed upon before the feature freeze window to avoid specifically this.