[sqlalchemy] .count()'ing with limiting query.

2011-06-07 Thread Filip Zyzniewski - Tefnet
Hi everybody, After switching from SQLAlchemy 0.6.5 to 0.7.0 we have observed a problem with such an example code: (copy at http://ideone.com/WB36Y) == # Fails with Python-2.7.1 and SQLAlchemy-0.7.0 # import sqlalchemy import

Re: [sqlalchemy] .count()'ing with limiting query.

2011-06-07 Thread Michael Bayer
On Jun 7, 2011, at 8:57 AM, Filip Zyzniewski - Tefnet wrote: # this line: print BillGates.subordinates.count() # raises: # Traceback (most recent call last): # File count_problem.py, line 60, in module # print BillGates.subordinates.count() # File