]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
17 years agoTiny fix to test setup logic.
Jason Kirtland [Tue, 4 Nov 2008 18:29:33 +0000 (18:29 +0000)] 
Tiny fix to test setup logic.

17 years ago- Simplified the check for ResultProxy "autoclose without results"
Mike Bayer [Tue, 4 Nov 2008 17:28:26 +0000 (17:28 +0000)] 
- Simplified the check for ResultProxy "autoclose without results"
to be based solely on presence of cursor.description.
All the regexp-based guessing about statements returning rows
has been removed [ticket:1212].

17 years ago- added 'EXPLAIN' to the list of 'returns rows', but this
Mike Bayer [Tue, 4 Nov 2008 13:18:13 +0000 (13:18 +0000)] 
- added 'EXPLAIN' to the list of 'returns rows', but this
issue will be addressed more fully by [ticket:1212].

17 years agoAdded a label for pg.
Jason Kirtland [Mon, 3 Nov 2008 04:41:06 +0000 (04:41 +0000)] 
Added a label for pg.

17 years ago- Fixed bug when using multiple query.join() with an aliased-bound
Mike Bayer [Mon, 3 Nov 2008 03:37:44 +0000 (03:37 +0000)] 
- Fixed bug when using multiple query.join() with an aliased-bound
descriptor which would lose the left alias.

17 years ago- Improved the behavior of aliased() objects such that they more
Mike Bayer [Mon, 3 Nov 2008 02:52:30 +0000 (02:52 +0000)] 
- Improved the behavior of aliased() objects such that they more
accurately adapt the expressions generated, which helps
particularly with self-referential comparisons. [ticket:1171]

- Fixed bug involving primaryjoin/secondaryjoin conditions
constructed from class-bound attributes (as often occurs
when using declarative), which later would be inappropriately
aliased by Query, particularly with the various EXISTS
based comparators.

17 years agoupdate call count
Mike Bayer [Mon, 3 Nov 2008 01:47:30 +0000 (01:47 +0000)] 
update call count

17 years agoAdded tests for Query.scalar(), .value() [ticket:1163]
Jason Kirtland [Mon, 3 Nov 2008 00:09:33 +0000 (00:09 +0000)] 
Added tests for Query.scalar(), .value() [ticket:1163]

17 years agoFixed assoc proxy examples [ticket:1191]
Jason Kirtland [Sun, 2 Nov 2008 22:50:12 +0000 (22:50 +0000)] 
Fixed assoc proxy examples [ticket:1191]

17 years agorevert r5220 inadvertently committed to trunk
Mike Bayer [Sun, 2 Nov 2008 22:11:40 +0000 (22:11 +0000)] 
revert r5220 inadvertently committed to trunk

17 years agoprogress so far
Mike Bayer [Sun, 2 Nov 2008 22:08:24 +0000 (22:08 +0000)] 
progress so far

17 years agoCorrected some ordering issues with tests.
Michael Trier [Sun, 2 Nov 2008 17:42:53 +0000 (17:42 +0000)] 
Corrected some ordering issues with tests.

17 years ago- mapper naming/organization cleanup
Mike Bayer [Sun, 2 Nov 2008 17:10:37 +0000 (17:10 +0000)] 
- mapper naming/organization cleanup
- gave into peer pressure and removed all __names
- inlined polymorphic_iterator()
- moved methods into categories based on configuration, inspection, persistence, row processing.
a more extreme change would be to make separate mixin classes for these or similar.

17 years agopep8 stuff
Mike Bayer [Sun, 2 Nov 2008 15:50:16 +0000 (15:50 +0000)] 
pep8 stuff

17 years ago- util.flatten_iterator() func doesn't interpret strings with
Mike Bayer [Fri, 31 Oct 2008 21:44:34 +0000 (21:44 +0000)] 
- util.flatten_iterator() func doesn't interpret strings with
__iter__() methods as iterators, such as in pypy [ticket:1077].

