In crates/stdlib/src/sqlite.rs around lines 2176-2360 (affecting the methods
at/near lines 2207, 2222, 2227, 2261, 2267, 2313, 2350), add the same
closed-connection guard used at lines 2176-2181 to each listed blob method:
before calling self.inner(vm)? in write(), tell(), seek(), __enter__(),
__exit__(), subscript(), and ass_subscript(), check if
self.connection.is_closed() and if so return Err(new_programming_error(vm,
"Cannot operate on a closed database".to_owned())); this ensures consistent
CPython-like error messages for all blob operations when the connection is
closed.