|
From: <sub...@co...> - 2006-10-04 15:20:22
|
Author: phd Date: 2006-10-04 09:20:19 -0600 (Wed, 04 Oct 2006) New Revision: 1978 Modified: SQLObject/docs/News.txt Log: SelectResults cannot be queried for truth value; __nonzero__() raises NotImplementedError. Modified: SQLObject/docs/News.txt =================================================================== --- SQLObject/docs/News.txt 2006-10-04 15:19:59 UTC (rev 1977) +++ SQLObject/docs/News.txt 2006-10-04 15:20:19 UTC (rev 1978) @@ -66,6 +66,11 @@ * Support for sqlite3 (a builtin module in Python 2.5). +* SelectResults cannot be queried for truth value; in any case it was + meaningless - the result was always True; now __nonzero__() raises + NotImplementedError in case one tries bool(MyTable.select()) or + "if MyTable.select():..." + Bug Fixes --------- |