17 years agothe recent change to garbage collection of InstanceState meant that
Mike Bayer [Thu, 30 Oct 2008 14:40:10 +0000 (14:40 +0000)] 
the recent change to garbage collection of InstanceState meant that
the deferred lambda: created by lazy_clause would get a state with
no dict.  creates strong reference to the object now.

17 years agoAdded documentation for the MetaData.sorted_tables() method.
Michael Trier [Wed, 29 Oct 2008 17:43:06 +0000 (17:43 +0000)] 
Added documentation for the MetaData.sorted_tables() method.

17 years agoCorrected method documentation for MetaData.drop_all().
Michael Trier [Wed, 29 Oct 2008 17:31:14 +0000 (17:31 +0000)] 
Corrected method documentation for MetaData.drop_all().

17 years agoallow repr to leave stuff as unicode. I can't think of any reason for the old behavi...
Jonathan Ellis [Wed, 29 Oct 2008 00:48:33 +0000 (00:48 +0000)] 
allow repr to leave stuff as unicode.  I can't think of any reason for the old behavior except that I didn't understand unicode when I wrote it.  Not that I claim to fully understand it now.  fixes #1136

17 years agoAccept USING as a prefix or postfix modifer when reflecting keys. [ticket:1117]
Jason Kirtland [Tue, 28 Oct 2008 21:32:24 +0000 (21:32 +0000)] 
Accept USING as a prefix or postfix modifer when reflecting keys.  [ticket:1117]

17 years agoCorrects an import error when using echo_uow. Fixes #1205.
Michael Trier [Tue, 28 Oct 2008 21:10:31 +0000 (21:10 +0000)] 
Corrects an import error when using echo_uow. Fixes #1205.

17 years agofix #821
Jonathan Ellis [Tue, 28 Oct 2008 20:25:25 +0000 (20:25 +0000)] 
fix #821

17 years ago- added some abstraction to the attributes.History object
Mike Bayer [Tue, 28 Oct 2008 20:15:26 +0000 (20:15 +0000)] 
- added some abstraction to the attributes.History object
- Repaired support for "passive-deletes" on a many-to-one
relation() with "delete" cascade. [ticket:1183]

17 years agoUpdated UOWEventHandler so that it uses session.add() instead of session.save_or_upda...
Michael Trier [Tue, 28 Oct 2008 19:59:53 +0000 (19:59 +0000)] 
Updated UOWEventHandler so that it uses session.add() instead of session.save_or_update(). Fixes #1208.

17 years agoCorrected typo in Types docs.
Michael Trier [Tue, 28 Oct 2008 18:09:22 +0000 (18:09 +0000)] 
Corrected typo in Types docs.

17 years agoMysql no longer expects include_columns to be specified in lowercase. Fixes #1206.
Michael Trier [Tue, 28 Oct 2008 16:48:13 +0000 (16:48 +0000)] 
Mysql no longer expects include_columns to be specified in lowercase. Fixes #1206.

17 years agoFixed mysql FK reflection for the edge case where a Table has expicitly provided...
Jason Kirtland [Mon, 27 Oct 2008 22:56:53 +0000 (22:56 +0000)] 
Fixed mysql FK reflection for the edge case where a Table has expicitly provided a schema= that matches the connection's default schema.

17 years agor/m wildcard imports. fixes #1195
Jonathan Ellis [Mon, 27 Oct 2008 19:49:49 +0000 (19:49 +0000)] 
r/m wildcard imports.  fixes #1195

17 years ago- InstanceState object now removes circular references to
Mike Bayer [Sun, 26 Oct 2008 20:02:19 +0000 (20:02 +0000)] 
- InstanceState object now removes circular references to
itself upon disposal to keep it outside of cyclic garbage
collection.

17 years ago- moved _FigureVisitName into visitiors.VisitorType, added Visitor base class to...
Mike Bayer [Sat, 25 Oct 2008 19:44:21 +0000 (19:44 +0000)] 
- moved _FigureVisitName into visitiors.VisitorType, added Visitor base class to reduce dependencies
- implemented _generative decorator for select/update/insert/delete constructs
- other minutiae

