Skip to content
TILens What matters today in tech v0.4.0
Theme
Topics - Python
Calendar · NOV 2026
‹ Nov 2026 ›
  1. JAN
  2. FEB
  3. MAR
  1. APR
  2. MAY
  3. JUN
  1. JUL
  2. AUG
  3. SEP
  1. OCT
  2. NOV
  3. DEC
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Favorites (0)

Community stream

Community

Self-generated prompt injections in compaction summaries

Self-generated prompt injections in compaction summaries In Our framework for reporting model misalignment OpenAI provide "six reports on unexpected or concerning model behavior we’ve observed in the last six months". This one here is my favorite:…

simon-willison

PEP 845: Leading-Dot Value Patterns

For your consideration: PEP 845, with the following abstract: This PEP enables the use of non-attribute names as value patterns in match statements. A name prefixed with a dot is looked up using the normal name resolution rules and compared to the…

discuss-python-peps

Class-like syntax for union type aliases and natural docstrings

In many type aliases, a union is the outermost operation. The recent PEP 846 (docstrings for type aliases) reminded me of an old idea of mine. That PEP proposes to attach a string statement to the preceding type statement, because the current type…

discuss-python-ideas

Support File Descriptors in os.readlink()

Hello! I’d like to propose adding support for file descriptors to os.readlink(). Currently, in os.readlink() can be called with strings, bytes, and (in general) PathLike objects (see the docs). It reads a symlink and returns the path that the…

discuss-python-ideas

Bob Belderbos: Why Rust makes you import a trait to use its methods

An interesting challenge for a new developer 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 what triggered a great discussion: let mut file…

planet-python

datasette 1.0a40

Release: datasette 1.0a40 Same security fix as 0.65.5, plus some neat new features and bug fixes: Plugins can now launch and manage background tasks using the new datasette.add_background_task() method. Thanks, Alex Garcia. I've migrated Datasette…

simon-willison

datasette 0.65.5

Release: datasette 0.65.5 Security fix for an issue where a trailing newline in a requested table name could bypass table permissions and expose private rows, reported by dpfkdlemtp in GHSA-h547-rmjf-5m2m. Tags: security, datasette

simon-willison

Claude Cowork and chat are now one Claude

Claude Cowork and chat are now one Claude In hopefully good news for anyone who, like me, was increasingly confused at Cowork v.s. Claude v.s. Claude Code: Starting today, Claude Cowork and chat are merging into one Claude. Bring a quick question,…

simon-willison

Quoting Mustafa Suleyman

We should not treat models as though they have feelings, preferences, rights, or any entitlement to our welfare. Consciousness is the foundation of our ethical, legal, and political systems. To invite another entity to share any flavor of these…

simon-willison

Ned Batchelder: 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 disclaimer because I followed Simon Willison who gave…

planet-python

A literal constructor for frozensets [EDIT: already discussed in a PEP]

Structures such as lists, tuples, dictionaries, etc., have literal constructors, assert [] == list() assert () == tuple() assert {} == dict() but frozensets do not. To distinguish this from a dictionary, and to expand on the following idea: In a…

discuss-python-ideas

Talk Python to Me: #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. <br/> <br/> That is ruff, and it is written in Rust. So are Pydantic, Polars, uv, and Granian. Rust shows up in Python three ways: tools that happen to be…

planet-python

Django Weblog: Executive Director Search Extended to September 22

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 still September 22 somewhere, your application…

planet-python

Speed Matters: 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, serialize your threads, and slow down your I/O-bound…

planet-python

`unexpanduser` counterpart to `os.path.expanduser`

Hey. Would there be any interest in adding a counterpart for `os.path.expanduser` like: def unexpanduser(path): home_directory = os.path.expanduser("~") if os.path.isabs(home_directory) and os.path.isabs(path) and os.path.commonpath((home_directory,…

discuss-python-ideas

Gemini Live audio

Tool: Gemini Live audio Google released Gemini 3.8 Live and 3.8 Live Extended Thinking today - two new speech-to-speech models that are a similar shape to OpenAI's GPT-Live family. I pointed GPT-6 Astra Extra High at the documentation and had it…

simon-willison

1312 items available