Tags · webpy/webpy
web.py release v0.70 (#775) * web.py release v0.70 * Ruff: set upper limits on code complexity * pre-commit autoupdate * pre-commit autoupdate
0.40
Toggle 0.40's commit message
Fixed the issue of len not working with the result of db query. (#554) * Fixed the issue of len not working with the result of db query. The earlier implentation was adding an __len__ function to the result object and that worked fine for old-style classes. With old-style classes gone in Python 3, that started giving trouble. Fixed it by writing a ResultSet class and a special SqliteResultSet which doesn't support len, but supports bool. Fixes #547. * cleanup of db tests.