17 years agocall drop # 2
Mike Bayer [Sat, 25 Oct 2008 18:24:13 +0000 (18:24 +0000)] 
call drop # 2

17 years agocall drop
Mike Bayer [Sat, 25 Oct 2008 18:23:46 +0000 (18:23 +0000)] 
call drop

17 years ago- When using Query.join() with an explicit clause for the
Mike Bayer [Sat, 25 Oct 2008 18:04:59 +0000 (18:04 +0000)] 
- When using Query.join() with an explicit clause for the
ON clause, the clause will be aliased in terms of the left
side of the join, allowing scenarios like query(Source).
from_self().join((Dest, Source.id==Dest.source_id)) to work
properly.

17 years agosmall fix
Mike Bayer [Sat, 25 Oct 2008 18:00:37 +0000 (18:00 +0000)] 
small fix

17 years agoa couple of refinements
Mike Bayer [Sat, 25 Oct 2008 17:19:15 +0000 (17:19 +0000)] 
a couple of refinements

17 years agoremove erroneous comments
Mike Bayer [Fri, 24 Oct 2008 19:43:29 +0000 (19:43 +0000)] 
remove erroneous comments

17 years agotwo more cache examples
Mike Bayer [Fri, 24 Oct 2008 19:41:25 +0000 (19:41 +0000)] 
two more cache examples

17 years agoauto_convert_lobs=False honored by OracleBinary, OracleText types
Mike Bayer [Fri, 24 Oct 2008 17:09:58 +0000 (17:09 +0000)] 
auto_convert_lobs=False honored by OracleBinary, OracleText types
[ticket:1178]

17 years ago- fixed some oracle unit tests in test/sql/
Mike Bayer [Fri, 24 Oct 2008 15:58:17 +0000 (15:58 +0000)] 
- fixed some oracle unit tests in test/sql/
- wrote a docstring for oracle dialect, needs formatting perhaps
- made FIRST_ROWS optimization optional based on optimize_limits=True, [ticket:536]

17 years ago2.4 callcounts of course go up for no apparent reason
Mike Bayer [Thu, 23 Oct 2008 02:39:52 +0000 (02:39 +0000)] 
2.4 callcounts of course go up for no apparent reason

17 years ago- CompileTests run without the DBAPI being used
Mike Bayer [Thu, 23 Oct 2008 02:35:08 +0000 (02:35 +0000)] 
- CompileTests run without the DBAPI being used
- added stack logic back to visit_compound(), pared down is_subquery

17 years agocall count pinata party
Mike Bayer [Thu, 23 Oct 2008 02:22:57 +0000 (02:22 +0000)] 
call count pinata party

17 years agoDemonstrate mssql url examples for the database engine documentation. Closes #1198.
Michael Trier [Thu, 23 Oct 2008 02:09:27 +0000 (02:09 +0000)] 
Demonstrate mssql url examples for the database engine documentation. Closes #1198.

17 years agoIncluded documentation about the defaults for create_session() and how they differ...
Michael Trier [Thu, 23 Oct 2008 01:47:44 +0000 (01:47 +0000)] 
Included documentation about the defaults for create_session() and how they differ from sessionmaker(). Closes #1197.

17 years agoCorrected case in mssql where binary expression has bind parameters on both sides.
Michael Trier [Thu, 23 Oct 2008 01:47:40 +0000 (01:47 +0000)] 
Corrected case in mssql where binary expression has bind parameters on both sides.

17 years ago- Added more granularity to internal attribute access, such
Mike Bayer [Wed, 22 Oct 2008 16:09:19 +0000 (16:09 +0000)] 
- Added more granularity to internal attribute access, such
that cascade and flush operations will not initialize
unloaded attributes and collections, leaving them intact for
a lazy-load later on.  Backref events still initialize
attrbutes and collections for pending instances.
[ticket:1202]

17 years agoadd lengths to cols
Mike Bayer [Tue, 21 Oct 2008 21:12:03 +0000 (21:12 +0000)] 
add lengths to cols

