Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Quiz: Python 3.14 Preview: Better Syntax Error Messages

Link: https://realpython.com/quizzes/python314-error-messages/

This quiz helps you get familiar with the upgraded error messages in Python 3.14. You’ll review new keyword typo suggestions, improved math errors, string prefix feedback, and more.
Put your understan
Real Python: The Real Python Podcast – Episode #268: Advice on Beginning to Learn Python

Link: https://realpython.com/podcasts/rpp/268/

What's changed about learning Python over the last few years? What new techniques and updated advice should beginners have as they start their journey? This week on the show, Stephen Gruppetta and Mar
Luke Plant: Breaking “provably correct” Leftpad

Link: https://lukeplant.me.uk/blog/posts/breaking-provably-correct-leftpad/

I don’t know much about about formal methods, so a while back I read Hillel Wayne’s post Let’s prove Leftpad with interest. However:

I know Donald Knuth’s famous quote: “Beware of bugs in the above c
Mariatta: Disabling Signup in Django allauth

Link: https://mariatta.ca/posts/disabling-signup-django-allauth/

Django allauth
Django allauth is a popular third party package that provides a lot of functionality for handling user authentication,
with support for social authentication, email verification, multi-
Graham Dumpleton: Lazy imports using wrapt

Link: https://grahamdumpleton.me/posts/2025/10/lazy-imports-using-wrapt/

PEP 810 (explicit lazy imports) was recently released for Python. The idea with this PEP is to add explicit syntax for implementing lazy imports for modules in Python.
lazy import json

Lazily importi
Rodrigo Girão Serrão: TIL #134 – = alignment in string formatting

Link: https://mathspp.com/blog/til/-alignment-in-string-formatting


Today I learned how to use the equals sign to align numbers when doing string formatting in Python.
There are three main alignment options in Python's string formatting:



Character
Meaning




<
al