Live data from Hacker News

Python 3.12

python.org

91–100 of 344 posts

Re: Python 3.12

#91
post #83

Earlier quoted context omitted.

There is 8 billion people in the world, with the number increasing still. You will always have to choose whom you feel responsibility towards, because all 8 billion are beyond anyone's capability.

I don't know about you but my answer is "the ones standing next to me that I have the means and ability to help sustainably."

The point is, regardless of individual answers, there is always a person that doesn't make your cut.

Same applies to entire countries; their capabilities and societal will are greater than an individual's, but still limited.

Declarations of very broad commitments towards the rest of humanity may sound noble, but wise(r) people should stay away from them.

Re: Python 3.12

#93

Holy shit, actual multithreading. Never thought I'd see the day, good on the Python team for making such great improvements.

Ergonomic multi-core multithreading is already solved, for me at least, with ProcessPoolExecutor.map(). I wonder what advantages this direction brings to the table.

That's not multithreading

> is already solved

Has been for decades outside python

Re: Python 3.12

#94
post #5

Everything aside, I enjoyed the "And now for something completely different" part.

It's so hecking wholesome I started crying. My wife's son came to ask me, "Frank, why you crying?". I had to explain to him there's evil people in this world who oppose open borders.

Re: Python 3.12

#95
post #21

Earlier quoted context omitted.

I despise random politics injections as well, but this is rather tame and very much in line with the ironic spirit of how Python release notes are written. I don't think it's offensive to anybody who doesn't go out of their way to become offended by things.

Would you feel the same way if it were a cutesy poem supporting an opposing view?

Could you articulate what that opposing view is in this case?

It's also worth pointing out that Python (and it's ecosystem) is developed by an international team of people, most of whom volunteer their time out of good will and sense of shared purpose across diverse cultures.

The "both sides" logic seems to miss the point that world without mutual aid and international, cross-cultural cooperation would be one that would not have Python and it's ecosystem. It's not political for the Python developers to support such a view, such a view is foundational for the existence of Python.

Re: Python 3.12

#96
post #74

Ooh, seems there is a new syntax for declaring the types of kwargs [1]: from typing import TypedDict, Unpack class Movie(TypedDict): name: str year: int def foo(*kwargs: Unpack[Movie]): ... Maybe now I'll be able to actually figure out what data to send libraries without actually reading their source code. 1. https://docs.python.org/3.12/whatsnew/3.12.html#pep-692-usin...

> Maybe now I'll be able to actually figure out what data to send libraries without actually reading their source code.

One could hope, but any library abusing kwargs in all their methods is showing they’re willing to go through the absolute minimum to make their code usable, let alone readable and self-documenting.

Re: Python 3.12

#97
post #5

Everything aside, I enjoyed the "And now for something completely different" part.

I like how you get to read it in the direction you most agree with. Very politically balanced!

It’s actually the opposite of balanced; it’s polarized.

Re: Python 3.12

#98
post #21

Earlier quoted context omitted.

I despise random politics injections as well, but this is rather tame and very much in line with the ironic spirit of how Python release notes are written. I don't think it's offensive to anybody who doesn't go out of their way to become offended by things.

Would you feel the same way if it were a cutesy poem supporting an opposing view?

People regularly say pro-Ukraine things that are anti-pacifist. Whatever, I understand that most people are not pacifists.

Re: Python 3.12

#99

Earlier quoted context omitted.

Would you feel the same way if it were a cutesy poem supporting an opposing view?

Well it already is. You get to pick which direction you agree with.

> You get to pick which direction you agree with.

One of the two opinions, which are all that exists. All reasonable people have the one opinion, and all other people are all idiots who all have the other opinion.

Re: Python 3.12

#100
post #92

Benchmarks aren't too promising[0]. I wonder if the original 500% improvement they targeted at the start of the `faster cpython` project is still a realistic target. [0] https://github.com/faster-cpython/benchmarking-public

Would those benchmarks capture the performance improvements listed in the change log? From what I read, there were two big ones:

- Inlined list and set comprehensions.

- Reduced data copying in asyncio.

Post reply on HN