17 years ago- polymorphic_union() function respects the "key" of each
Mike Bayer [Tue, 21 Oct 2008 21:07:04 +0000 (21:07 +0000)] 
- polymorphic_union() function respects the "key" of each
Column if they differ from the column's name.

17 years ago- added NoReferencedColumnError, common base class of NoReferenceError
Mike Bayer [Tue, 21 Oct 2008 16:17:24 +0000 (16:17 +0000)] 
- added NoReferencedColumnError, common base class of NoReferenceError
- relation() won't hide unrelated ForeignKey errors inside of
the "please specify primaryjoin" message when determining
join condition.

17 years agoCorrected missing declaration in the mssql dialect test.
Michael Trier [Tue, 21 Oct 2008 03:21:16 +0000 (03:21 +0000)] 
Corrected missing declaration in the mssql dialect test.

17 years agoCorrected the is_subquery() check based on recent changes. Excluded the test_in_filte...
Michael Trier [Tue, 21 Oct 2008 02:46:43 +0000 (02:46 +0000)] 
Corrected the is_subquery() check based on recent changes. Excluded the test_in_filtering_advanced test for mssql.

17 years agoSlightly changed behavior of IN operator for comparing to empty collections. Now...
Ants Aasma [Mon, 20 Oct 2008 20:41:09 +0000 (20:41 +0000)] 
Slightly changed behavior of IN operator for comparing to empty collections. Now results in inequality comparison against self. More portable, but breaks with stored procedures that aren't pure functions.

17 years agoCorrected profiling expected call count down to 42 for the test_insert test.
Michael Trier [Mon, 20 Oct 2008 16:24:30 +0000 (16:24 +0000)] 
Corrected profiling expected call count down to 42 for the test_insert test.

17 years agoModifications to allow the backends to control the behavior of an empty insert. ...
Michael Trier [Mon, 20 Oct 2008 15:21:00 +0000 (15:21 +0000)] 
Modifications to allow the backends to control the behavior of an empty insert.  If supports_empty_insert is True then the backend specifically supports the 'insert into t1 () values ()' syntax.  If supports_default_values is True then the backend supports the 'insert into t1 default values' syntax.  If both are false then the backend has no support for empty inserts at all and an exception gets raised. Changes here are careful to not change current behavior except where the current behavior was failing to begin with.

17 years ago- Improved weakref identity map memory management to no longer
Mike Bayer [Sun, 19 Oct 2008 19:26:48 +0000 (19:26 +0000)] 
- Improved weakref identity map memory management to no longer
require mutexing, resurrects garbage collected instance
on a lazy basis for an InstanceState with pending changes.

17 years agoVerified that Subqueries are not allowed in VALUES. mssql supports a SELECT syntax...
Michael Trier [Sun, 19 Oct 2008 03:00:22 +0000 (03:00 +0000)] 
Verified that Subqueries are not allowed in VALUES. mssql supports a SELECT syntax but only as the source of all inserts.
(cherry picked from commit 4516db6b322fb1feaa04915f09b8b4fabd6b9735)

17 years agoCleaned up the create_connect_args so that it makes no expectations about keys. Fixes...
Michael Trier [Sun, 19 Oct 2008 01:18:15 +0000 (01:18 +0000)] 
Cleaned up the create_connect_args so that it makes no expectations about keys. Fixes 1193. Added server version info into mssql pyodbc dialect.

17 years agotiny tiny speed improvements....
Mike Bayer [Sat, 18 Oct 2008 19:39:34 +0000 (19:39 +0000)] 
tiny tiny speed improvements....

17 years agocall count still goes to 131 for 2.4 despite the removal of ~12 lines from visit_select()
Mike Bayer [Sat, 18 Oct 2008 18:25:21 +0000 (18:25 +0000)] 
call count still goes to 131 for 2.4 despite the removal of ~12 lines from visit_select()

17 years ago- 0.5.0rc3, doh
Mike Bayer [Sat, 18 Oct 2008 18:14:06 +0000 (18:14 +0000)] 
- 0.5.0rc3, doh
- The internal notion of an "OID" or "ROWID" column has been
removed.  It's basically not used by any dialect, and the
possibility of its usage with psycopg2's cursor.lastrowid
is basically gone now that INSERT..RETURNING is available.

