]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed regression introduced in 0.7b4 (!) whereby
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 18 Apr 2011 01:03:02 +0000 (21:03 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 18 Apr 2011 01:03:02 +0000 (21:03 -0400)
commitb02193bd7e84a8fe1ac74d16cf78a90bd3d59f7c
tree54044fe649546626f40a269aff16fe2a0244327f
parent4dd69ff878b2b7fe60a48ba7d12c29183a5f8012
- Fixed regression introduced in 0.7b4 (!) whereby
query.options(someoption("nonexistent name")) would
fail to raise an error.  Also added additional
error catching for cases where the option would
try to build off a column-based element, further
fixed up some of the error messages tailored
in [ticket:2069]
- added another huge crapload of tests to the existing
crapload of tests we already had for options..._get_paths()
and dependencies are covered 100% now
- one case still doesn't do the "right" thing, using an option
specific to relationships will silently pass if the endpoint
is a column-based attribute, and vice versa.
CHANGES
lib/sqlalchemy/__init__.py
lib/sqlalchemy/orm/interfaces.py
test/orm/test_query.py