Planet Python RSS
208 subscribers
18.6K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Software Foundation: How the Python ecosystem responded to the eMudhra intermediate compromise

Link: https://pyfound.blogspot.com/2026/11/how-python-ecosystem-responded-to.html


The news of the eMudhra Intermediate CA compromise was published on October 20th, 2026. Responding to an incident like a Certificate Authority (CA) compromise at an ecosystem-scale is far from “routi
Glyph Lefkowitz: Why You Should Care About The Political Project of Twisted

Link: https://blog.glyph.im/2026/11/the-project-of-twisted.html

Twisted was originally the network component of a
text-based role-playing game engine. In the late 90s when it was first
developed, the idea of a video game being able to send you actual emails and
i
LernerPython blog, from Reuven Lerner: Python 3.15 comprehension unpacking: Why you can’t transform items

Link: https://lernerpython.com/2026/11/05/python-3-15-comprehension-unpacking-why-you-cant-transform-items/


The comprehension-unpacking syntax in Python 3.15 is great, but you cannot transform the unpacked elements.
Given:
[[10, 20, 30], [40, 50, 60], [70, 80]]
We can get the individual numbers, but cannot
Mike Driscoll: An Intro to Python Logging Handlers (Video)

Link: https://blog.pythonlibrary.org/2026/11/06/12823/

Learn about Python’s log handlers, part of the built-in logging module, in this video.

This video is a part of my Python Logging Video Course. Check it out today!
The post An Intro to Python Logging
Core Dispatch: Core Dispatch #12

Link: https://coredispatch.xyz/editions/12

Welcome back to Core Dispatch! This edition covers October 9 through November 6,
2026. Python 3.16.0 alpha 1
is out, with alpha 2 due this Tuesday, November 10.
October kept the release team busy: we
"Michael Kennedy's Thoughts on Technology": Catch the import. Name the culprit. Keep threads free: Introducing gilguard

Link: https://mkennedy.codes/posts/catch-the-import-name-the-culprit-keep-threads-free-introducing-gilguard/


TL;DR: gilguard is a tiny, zero-dependency package for free-threaded Python (3.13t, 3.14t, 3.15t). Import it first. If any later import quietly turns the GIL back on, you get an error naming the exte
Graham Dumpleton: Muru: looking inside the workers

Link: https://grahamdumpleton.me/posts/2026/11/muru-looking-inside-the-workers/

In a first look at Muru I made a point of the access log separating how long a request waited for a worker from how long it spent in the application. That tells you where a slow request lost its time,
LernerPython blog, from Reuven Lerner: Pandas 3.1 `select` method: Retrieving specific columns

Link: https://lernerpython.com/2026/11/06/pandas-3-1-select-method-retrieving-specific-columns/


Want to retrieve specific columns from your Python Pandas data frame? In the past, you would say
df[['x', 'y']]
But now, with version 3.1, you can use the “select” method:
df.select('x', 'y')
The pos
Graham Dumpleton: Muru: how it fits together

Link: https://grahamdumpleton.me/posts/2026/11/muru-how-it-fits-together/

In a first look at Muru and looking inside the workers I have been showing what Muru can do in development mode, without saying much about how it is put together. Words like host, worker, edge and rel
Graham Dumpleton: Muru: import once, fork many

Link: https://grahamdumpleton.me/posts/2026/11/muru-import-once-fork-many/

Every time Muru has started an application in this series, starting with a first look at Muru, one of the first lines of output has been something like:
muru.host[88644]: preloaded app:application in
LernerPython blog, from Reuven Lerner: Pandas 3.1 filter: Selecting rows with a pd.col condition

Link: https://lernerpython.com/2026/11/08/pandas-3-1-filter-selecting-rows-with-a-pd-col-condition/


Starting with Python Pandas 3.1, use “filter” to apply a condition to rows. So:
(
df
.loc[ pd.col('passenger_count') > 1 , 'trip_distance']
.mean()
)
can now be (the much slower):
(
df
.fil
Armin Ronacher: AI and Irontown

Link: https://lucumr.pocoo.org/2026/11/9/irontown/

For our last movie night we watched Princess
Mononoke. I remembered loving
that movie when I was younger, but watching it as an adult made me once again
realize how Miyazaki has a way of expressing d
Graham Dumpleton: Muru: HTTPS in development

Link: https://grahamdumpleton.me/posts/2026/11/muru-https-in-development/

Everything I have shown of Muru so far has been served over plain HTTP on port 8080. That is how almost everyone runs a Python web application while developing it, and most of the time it is fine. The
The Python Coding Stack: Generalist vs Specialist in the After AI Era

Link: https://www.thepythoncodingstack.com/p/generalists-specialists-ai

I always struggled to identify whether I was a specialist or a generalist.During my studies, I narrowed my focus at every step. I studied maths, physics, and chemistry at A level, then maths and physi
Python Bytes: #504 Who turned the GIL back on?

Link: https://pythonbytes.fm/episodes/show/504/who-turned-the-gil-back-on

Topics covered in this episode:

PyPI's redesigned project pages now warn when provenance changes
gilguard catches the import that turns the GIL back on
pip 26.3: pylock extras, and pip says plainly t
PyCoder’s Weekly: Issue #760: Type Checkers, Claude Code Hooks, MarkItDown, and More (2026-11-10)

Link: https://pycoders.com/issues/760

#760 – NOVEMBER 10, 2026 View in Browser » How a Python Type Checker Decides a Variable Is Unused A variable is unused only if no read resolves to its binding and in Python that read can sit ins