- Removed "default_order_by()" method on all FromClause
objects.
- profile/compile/select test is 8 function calls over on buildbot 2.4 for some reason, will adjust after checking
the results of this commit

17 years agooracle doesnt seem to like CLOB in unions....
Mike Bayer [Sat, 18 Oct 2008 17:45:04 +0000 (17:45 +0000)] 
oracle doesnt seem to like CLOB in unions....

17 years ago- "not equals" comparisons of simple many-to-one relation
Mike Bayer [Sat, 18 Oct 2008 17:34:52 +0000 (17:34 +0000)] 
- "not equals" comparisons of simple many-to-one relation
to an instance will not drop into an EXISTS clause
and will compare foreign key columns instead.

- removed not-really-working use cases of comparing
a collection to an iterable.  Use contains() to test
for collection membership.

- Further simplified SELECT compilation and its relationship
to result row processing.

- Direct execution of a union() construct will properly set up
result-row processing. [ticket:1194]

17 years agoMoved r5164's @lazy_property to @memoized_property, updated existing @memoize consumers.
Jason Kirtland [Fri, 17 Oct 2008 20:04:11 +0000 (20:04 +0000)] 
Moved r5164's @lazy_property to @memoized_property, updated existing @memoize consumers.

17 years agoCache polymorphic_iterator in UOWTask; substantial savings for polymorphism-heavy...
Jason Kirtland [Fri, 17 Oct 2008 19:19:05 +0000 (19:19 +0000)] 
Cache polymorphic_iterator in UOWTask; substantial savings for polymorphism-heavy workloads.

17 years agoUnless I'm missing something mssql doesn't support and / or within column selects...
Michael Trier [Thu, 16 Oct 2008 17:14:30 +0000 (17:14 +0000)] 
Unless I'm missing something mssql doesn't support and / or within column selects. Even using the case when syntax it's not possible to test truth in this manner.

17 years ago- String's (and Unicode's, UnicodeText's, etc.) convert_unicode rel_0_5rc2
Mike Bayer [Sun, 12 Oct 2008 14:39:20 +0000 (14:39 +0000)] 
- String's (and Unicode's, UnicodeText's, etc.) convert_unicode
logic disabled in the sqlite dialect, to adjust for pysqlite
2.5.0's new requirement that only Python unicode objects are
accepted;
http://itsystementwicklung.de/pipermail/list-pysqlite/2008-March/000018.html

17 years agoreduce cruft related to serializable loaders
Mike Bayer [Sun, 12 Oct 2008 05:13:46 +0000 (05:13 +0000)] 
reduce cruft related to serializable loaders

17 years agoa much easier way to ArgSingleton
Mike Bayer [Sun, 12 Oct 2008 04:25:53 +0000 (04:25 +0000)] 
a much easier way to ArgSingleton

17 years agoRemoved the visit_function stuff in mssql dialect. Added some tests for the function...
Michael Trier [Sat, 11 Oct 2008 16:14:20 +0000 (16:14 +0000)] 
Removed the visit_function stuff in mssql dialect. Added some tests for the function overrides. Fixed up the test_select in the sql/defaults.py tests which was a mess.

17 years agoCorrection of mssql schema reflection in reflectable. Still a problem since the assum...
Michael Trier [Sat, 11 Oct 2008 16:14:07 +0000 (16:14 +0000)] 
Correction of mssql schema reflection in reflectable. Still a problem since the assumed default is dbo, whereas it could be modified by the connection.  Allows SchemaTest.test_select to pass now.

17 years agoindicated that test_empty_insert fails on mssql since pyodbc returns a -1 always...
Michael Trier [Thu, 9 Oct 2008 23:28:45 +0000 (23:28 +0000)] 
indicated that test_empty_insert fails on mssql since pyodbc returns a -1 always for the result.rowcount.

17 years agoCorrected docstring for Query.one. Fixes #1190.
Michael Trier [Wed, 8 Oct 2008 16:05:46 +0000 (16:05 +0000)] 
Corrected docstring for Query.one. Fixes #1190.

