Neue Episode: @shezi , Dominik und @jochen unterhalten sich über Arrays und Sequenzen: https://python-podcast.de/show/arrays-und-sequenzen/ #Python
Some nice progress on PyPy's 3.10 branch: I just merged my implementation of PEP 626 (precise line numbers for debugging and other tools) and our backport (from CPy 3.11) of PEP 657 (Fine-grained error locations in tracebacks). The latter was implemented by Batuhan Taskaya and me.
Recently at work I got the chance to use a couple of #Python features I'd never used before: positional-only arguments, and keyword-only arguments.
If you've never seen this before, the general form is:
def my_function(a, b, /, c, d, *, e, f)
Where a and b *must* be passed as positional (not keyword) arguments, e and f must be passed as keyword (not positional), and c and d can be passed either way.
Still not sure how I feel about them being first-class language features, but they did solve a kind of weird niche problem I was having and that would have needed more code to solve in other ways.
I wrote about how AI-enhanced development makes me more ambitious with my projects https://simonwillison.net/2023/Mar/27/ai-enhanced-development/
TIL from @adamchainz that when doing type annotations in #Python, `object` is preferable to `Any`, since the latter basically tells `mypy` to opt out of type checking.
https://adamj.eu/tech/2021/05/07/python-type-hints-use-object-instead-of-any/
Someone referred to Podcasting 2.0 the other day.
Oh my god.
There is only one podcasting.
I can tell this is going to be really tiresome.
You know like Web 3 and all that bullshit.
The other day someone told me that the real Web 3 is AI.
Sigh.
The #Mypy project has reached a huge milestone, v1.0.0! 🥳 40% performance boost and a bunch of other improvements:
https://mypy-lang.blogspot.com/2023/02/mypy-10-released.html?m=1 #Python
SQLAlchemy 2.0.0 released! ://www.sqlalchemy.org/blog/2023/0
Neue Episode: @cfbolz, Dominik und @jochen unterhalten sich über PyPy: ://python-podcast.de/show/pypy-ju #pypyproject #pypy #python
Whoa @shezi wrote a complete article answering the question 'Why static site generation?' raised in our latest episode: https://shezi.de/posts/2023-01-10-static-site-generator.html #ssg #python
Es gibt einen PR für CPython PEP, der den GIL optional machen soll: https://github.com/python/peps/pull/2955 Diskussion dazu: https://discuss.python.org/t/pep-703-making-the-global-interpreter-lock-optional/22606
Der eigentliche PEP: https://peps.python.org/pep-0703/
Wäre das eigentlich ok, wenn ich hier mal mehr News etc. poste und nicht nur neue Episoden? Vielleicht wäre das ja auch interessant und ich muss eh irgendwo Material sammeln 😁
Neue Episode: @shezi, Dominik und @jochen unterhalten sich über 2022 und ungelesene MacBooks: https://python-podcast.de/show/jahresruckblick-2022-und-ungelesene-macbooks/