Tags: gjdv/webpy
Tags
web.py release v0.70 (webpy#775) * web.py release v0.70 * Ruff: set upper limits on code complexity * pre-commit autoupdate * pre-commit autoupdate
Fixed the issue of len not working with the result of db query. (webp… …y#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 webpy#547. * cleanup of db tests.
PreviousNext