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

llm-anthropic 0.27

Release: llm-anthropic 0.27 This release of the Anthropic plugin for LLM mainly provides compatibility with the recently released anthropic v1.0.0 Python library, which switches from httpx to httpx2. OpenAI made the same change in their v3.0.0…

simon-willison

Your executable is a SQLite database

Your executable is a SQLite database Farid Zakaria describes a neat Linux pattern for creating a SQLite database file that can be directly used as an executable binary. The trick sets the SQLite file format's 4-byte application ID (68 bytes into the…

simon-willison

Use a with block to control export (public/private/__all__)

Presently, there is a lot of debate about how to do export control. An alternative suggestion is an export context manager that remains compatible with __all__: with export(): # Everything declared inside export blocks is exported. import math…

discuss-python-ideas

Add the stop_exception parameter to iter() and aiter()

Add the stop_exception parameter to iter() and aiter() The two-argument iter() only covers callables which report exhaustion by returning a special value. Many callables raise an exception instead — list.pop() and deque.popleft() raise IndexError,…

discuss-python

Quoting Drew Breunig

Prior to Fable, it felt silly to waste too much time improving your coding harness or context strategies. A new model would arrive at the same price (or cheaper!) and paper over most of your problems. But then Fable landed. It was (and still is!)…

simon-willison

Newbie trying to nest instrumentation queries in array

Hi, gang, This is my second week of Python - I’m trying. I want to test a phono preamp stage at various frequencies, so I have an array named test_param where each row has 4 elements: the frequency for the signal generator, the time scale and input…

discuss-python

Request to link my PSF Contributing Membership account

I recently became a PSF Contributing Member and confirmed my voting intention on psfmember.org. My previous emails to psf-donations@python.org bounced with a “554 5.7.1 Sender address rejected: Spam” error. Could you please help me link my…

discuss-python

Guidance on creating a PyPI Organization for an open-source organization

Hi everyone, I’m looking for some guidance on creating a PyPI Organization for Plizent Foundation. I’ve already submitted an organization request to PyPI Support, but I’m still waiting for an update. I’d like to understand whether there is anything…

discuss-python

A puzzle about the StopIteration exception

This category is for help and general discussion. This is a general discussion topic. I found the interface to the StopIteration exception a bit puzzling. I think I’ve solved the puzzle now. Perhaps some of you would like to look at it, and try to…

discuss-python

Freethreading builds for official Python container images

To promote usage of no-GIL it would be great to have official freethreading container images. The latest python tag is 3.14.7. I suggest also tagging 3.14.7-freethreading (and associated images, e.g. 3.14.7-freethreading-trixie. 2 posts - 2…

discuss-python-ideas

Poll: Public/internal handling — what behavior do we want?

Following the recent discussions around PEP 842, PEP 843, and PEP 844, and using two namespaces, I’d like to get a broader sense of what semantics people actually want from a public/internal distinction. The goal of this poll is to understand what…

discuss-python-ideas

Quoting Linus Torvalds

And this was a debug session from hell, enormously helped by an AI doing much of the grunt-work. I'd like to call it my tireless helper, but the AI several times stated flat out that this was impossible and unsolvable and that we should just write a…

simon-willison

llm 0.33

Release: llm 0.33 My highlights from this release: Upgraded to the OpenAI Python library 3.x and switched the HTTP client dependency from httpx to httpx2. #1608, #1631 I shipped a quick 0.32.1 fix for this yesterday, but this is the more…

simon-willison

1312 items available