🎧 Django-Fans aufgepasst!
Fühlt euch wie vor Ort bei der #DjangoConEurope2025 Europe mit unserer neuen Live-Episode aus Dublin. Talks, Community & Open-Source-Diskussionen mit Django Fellow @sarahboyce und natürlich @shezi:, @oryon_dominik und @jochen:
https://python-podcast.de/show/live-von-der-djangocon-europe-2025-in-dublin-tag-1/
#Python #Django
Just released: Python 3.14.0a1 🚀
https://discuss.python.org/t/python-3-14-0-alpha-1/68039
🐍 PEP 649: deferred evaluation of annotations
🐍 Improved error messages
🐍 And more!
Expression of interest for the 6.X Steering Council: https://docs.google.com/forms/d/e/1FAIpQLSc4kDHSRr-ayuXensVogJLwx14jeRClAmHXfFhmw04vAUYnPQ/viewform
Anyone can use this form to either:
- Give the DSF your email so they reach out to you once the elections are happening.
- Share your details so the DSF can check your eligibility as a candidate and let you know, ahead of the actual elections
- Do an early registration as a candidate (the DSF will reach out to confirm closer to the elections)
(1/3)
Big new draft update to PEP 750, which has now been renamed "Template Strings". If you do string processing or templating in Python (I hear some people do!), check it out: https://pep-previews--4062.org.readthedocs.build/pep-0750/
Hey, we need some boosting for the #Python Developers Survey (https://buff.ly/3U12L5Q ) Could you help us promote in your community? Here's the promotion kit: https://buff.ly/3YgrMNg @ThePSF
"Dabei ist es so einfach:
Du brauchst Arrays?
Nimm Python.
Dein Problem ist etwas komplexer und braucht mehr als 100 Zeilen?
Nimm Python.
Du musst dein Bash-Script erweitern, und noch eine komplexe Routine hinzufügen?
Portiere dein Script nach Python.
Du hasst deine Kollegen? Nimm Perl."
Python 3.14 will/might have shorthand syntax:
```
f(some_value=, other_value=)
```
Neue Episode: @shezi , Dominik und @jochen unterhalten sich über Arrays und Sequenzen: https://python-podcast.de/show/arrays-und-sequenzen/ #Python
WE’RE BACK! Tell your friends! 🥳
Kicking off another season of @djangochat 🎙️
Join @wsvincent and I as we rant about who knows what — I’m not going to spoil it, you have to listen 📻 — but… well… Django 🦄
https://djangochat.com/episodes/fall-2024-podcast-relaunch #Django
Available wherever you get your podcasts now 🤩
"Frameworks are overhead. You need to learn them. They can be in the way. They may have performance implications.
Why not just avoid them altogether? Use the platform, whether that may be the web browser or the operating system or whatever else.
I think this is an illusion. A platform is already a framework. If it fits what you want to do, great. But it may just not be a great framework for your particular purpose."
New post on how we ended up writing an alternative Django admin, and a followup to @jacob 's post about how the original Django admin came to be.
We will be back in two weeks with a new season of episodes.
If you'd like to advertise on the podcast and reach thousands of committed Django developers, you can find more info here:
https://docs.google.com/document/d/1o685nBm2z5S2cwPvK2kMeT2vPIL3UbD94tR4v26Wt-I/edit?usp=sharing
Thanks to Matti Picus the release manager, to Nico Rittinghaus for his work knownbits JIT optimization, Logan Chien for his work on the RISC-V JIT backend, and the CPython devs for the new pyrepl features (CPython 3.13 will release with pyrepl as well in a few weeks! multiline-editing in the repl, finally!)
We have also finally added CPy 3.11 and 3.12 to the start page of https://speed.pypy.org/
If you like #Python, you should try listening to the core.py #podcast with @ambv and pablogsal
It goes pretty deep, and I understand a little more each episode.
Hearing Pablo's "wawwww" now and then and other nerdy jokes make me laugh!
"Python's Preprocessor", a really amazing blog post about abusing customs codecs to do arbitrary preprocessing steps on python files before the VM sees it: https://pydong.org/posts/PythonsPreprocessor/
Examples include: Python with braces, adding x++ etc to Python, but the best one is clearly running (very lightly prepared) C++ code with the python vm using the cppyy module (!) by running 'python test.cpp'
Fun news, Python 3.14 will allow "python -m json" as well as "python -m json.tool".
This was my first code contribution to #Python. 🥳
It was a small but slow-rolling change (wrote an article months ago that had me wonder about the need for "json.tool", looked into it, got confirmation and encouragement from core devs that this might make sense to change, and made the change).
#Python 3.12.5 is out!
beautiful
On macOS, `pipx run --python 3.12 mopup` is so much better than any of the on-demand builders and their various weird failure modes. Even standalone-python has failed on me in practice due to the way it’s compiled.
My favorite feature remains that it’s a universal build with a force-x86 binary called `python3.12-intel64` that makes it easy to create virtualenvs that are guaranteed to be Intel-base (and not ARM).
https://blog.glyph.im/2023/08/get-your-mac-python-from-python-dot-org.html
Tracing the evolution of a Python function with git log
The article explains how to use the git log -L command to trace the evolution of a specific function in a Python file, providing a more focused view of code changes over time. It demonstrates the process using an example from the Authlib package, highlighting the importance of setting up .gitattributes for Python files and showcasing how this method can help in debugging and understandin...
https://nerderati.com/tracing-the-evolution-of-a-python-function-with-git-log/
Django 5.1 released
The Django team is happy to announce the release of Django 5.1.
The release notesshowcase a kaleidoscope of improvements. A few highlights are:
Easier guardrails for authentication: the new and shiny LoginRequiredMiddleware,when added to <tt class="docutils literal">MIDDLEWARE</tt>, enforces authentication for all views by default.
A more inclusive framework: Django 5.1 includes several accessibilityenhancements, such as improved screen reader support in the admininterface, more semantic HTML elements, and better association of help textand labels with form fieldsets.
The second oldest ticket fixed in this release provides the long awaitedquerystring template tag,which greatly simplifies the handling of query strings when building URLs intemplates.
(If you are curious about the oldest ticket fixed in this release, check out Ticket #10743.)
You can get Django 5.1 from our downloads page or from the Python Package Index. The PGP key ID used for thisrelease is Natalia Bidart: 2EE82A8D9470983E.
With the release of Django 5.1, Django 5.0 has reached the end of mainstreamsupport. The final minor bug fix release, 5.0.8, was issued yesterday.Django 5.0 will receive security and data loss fixes until April 2025. Allusers are encouraged to upgrade before then to continue receiving fixes forsecurity issues.
See the downloads page for a table ofsupported versions and the future release schedule.
https://www.djangoproject.com/weblog/2024/aug/07/django-51-released/
@hamatti
Tip: it's probably better to prefer pprint.pp() over pprint.pprint() because pprint() sorts dictionaries by default, which can be surprising now that dictionaries maintain insertion order.
pprint.pp() was added in Python 3.8 so is available for all supported versions.
https://docs.python.org/3/library/pprint.html#pprint.pp
We have just released eGenix PyRun 2.5.0 - A Python runtime taking up only 6MB on disk, making it ideal to product distributions, container images and even local venvs.
https://www.egenix.com/company/news/eGenix-PyRun-2.5.0-GA.html
It has been said that the great scientific disciplines are examples of giants standing on the shoulders of other giants. It has also been said that the software industry is an example of midgets standing on the toes of other midgets.
— Alan Cooper
I’m very exhausted to announce attrs 24.1.0!
It comes severely delayed, but I hope the many bug fixes, speed improvements, and features like __attrs_init_subclass__ or three-argument converters make the wait worth it.
Many thanks go to Klaviyo for their continued support at The Dedicated Organization tier!
https://github.com/python-attrs/attrs/releases/tag/24.1.0 #Python
Just published the second post: "Mining JIT traces for missing optimizations with Z3"
https://pypy.org/posts/2024/07/mining-jit-traces-missing-optimizations-z3.html