[HN Gopher] Python 3.11.0 Released
___________________________________________________________________
Python 3.11.0 Released
Author : maximilianroos
Score : 48 points
Date : 2022-10-24 20:35 UTC (2 hours ago)
(HTM) web link (www.python.org)
(TXT) w3m dump (www.python.org)
| westurner wrote:
| "What's New In Python 3.11"
| https://docs.python.org/3.11/whatsnew/3.11.html
| 6gvONxR4sf7o wrote:
| 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.
| deck4rd wrote:
| Nice to finally have TOML support in the stdlib, especially
| considering pip's dependence on it.
| faizshah wrote:
| There's a nice article with some code examples here of the new
| features: https://realpython.com/python311-new-features
| mkaic wrote:
| 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.
| stevesimmons wrote:
| Now if only Azure Functions would support Python versions newer
| than 3.9!
|
| Come on Microsoft!
| destroy-2A wrote:
| Same on AWS iirc, why would they? the speed up will loose them
| money, whoever implements that is not getting a promotion to
| L7!
| nomel wrote:
| > 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?
| kcexn wrote:
| Hasn't radiation from black holes been observed? It's called
| Hawking radiation I think.
___________________________________________________________________
(page generated 2022-10-24 23:02 UTC)