17 years ago- Oracle will detect string-based statements which contain
Mike Bayer [Tue, 7 Oct 2008 16:58:53 +0000 (16:58 +0000)] 
- Oracle will detect string-based statements which contain
      comments at the front before a SELECT as SELECT statements.
      [ticket:1187]

17 years agoAdded in sqlite3 DBAPI to the SQLite dbengine docs. This along with a wiki edit on...
Michael Trier [Sun, 5 Oct 2008 13:28:56 +0000 (13:28 +0000)] 
Added in sqlite3 DBAPI to the SQLite dbengine docs. This along with a wiki edit on Database Features should close #1145.

17 years agoDocumented synonym_for and comparable_using in the main docstring for declarative...
Michael Trier [Sun, 5 Oct 2008 03:51:48 +0000 (03:51 +0000)] 
Documented synonym_for and comparable_using in the main docstring for declarative. Fixes #1144.

17 years agoCorrected docs for declarative synonym incorrectly referring to instruments instead...
Michael Trier [Sun, 5 Oct 2008 03:30:58 +0000 (03:30 +0000)] 
Corrected docs for declarative synonym incorrectly referring to instruments instead of descriptor.

17 years agofixed test for #1175
Mike Bayer [Sun, 5 Oct 2008 00:24:43 +0000 (00:24 +0000)] 
fixed test for #1175

17 years ago- fix outerjoin, add order_by for DB variance
Mike Bayer [Sat, 4 Oct 2008 23:52:14 +0000 (23:52 +0000)] 
- fix outerjoin, add order_by for DB variance

17 years agoChange in #1165 tests to prevent MySQL from choking on a varchar without a length.
Michael Trier [Sat, 4 Oct 2008 23:46:02 +0000 (23:46 +0000)] 
Change in #1165 tests to prevent MySQL from choking on a varchar without a length.

17 years agoCorrects issue where engine.execute raised exception when given empty list. Fixes...
Michael Trier [Sat, 4 Oct 2008 23:19:05 +0000 (23:19 +0000)] 
Corrects issue where engine.execute raised exception when given empty list. Fixes #1175.

17 years ago- using contains_eager() against an alias combined with an overall query alias repair...
Mike Bayer [Sat, 4 Oct 2008 22:39:19 +0000 (22:39 +0000)] 
- using contains_eager() against an alias combined with an overall query alias repaired - the
contains_eager adapter wraps the query adapter, not vice versa.  Test coverage added.
- contains_eager() will now add columns into the "primary" column collection within Query._compile_context(), instead
of the "secondary" collection.  This allows those columns to get wrapped within the subquery generated
by limit/offset in conjunction with an ORM-generated eager join.
Eager strategy also picks up on context.adapter in this case to deliver the columns during result load.
contains_eager() is now compatible with the subquery generated by a regular eager load
with limit/offset. [ticket:1180]

17 years ago- added a few more assertions for [ticket:1165]
Mike Bayer [Sat, 4 Oct 2008 16:09:16 +0000 (16:09 +0000)] 
- added a few more assertions for [ticket:1165]
- removed non-2.5 partial.keywords, partial.name, etc., not sure what those are getting us here

17 years agoDidnt think about <2.5. When will I learn.
Michael Trier [Sat, 4 Oct 2008 02:57:19 +0000 (02:57 +0000)] 
Didnt think about <2.5. When will I learn.

17 years agoAllowed column types to be callables. Fixes #1165.
Michael Trier [Sat, 4 Oct 2008 01:49:14 +0000 (01:49 +0000)] 
Allowed column types to be callables. Fixes #1165.

17 years ago- Adjustment to Session's post-flush accounting of newly
Mike Bayer [Fri, 3 Oct 2008 03:39:52 +0000 (03:39 +0000)] 
- Adjustment to Session's post-flush accounting of newly
"clean" objects to better protect against operating on
objects as they're asynchronously gc'ed. [ticket:1182]

