Skip to content
Snippets Groups Projects

Switch to Python 3.12

Merged Erwan Rouchet requested to merge python3.12 into release-1.7.3
All threads resolved!
7 files
+ 12
16
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -86,7 +86,7 @@ def save_sqlite(rows, table, cursor):
return float(value)
# Show very explicit error messages if we stumble upon an unexpected type
# https://docs.python.org/3.10/library/sqlite3.html#sqlite-and-python-types
# https://docs.python.org/3.12/library/sqlite3.html#sqlite-and-python-types
assert value is None or isinstance(value, (int, float, str, bytes)), f"Type {type(value)} is not supported by sqlite3"
return value
Loading