Planet Python RSS
210 subscribers
18.4K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
LernerPython blog, from Reuven Lerner: Python | operator: Bitwise or and dict merging with __or__

Link: https://lernerpython.com/2026/09/11/python-operator-bitwise-or-and-dict-merging-with-or/


In Python, we use “or” for conditions. | is bitwise (not boolean) “or”:
x = 10 # 0b1010
y = 13 # 0b1101
x | y # 15, or 0b1111
| runs __or__. On dicts, | combines.
d1 = {'a':10, 'b':2}
d2 = {'b':10,
LernerPython blog, from Reuven Lerner: Python in operator: How __contains__ speeds up membership tests

Link: https://lernerpython.com/2026/09/14/python-in-operator-how-contains-speeds-up-membership-tests/


How does the “in” operator work in Python?
– If an object defines __contains__, then its (boolean) result is returned (coerced to bool).– If not, then Python iterates over it with __iter__
Can you fi
LernerPython blog, from Reuven Lerner: Python += calls __add__ and rebinds to a new object

Link: https://lernerpython.com/2026/09/15/python-calls-add-and-rebinds-to-a-new-object/


If you invoke +=, Python can use __add__.
MyClass implements __add__ (calling print for debugging):
m1 = MyClass(10)
m2 = MyClass(20)
m1 += m2 # prints "Now in MyClass.__add__"
m1 now refers to a ne
Speed Matters: fastlogging-rs

Link: https://brmmm3.github.io/posts/2026/09/16/fastlogging-rs/

fastlogging-rs: High-Performance Logging for many different Programming Languages
Logging is often the hidden bottleneck in your application.
Every log.info(...) call can block your hot path, serializ
Django Weblog: Executive Director Search Extended to September 22

Link: https://www.djangoproject.com/weblog/2026/sep/16/executive-director-search-extended/

We are extending the search for the Django Software Foundation's first Executive Director. Applications now close at the end of Tuesday, September 22, 2026, anywhere on Earth (AoE). As long as it is s
Wingware: Wing Python IDE Version 12.0.3 - September 14, 2026

Link: https://wingware.com/news/2026-09-14

Wing Python IDE version 12.0.3 has been released. This release adds support for
Python 3.15, substantially improves source code analysis of modern type hints,
and speeds up auto-completion in large Py
Talk Python to Me: #563: Getting Started with Rust as Python Devs

Link: https://talkpython.fm/episodes/show/563/getting-started-with-rust-as-python-devs

Lint the entire CPython code base from scratch. It takes 0.3 seconds. Three blinks of an eye.


That is ruff, and it is written in Rust. So are Pydantic, Polars, uv, and Granian. Rust shows up in Pyth
Ned Batchelder: Silence is golden lightning talk

Link: https://nedbatchelder.com/blog/202609/silence_is_golden_lightning_talk

This is a lightning talk I did at PyCon US 2026: Silence is Golden. The
overall message is to leave some quiet time so that reluctant speakers have a
chance to participate. I start with a jokey discl
Graham Dumpleton: Introducing jupyterlab-workshop

Link: https://grahamdumpleton.me/posts/2026/09/introducing-jupyterlab-workshop/

When I released the 24 wrapture workshops last week, they ran in JupyterLab on mybinder with the instructions in a side panel, and I said at the end of that post that the panel deserved a post of its
Python Software Foundation: Announcing the 2026 Python Packaging Council Election Results!

Link: https://pyfound.blogspot.com/2026/09/announcing-2026-python-packaging.html

The inaugural Python Packaging Council (PPC) election has concluded. With 17 candidates and plenty of lively AMA discussions on DPO, we are pleased to see the level of engagement with this first PPC e
Python Software Foundation: Announcing the 2026 PSF Board Election Results!

Link: https://pyfound.blogspot.com/2026/09/announcing-2026-psf-board-election.html

The 2026 election for the PSF Board created an opportunity for conversations about the PSF's work to serve the global Python community. We appreciate community members' perspectives, passion, and enga
Bob Belderbos: Why Rust makes you import a trait to use its methods

Link: https://belderbos.dev/blog/rust-import-traits-to-use-methods/

An interesting challenge for a new student came up in our Rust cohort: they opened a file and wanted to read its contents from disk, but the compiler refused to let them call read_to_string.

This is
Graham Dumpleton: Writing a workshop for JupyterLab

Link: https://grahamdumpleton.me/posts/2026/09/writing-a-workshop-for-jupyterlab/

Yesterday's post introduced jupyterlab-workshop and showed one page of a workshop. This one writes a whole workshop from an empty directory. It is small enough to fit in a post, but it has everything
Bob Belderbos: Protocol or ABC for a pluggable interface?

Link: https://belderbos.dev/blog/protocol-vs-abc-provider-interface/

I was designing the provider boundary with a student for a CLI tool that talks to two different image-generation backends.
Same inputs from the user, two different SDKs underneath. We were figuring ou
ListenData: AutoGPT : Everything You Need To Know

Link: https://www.listendata.com/2023/04/autogpt-explained-everything-you-need.html

In this post we have covered AutoGPT in detail. By end of this tutorial, you will not only understand how it works but also will be able to run it on your system. Auto-GPT has gained a significant amo
Django Weblog: Proposed change to DSF voting membership

Link: https://www.djangoproject.com/weblog/2026/sep/18/proposed-change-to-dsf-voting-membership/

We're proposing a new voting membership status to help us track active members. If you've voted in a Board election in the last two years, you're active, and you count toward quorum. If you haven't, y
LernerPython blog, from Reuven Lerner: Python callables: Any object that defines __call__

Link: https://lernerpython.com/2026/09/17/python-callables-any-object-that-defines-call/


What is a “callable” in Python? Typically, a function or class.
But really, it’s anything with __call__ defined:
class MyClass:
def __call__(self):
return 'Hi!'
m = MyClass()
m() # 'Hi!'
LernerPython blog, from Reuven Lerner: np.nan in Pandas: Why missing values break comparisons

Link: https://lernerpython.com/2026/09/18/np-nan-in-pandas-why-missing-values-break-comparisons/


Missing data in Python Pandas? We use nan (“not a number”), which comes from NumPy.
np.nan is a float, but not a normal one:
np.nan + 10 # nan
np.nan * 12345 # nan
sum([10, 20, np.na
Bob Belderbos: Ship Your First Python App: a Free Course on the Local Dev Workflow

Link: https://belderbos.dev/blog/free-python-foundations-course-local-dev-workflow/

I keep hearing this a lot: the Python syntax I picked up in an afternoon, but shipping a real project meant learning ten more things. There is a stark difference between writing some code in Python vs
PyPy: PyPy v78.0.0 release

Link: https://www.pypy.org/posts/2026/09/pypy-v800-release.html

PyPy v8.0.0: release of python 2.7, 3.11,3.12 beta released 2026-09-19
The PyPy team is proud to release version 8.0.0 of PyPy after the previous
release on May 26, 2026. This is a major new version,