17 years ago- identity_map._mutable_attrs is a plain dict since we manage weakref removal explicitly
Mike Bayer [Thu, 2 Oct 2008 02:02:51 +0000 (02:02 +0000)] 
- identity_map._mutable_attrs is a plain dict since we manage weakref removal explicitly
- call list() around iteration of _mutable_attrs to guard against async gc.collect() while check_modified() is running

17 years agothe @property / __slots__ fairy pays a visit
Mike Bayer [Wed, 1 Oct 2008 15:23:14 +0000 (15:23 +0000)] 
the @property / __slots__ fairy pays a visit

17 years agoIssue a better error message when someone decides to meddle with the active transacti...
Ants Aasma [Tue, 30 Sep 2008 12:04:23 +0000 (12:04 +0000)] 
Issue a better error message when someone decides to meddle with the active transaction from within a context manager.

17 years agoFixed session.transaction.commit() on a autocommit=False session not starting a new...
Ants Aasma [Tue, 30 Sep 2008 09:24:27 +0000 (09:24 +0000)] 
Fixed session.transaction.commit() on a autocommit=False session not starting a new transaction.
Moved starting a new transaction in case of previous closing into SessionTransaction.

17 years ago- session.execute() will execute a Sequence object passed to
Mike Bayer [Sun, 28 Sep 2008 19:10:22 +0000 (19:10 +0000)] 
- session.execute() will execute a Sequence object passed to
  it (regression from 0.4).
- Removed the "raiseerror" keyword argument from object_mapper()
  and class_mapper().  These functions raise in all cases
  if the given class/instance is not mapped.
- Refined ExtensionCarrier to be itself a dict, removed
'methods' accessor
- moved identity_key tests to test/orm/utils.py
- some docstrings

17 years ago- Fixed up slices on Query (i.e. query[x:y]) to work properly
Mike Bayer [Sun, 28 Sep 2008 00:39:06 +0000 (00:39 +0000)] 
- Fixed up slices on Query (i.e. query[x:y]) to work properly
for zero length slices, slices with None on either end.
[ticket:1177]

17 years agoTidy.
Jason Kirtland [Sun, 28 Sep 2008 00:04:09 +0000 (00:04 +0000)] 
Tidy.

17 years agofixed custom TypeEngine example
Mike Bayer [Sat, 27 Sep 2008 21:15:51 +0000 (21:15 +0000)] 
fixed custom TypeEngine example

17 years agoFixed mysql TEMPORARY table reflection.
Jason Kirtland [Sat, 27 Sep 2008 18:26:53 +0000 (18:26 +0000)] 
Fixed mysql TEMPORARY table reflection.

17 years ago- Fixed shared state bug interfering with ScopedSession.mapper's
Jason Kirtland [Sat, 27 Sep 2008 18:11:40 +0000 (18:11 +0000)] 
- Fixed shared state bug interfering with ScopedSession.mapper's
  ability to apply default __init__ implementations on object
  subclasses.

17 years agore-enabled memusage and connect tests.
Jason Kirtland [Sat, 27 Sep 2008 01:41:45 +0000 (01:41 +0000)] 
re-enabled memusage and connect tests.

17 years agoAdded query_cls= override to scoped_session's query_property
Jason Kirtland [Sat, 27 Sep 2008 01:37:26 +0000 (01:37 +0000)] 
Added query_cls= override to scoped_session's query_property

17 years ago- fixed RLock-related bug in mapper which could deadlock
Mike Bayer [Thu, 25 Sep 2008 15:59:37 +0000 (15:59 +0000)] 
- fixed RLock-related bug in mapper which could deadlock
upon reentrant mapper compile() calls, something that
occurs when using declarative constructs inside of
ForeignKey objects.

17 years agorandom cleanup
Mike Bayer [Mon, 22 Sep 2008 22:15:24 +0000 (22:15 +0000)] 
random cleanup

17 years agogenericized the relationship between bind_processor() and _bind_processor() a little...
Mike Bayer [Fri, 19 Sep 2008 23:05:25 +0000 (23:05 +0000)] 
genericized the relationship between bind_processor() and _bind_processor() a little more