Simon Willison
Simon Willison
The absolute most disruptive change I could make is to switch style away from `[table_name]` to `"table_name"` in `CREATE TABLE` statements - which would be aesthetically more pleasing but would...
So many tests like this one would have to be updated: https://github.com/simonw/sqlite-utils/blob/094b010fd870e9fe9f020d4df200d4de7f27209b/tests/test_create.py#L52-L61
Here's how to get a list of SQLite reserved words directly from SQLite using `ctypes`: https://claude.ai/share/69d7fead-9d2c-4083-b00a-b9a389fc2660 ```python import ctypes import os import sys import platform from ctypes.util import find_library def...
GitHub is pretty bad at rendering notebooks generally - in Mobile Safari the code blocks have no horizontal scrollbar, making it impossible to read them. I recommend building the notebooks...
Oops, the lack of tests took us to
Here's that coverage report: 
Surrounding code: https://github.com/simonw/asgi-csrf/blob/a18f7d0c9ad307709578f20b94b7fbbea112e857/asgi_csrf.py#L262-L305
I think this might occur on an empty POST form submission.
I spent a while on this and still couldn't recreate it, so I've dropped the coverage threshold to 99% so I can move on and work on other things.
I wonder if this is some kind of terminal configuration thing? Like maybe I've never seen this because my terminal is happy displaying UTF-8?