🎙️ Bored this weekend? Well, we have Part 2 of the interviews from the CPython core sprint in Cambridge UK. Don’t worry, this one’s shorter than Part 1. Only 2 hours 18 minutes. Much less than Part 1!
✨ Hear from Greg, Thomas, Paul, Pradyun, Carol, Guido, Brett, Erlend, Tal, Lysandros, Yury, and Diego.
I have to say that unfortunately, since Mozilla took over K9 mail and turned it into Thunderbird for Android, it has really ruined the usability for me. Anyone have any recommendations for other #foss email clients?
Bonus points if they can handle sending from catch-all email addresses.
@ehmatthes It would be nice if this ends up implemented in ruff, since the majority of the time accessing one component of a timedelta is not something you want to do anyway: https://github.com/astral-sh/ruff/issues/13598
@ehmatthes FYI there is a much more elegant way to find out how many of a given time unit there is in a timedelta, which is to divide it by another timedelta, like so:
```
>>> timedelta(days=3) / timedelta(hours=1)
72
```
In fact all the talk about normalization feels a bit misleading. The root of your original bug isn't really normalization so much as the fact that you are accessing a component when what you wanted was a view onto the entire duration.
I am unreasonably pleased that #PyBay has open wifi with no captive portal.
@pamelafox I pretty only write pytest tests in classes when I might subclass them for some reason (or when directly migrating something based on unittest), but using them as a namespace makes a certain amount of sense.
So this happened at TSA today, which means it's time to get new headphones. Are bone conduction headphones still the best option for headphones that you can wear all the time but you can hear it when people talk to you?
My ideal headset would be very discreet, such that people can barely tell you are wearing them (or if they are visible I would prefer if people felt comfortable talking to me while wearing them).
I do not use Apple products.
@nowis To be fair, how could someone know more than one language? What are these people, computers?
@ccriss92 No te preocupes, ahora es temporada de ascensos, y cuando asciendan a la gente que hizo esta barbaridad, se puede arreglarla para que la siguiente tanda de empleados pueda conseguir sus ascensos. Es el círculo de los ascensos.♻️
@andrewblasco @jordibal @ccriss92 @Paroxia Si usas NewPipe, puedes ir a Ajustes > Video y Audio > Prefiero audio original.
Give this a go to help guide the future of the web!
Though I will admit that there are also NO OTHER REASONS for putting lazy imports in a context manager. It's just the backwards compatibility use case and no others.
I further contend that other than `contextlib.suppress`, there is no other situation where lazy imports in a context manager could be dangerous.
*Ahem* I hereby affirmatively state that the ONLY ergonomic way to functionally backport lazy imports would be to use a context manager. Even a *genius* could not come up with a better way.
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.