]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
18 years agoCorrected behavior of get_cls_kwargs and friends
Jason Kirtland [Thu, 24 Jan 2008 00:08:40 +0000 (00:08 +0000)] 
Corrected behavior of get_cls_kwargs and friends

18 years agoadded an intro for the code sample so that its not construed as a "synopsis"
Mike Bayer [Wed, 23 Jan 2008 20:00:53 +0000 (20:00 +0000)] 
added an intro for the code sample so that its not construed as a "synopsis"

18 years ago- query.join() can also accept tuples of attribute
Mike Bayer [Wed, 23 Jan 2008 19:20:49 +0000 (19:20 +0000)] 
- query.join() can also accept tuples of attribute
name/some selectable as arguments.  This allows
construction of joins *from* subclasses of a
polymorphic relation, i.e.:

query(Company).\
join(
  [('employees', people.join(engineer)), Engineer.name]
)

18 years agoAdded notes about 2.3 improvements
Jason Kirtland [Wed, 23 Jan 2008 18:26:50 +0000 (18:26 +0000)] 
Added notes about 2.3 improvements

18 years agoEdits
Jason Kirtland [Wed, 23 Jan 2008 18:20:26 +0000 (18:20 +0000)] 
Edits

18 years agowhups, args in wrong order
Mike Bayer [Wed, 23 Jan 2008 15:21:18 +0000 (15:21 +0000)] 
whups, args in wrong order

18 years agomore descriptive error message for m2m concurrency error
Mike Bayer [Wed, 23 Jan 2008 15:18:28 +0000 (15:18 +0000)] 
more descriptive error message for m2m concurrency error

18 years agomore capability added to reduce_columns
Mike Bayer [Wed, 23 Jan 2008 15:16:43 +0000 (15:16 +0000)] 
more capability added to reduce_columns

18 years ago- Migrated zoomark to profiling.function_call_count(), tightened up the numbers....
Jason Kirtland [Tue, 22 Jan 2008 22:43:04 +0000 (22:43 +0000)] 
- Migrated zoomark to profiling.function_call_count(), tightened up the numbers.  Is there variation by platform too?  Buildbots will tell...

18 years agorein in r3840 find and replace rampage
Jason Kirtland [Tue, 22 Jan 2008 21:32:51 +0000 (21:32 +0000)] 
rein in r3840 find and replace rampage

18 years ago- 2.3 fixup part three: 100% on postgres, mysql
Jason Kirtland [Tue, 22 Jan 2008 21:08:21 +0000 (21:08 +0000)] 
- 2.3 fixup part three: 100% on postgres, mysql

18 years ago- Removed some test bogosity
Jason Kirtland [Tue, 22 Jan 2008 19:42:12 +0000 (19:42 +0000)] 
- Removed some test bogosity

18 years ago- Cover 2.3 Decimal fallback
Jason Kirtland [Tue, 22 Jan 2008 18:06:46 +0000 (18:06 +0000)] 
- Cover 2.3 Decimal fallback

18 years ago- 2.3 fixup, part two: 100% passing for sqlite
Jason Kirtland [Mon, 21 Jan 2008 23:19:39 +0000 (23:19 +0000)] 
- 2.3 fixup, part two: 100% passing for sqlite
  - added 2.4-style binops to util.Set on 2.3
  - OrderedSets pickle on 2.3
  - more lib/sqlalchemy set vs Set corrections
  - fixed InstrumentedSet.discard for 2.3
  - set, sorted compatibility for test suite
- added testing.fails_if decorator

18 years agoclean up a little close() silliness
Mike Bayer [Sun, 20 Jan 2008 19:04:06 +0000 (19:04 +0000)] 
clean up a little close() silliness

18 years agofactor create_row_adapter into sql.util.row_adapter
Mike Bayer [Sun, 20 Jan 2008 05:06:55 +0000 (05:06 +0000)] 
factor create_row_adapter into sql.util.row_adapter

18 years agofurther clarification on transaction state
Mike Bayer [Sun, 20 Jan 2008 04:47:16 +0000 (04:47 +0000)] 
further clarification on transaction state

18 years agofix rollback behavior with transaction context manager and failed two phase transactions
Ants Aasma [Sun, 20 Jan 2008 04:31:53 +0000 (04:31 +0000)] 
fix rollback behavior with transaction context manager and failed two phase transactions

18 years agoexample of using try-catch to do transaction commit/rollback was wrong in the docs
Ants Aasma [Sun, 20 Jan 2008 03:39:43 +0000 (03:39 +0000)] 
example of using try-catch to do transaction commit/rollback was wrong in the docs

18 years ago- parent transactions weren't started on the connection when adding a connection...
Ants Aasma [Sun, 20 Jan 2008 03:22:00 +0000 (03:22 +0000)] 
- parent transactions weren't started on the connection when adding a connection to a nested session transaction.
- session.transaction now always refers to the innermost active transaction, even when commit/rollback are called directly on the session transaction object.
- when preparing a two-phase transaction fails on one connection all the connections are rolled back.
- two phase transactions can now be prepared.
- session.close() didn't close all transactions when nested transactions were used.
- rollback() previously erroneously set the current transaction directly to the parent of the transaction that could be rolled back to.
- autoflush for commit() wasn't flushing for simple subtransactions.

18 years ago- Restored 2.3 compat. in lib/sqlalchemy
Jason Kirtland [Sat, 19 Jan 2008 23:37:11 +0000 (23:37 +0000)] 
- Restored 2.3 compat. in lib/sqlalchemy
- Part one of test suite fixes to run on 2.3
  Lots of failures still around sets; sets.Set differs from __builtin__.set
  particularly in the binops. We depend on set extensively now and may need to
  provide a corrected sets.Set subclass on 2.3.

18 years ago- Added source transformation framework for non-2.4 parser implementations
Jason Kirtland [Sat, 19 Jan 2008 23:11:47 +0000 (23:11 +0000)] 
- Added source transformation framework for non-2.4 parser implementations
- test/clone.py can create and update (transformed) copies of the test suite
- Added Python 2.4 decorator -> 2.3 source transform

18 years ago- Oracle assembles the correct columns in the result set
Mike Bayer [Sat, 19 Jan 2008 20:11:29 +0000 (20:11 +0000)] 
- Oracle assembles the correct columns in the result set
  column mapping when generating a LIMIT/OFFSET subquery,
  allows columns to map properly to result sets even
  if long-name truncation kicks in [ticket:941]

18 years ago- some expression fixup:
Mike Bayer [Sat, 19 Jan 2008 18:36:52 +0000 (18:36 +0000)] 
- some expression fixup:
- the '.c.' attribute on a selectable now gets an
entry for every column expression in its columns
clause; previously, "unnamed" columns like functions
and CASE statements weren't getting put there.  Now
they will, using their full string representation
if no 'name' is available.
- The anonymous 'label' generated for otherwise
unlabeled functions and expressions now propagates
outwards at compile time for expressions like
select([select([func.foo()])])
- a CompositeSelect, i.e. any union(), union_all(),
intersect(), etc. now asserts that each selectable
contains the same number of columns.  This conforms
to the corresponding SQL requirement.
- building on the above ideas, CompositeSelects
now build up their ".c." collection based on
the names present in the first selectable only;
corresponding_column() now works fully for all
embedded selectables.

18 years agocheck for session is none, [ticket:940]
Mike Bayer [Thu, 17 Jan 2008 16:24:26 +0000 (16:24 +0000)] 
check for session is none, [ticket:940]

18 years agoUpdated bit about coverage.py
Jason Kirtland [Wed, 16 Jan 2008 23:53:01 +0000 (23:53 +0000)] 
Updated bit about coverage.py

18 years ago- dynamic relations, when referenced, create a strong
Mike Bayer [Wed, 16 Jan 2008 22:06:15 +0000 (22:06 +0000)] 
- dynamic relations, when referenced, create a strong
reference to the parent object so that the query
still has a parent to call against even if the
parent is only created (and otherwise dereferenced)
within the scope of a single expression [ticket:938]

18 years ago- default the root logger level only if unset
Jason Kirtland [Wed, 16 Jan 2008 18:10:08 +0000 (18:10 +0000)] 
- default the root logger level only if unset

18 years agomaintain the ordering of the given collection of columns when reducing so that primar...
Mike Bayer [Tue, 15 Jan 2008 18:33:30 +0000 (18:33 +0000)] 
maintain the ordering of the given collection of columns when reducing so that primary key collections remain
ordered the same as in the mapped table

18 years agoavoid unnecessary mapper.extension copy
Mike Bayer [Tue, 15 Jan 2008 18:21:13 +0000 (18:21 +0000)] 
avoid unnecessary mapper.extension copy

18 years agofinally, a really straightforward reduce() method which reduces cols
Mike Bayer [Tue, 15 Jan 2008 17:59:27 +0000 (17:59 +0000)] 
finally, a really straightforward reduce() method which reduces cols
to the minimal set for every test case I can come up with, and
now replaces all the cruft in Mapper._compile_pks() as well as
Join.__init_primary_key().  mappers can now handle aliased selects
and figure out the correct PKs pretty well [ticket:933]

18 years ago- select_table mapper turns straight join into aliased select + custom PK, to allow
Mike Bayer [Tue, 15 Jan 2008 02:34:17 +0000 (02:34 +0000)] 
- select_table mapper turns straight join into aliased select + custom PK, to allow
joins onto select_table mappers
- starting a generalized reduce_columns func

18 years agoadded more (failing) tests to query, will need to fix [ticket:932] [ticket:933]
Mike Bayer [Mon, 14 Jan 2008 18:50:10 +0000 (18:50 +0000)] 
added more (failing) tests to query, will need to fix [ticket:932] [ticket:933]

18 years ago- query.join() can now accept class-mapped attributes
Mike Bayer [Mon, 14 Jan 2008 04:20:26 +0000 (04:20 +0000)] 
- query.join() can now accept class-mapped attributes
as arguments, which can be used in place or in any
combination with strings.  In particular this allows
construction of joins to subclasses on a polymorphic
relation, i.e.
query(Company).join(['employees', Engineer.name]),
etc.

18 years ago- applying some refined versions of the ideas in the smarter_polymorphic
Mike Bayer [Mon, 14 Jan 2008 02:45:30 +0000 (02:45 +0000)] 
- applying some refined versions of the ideas in the smarter_polymorphic
branch
- slowly moving Query towards a central "aliasing" paradigm which merges
the aliasing of polymorphic mappers to aliasing against arbitrary select_from(),
to the eventual goal of polymorphic mappers which can also eagerload other
relations
- supports many more join() scenarios involving polymorphic mappers in
most configurations
- PropertyAliasedClauses doesn't need "path", EagerLoader doesn't need to
guess about "towrap"

18 years ago- _get_equivalents() converted into a lazy-initializing property; Query was calling it
Mike Bayer [Sun, 13 Jan 2008 19:04:55 +0000 (19:04 +0000)] 
- _get_equivalents() converted into a lazy-initializing property; Query was calling it
for polymorphic loads which is really expensive
- surrogate_mapper adapts the given order_by, so that order_by can be against the mapped
table and is usable for sub-mappers as well.  Query properly calls select_mapper.order_by.

18 years ago- testbase is gone, replaced by testenv
Jason Kirtland [Sat, 12 Jan 2008 22:03:42 +0000 (22:03 +0000)] 
- testbase is gone, replaced by testenv
- Importing testenv has no side effects- explicit functions provide similar behavior to the old immediate behavior of testbase
- testing.db has the configured db
- Fixed up the perf/* scripts

18 years ago- Undeclared SAWarnings are now fatal to tests as well.
Jason Kirtland [Sat, 12 Jan 2008 04:52:05 +0000 (04:52 +0000)] 
- Undeclared SAWarnings are now fatal to tests as well.
- Fixed typo that was killing runs of individual named tests.

18 years agofixed NOT ILIKE
Mike Bayer [Fri, 11 Jan 2008 21:30:02 +0000 (21:30 +0000)] 
fixed NOT ILIKE

18 years ago- added "ilike()" operator to column operations.
Mike Bayer [Fri, 11 Jan 2008 21:24:01 +0000 (21:24 +0000)] 
- added "ilike()" operator to column operations.
compiles to ILIKE on postgres, lower(x) LIKE lower(y)
on all others [ticket:727]

18 years agoReverted to False Firebird's supports_sane_rowcount
Lele Gaifax [Fri, 11 Jan 2008 15:31:15 +0000 (15:31 +0000)] 
Reverted to False Firebird's supports_sane_rowcount
Slipped in: even if it seems it could be set to True, I'm still testing the rowcount affair

18 years agoTry to reflect also the Sequence on the PK under Firebird
Lele Gaifax [Fri, 11 Jan 2008 15:27:02 +0000 (15:27 +0000)] 
Try to reflect also the Sequence on the PK under Firebird

18 years ago- Warnings are now issued as SAWarning instead of RuntimeWarning; util.warn() wraps...
Jason Kirtland [Fri, 11 Jan 2008 01:28:43 +0000 (01:28 +0000)] 
- Warnings are now issued as SAWarning instead of RuntimeWarning; util.warn() wraps this up.
- SADeprecationWarning has moved to exceptions. An alias remains in logging until 0.5.

18 years agoInclude column name in length-less String warning (more [ticket:912])
Jason Kirtland [Thu, 10 Jan 2008 23:16:56 +0000 (23:16 +0000)] 
Include column name in length-less String warning (more [ticket:912])

18 years ago- unit test for r4048
Mike Bayer [Thu, 10 Jan 2008 22:45:07 +0000 (22:45 +0000)] 
- unit test for r4048

18 years ago- added a mapper() flag "eager_defaults"; when set to
Mike Bayer [Thu, 10 Jan 2008 22:32:51 +0000 (22:32 +0000)] 
- added a mapper() flag "eager_defaults"; when set to
True, defaults that are generated during an INSERT
or UPDATE operation are post-fetched immediately,
instead of being deferred until later.  This mimics
the old 0.3 behavior.

18 years ago- added extra fk override test
Mike Bayer [Thu, 10 Jan 2008 18:05:20 +0000 (18:05 +0000)] 
- added extra fk override test
- proper error message is raised when trying to
access expired instance attributes with no session
present

18 years agoRecognize another Firebird exception in dialect.is_disconnect()
Lele Gaifax [Thu, 10 Jan 2008 17:40:38 +0000 (17:40 +0000)] 
Recognize another Firebird exception in dialect.is_disconnect()

18 years ago- finally added PGMacAddr type to postgres
Mike Bayer [Thu, 10 Jan 2008 15:24:14 +0000 (15:24 +0000)] 
- finally added PGMacAddr type to postgres
[ticket:580]

18 years agoconverted tests to use remote_side and foreign_keys. but...wow these are hard tests..
Mike Bayer [Thu, 10 Jan 2008 06:51:51 +0000 (06:51 +0000)] 
converted tests to use remote_side and foreign_keys.  but...wow these are hard tests..

18 years agoReworked r4042- undeclared deprecation warnings are now *fatal* to tests. No surprises.
Jason Kirtland [Thu, 10 Jan 2008 02:37:39 +0000 (02:37 +0000)] 
Reworked r4042- undeclared deprecation warnings are now *fatal* to tests.  No surprises.

18 years agotest suite deprecation rampage
Jason Kirtland [Wed, 9 Jan 2008 22:54:51 +0000 (22:54 +0000)] 
test suite deprecation rampage

18 years agobump.
Jason Kirtland [Wed, 9 Jan 2008 22:53:33 +0000 (22:53 +0000)] 
bump.

18 years agoformatting, added UnicodeText rel_0_4_2p3
Mike Bayer [Wed, 9 Jan 2008 21:37:42 +0000 (21:37 +0000)] 
formatting, added UnicodeText

18 years agoSilenced deprecation warnings when testing deprecated extensions...
Jason Kirtland [Wed, 9 Jan 2008 20:41:14 +0000 (20:41 +0000)] 
Silenced deprecation warnings when testing deprecated extensions...

18 years agoAdded explicit length to more testing String columns.
Jason Kirtland [Wed, 9 Jan 2008 20:29:04 +0000 (20:29 +0000)] 
Added explicit length to more testing String columns.

18 years agore-bump
Jason Kirtland [Wed, 9 Jan 2008 20:23:53 +0000 (20:23 +0000)] 
re-bump

18 years agoAdded UnicodeText alias
Jason Kirtland [Wed, 9 Jan 2008 20:22:41 +0000 (20:22 +0000)] 
Added UnicodeText alias

18 years ago- fixed bug with session.dirty when using "mutable scalars"
Mike Bayer [Wed, 9 Jan 2008 18:52:35 +0000 (18:52 +0000)] 
- fixed bug with session.dirty when using "mutable scalars"
(such as PickleTypes)

- added a more descriptive error message when flushing on a
relation() that has non-locally-mapped columns in its primary or
secondary join condition

18 years agoredid the _for_ddl String/Text deprecation warning correctly [ticket:912]
Mike Bayer [Wed, 9 Jan 2008 18:09:49 +0000 (18:09 +0000)] 
redid the _for_ddl String/Text deprecation warning correctly [ticket:912]

18 years ago- fixed bug in union() so that select() statements which don't derive
Mike Bayer [Tue, 8 Jan 2008 21:53:37 +0000 (21:53 +0000)] 
- fixed bug in union() so that select() statements which don't derive
from FromClause objects can be unioned

18 years ago- Text type is properly exported now and does not raise a warning
Mike Bayer [Tue, 8 Jan 2008 08:55:18 +0000 (08:55 +0000)] 
- Text type is properly exported now and does not raise a warning
on DDL create

18 years agoFixed reflection of mysql empty string column defaults.
Jason Kirtland [Tue, 8 Jan 2008 07:46:37 +0000 (07:46 +0000)] 
Fixed reflection of mysql empty string column defaults.

18 years agobump
Mike Bayer [Mon, 7 Jan 2008 20:13:29 +0000 (20:13 +0000)] 
bump

18 years agologged [ticket:923] fix rel_0_4_2b
Mike Bayer [Mon, 7 Jan 2008 19:59:23 +0000 (19:59 +0000)] 
logged [ticket:923] fix

18 years agoFix for ticket [923]
Rick Morrison [Mon, 7 Jan 2008 19:33:29 +0000 (19:33 +0000)] 
Fix for ticket [923]

18 years ago- fixed an attribute history bug whereby assigning a new collection
Mike Bayer [Mon, 7 Jan 2008 18:52:02 +0000 (18:52 +0000)] 
- fixed an attribute history bug whereby assigning a new collection
to a collection-based attribute which already had pending changes
would generate incorrect history [ticket:922]

- fixed delete-orphan cascade bug whereby setting the same
object twice to a scalar attribute could log it as an orphan
[ticket:925]
- generative select.order_by(None) / group_by(None) was not managing to
reset order by/group by criterion, fixed [ticket:924]

18 years ago- suppressing *all* errors in InstanceState.__cleanup() now.
Mike Bayer [Sun, 6 Jan 2008 20:41:48 +0000 (20:41 +0000)] 
- suppressing *all* errors in InstanceState.__cleanup() now.

18 years ago- fixed bug which could occur with polymorphic "union" mapper
Mike Bayer [Sun, 6 Jan 2008 20:32:45 +0000 (20:32 +0000)] 
- fixed bug which could occur with polymorphic "union" mapper
which falls back to "deferred" loading of inheriting tables

- the "columns" collection on a mapper/mapped class (i.e. 'c')
is against the mapped table, not the select_table in the
case of polymorphic "union" loading (this shouldn't be
noticeable)

18 years ago- synonyms can now be created against props that don't exist yet,
Mike Bayer [Sat, 5 Jan 2008 23:27:02 +0000 (23:27 +0000)] 
- synonyms can now be created against props that don't exist yet,
which are later added via add_property().  This commonly includes
backrefs. (i.e. you can make synonyms for backrefs without
worrying about the order of operations) [ticket:919]

18 years ago- changed name of TEXT to Text since its a "generic" type; TEXT name is
Mike Bayer [Sat, 5 Jan 2008 22:59:18 +0000 (22:59 +0000)] 
- changed name of TEXT to Text since its a "generic" type; TEXT name is
deprecated until 0.5.  The "upgrading" behavior of String to Text
when no length is present is also deprecated until 0.5; will issue a
warning when used for CREATE TABLE statements (String with no length
for SQL expression purposes is still fine) [ticket:912]

18 years agoAdded 'function_call_count' assertion decorator. The full-suite vs. isolated run...
Jason Kirtland [Sat, 5 Jan 2008 21:56:22 +0000 (21:56 +0000)] 
Added 'function_call_count' assertion decorator.  The full-suite vs. isolated run call count discrepancy needs to be ironed out before this can be applied to zoomark.

18 years agoUpdates
Jason Kirtland [Sat, 5 Jan 2008 21:46:08 +0000 (21:46 +0000)] 
Updates

18 years agoAdded lots o' info.
Jason Kirtland [Sat, 5 Jan 2008 20:50:10 +0000 (20:50 +0000)] 
Added lots o' info.

18 years agoMore overloads: fix cascades for += on a list relation, added operator support to...
Jason Kirtland [Sat, 5 Jan 2008 19:11:58 +0000 (19:11 +0000)] 
More overloads: fix cascades for += on a list relation, added operator support to association proxied lists.

18 years agobump.
Jason Kirtland [Sat, 5 Jan 2008 18:42:46 +0000 (18:42 +0000)] 
bump.

18 years agocalling this 0.4.2a rel_0_4_2a
Mike Bayer [Sat, 5 Jan 2008 18:27:12 +0000 (18:27 +0000)] 
calling this 0.4.2a

18 years ago- fixed fairly critical bug whereby the same instance could be listed
Mike Bayer [Sat, 5 Jan 2008 18:26:28 +0000 (18:26 +0000)] 
- fixed fairly critical bug whereby the same instance could be listed
more than once in the unitofwork.new collection; most typically
reproduced when using a combination of inheriting mappers and
ScopedSession.mapper, as the multiple __init__ calls per instance
could save() the object with distinct _state objects

18 years agoExperimental: modestly more informative repr() for some expressions (using .description)
Jason Kirtland [Sat, 5 Jan 2008 00:37:08 +0000 (00:37 +0000)] 
Experimental: modestly more informative repr() for some expressions (using .description)

18 years agoMigrated a few in-function 'from x import y' to the 'global x; if x is None' style.
Jason Kirtland [Sat, 5 Jan 2008 00:25:57 +0000 (00:25 +0000)] 
Migrated a few in-function 'from x import y' to the 'global x; if x is None' style.

18 years agoRefined bulk-assignment aspects of the r3999 in-place collection operator fix. Also...
Jason Kirtland [Fri, 4 Jan 2008 20:40:22 +0000 (20:40 +0000)] 
Refined bulk-assignment aspects of the r3999 in-place collection operator fix. Also? r4000!

18 years agoFixed in-place set mutation operator support [ticket:920]
Jason Kirtland [Fri, 4 Jan 2008 20:17:42 +0000 (20:17 +0000)] 
Fixed in-place set mutation operator support [ticket:920]

18 years agoAdded REPLACE statements to mysql autocommit list.
Jason Kirtland [Fri, 4 Jan 2008 19:10:18 +0000 (19:10 +0000)] 
Added REPLACE statements to mysql autocommit list.

18 years agofunc unittest fix
Mike Bayer [Fri, 4 Jan 2008 03:13:20 +0000 (03:13 +0000)] 
func unittest fix

18 years agofix select tests for labeled functions
Mike Bayer [Fri, 4 Jan 2008 03:09:17 +0000 (03:09 +0000)] 
fix select tests for labeled functions

18 years agoadd anonymous labels to function calls
Mike Bayer [Fri, 4 Jan 2008 01:00:42 +0000 (01:00 +0000)] 
add anonymous labels to function calls

18 years agofix not calling the result processor of PGArray subtypes. (a rather embarrasing copyp...
Ants Aasma [Thu, 3 Jan 2008 23:38:55 +0000 (23:38 +0000)] 
fix not calling the result processor of PGArray subtypes. (a rather embarrasing copypaste error) [ticket:913]

18 years ago- added very rudimentary yielding iterator behavior to Query. Call
Mike Bayer [Wed, 2 Jan 2008 23:13:02 +0000 (23:13 +0000)] 
- added very rudimentary yielding iterator behavior to Query.  Call
query.yield_per(<number of rows>) and evaluate the Query in an
iterative context; every collection of N rows will be packaged up
and yielded.  Use this method with extreme caution since it does
not attempt to reconcile eagerly loaded collections across
result batch boundaries, nor will it behave nicely if the same
instance occurs in more than one batch.  This means that an eagerly
loaded collection will get cleared out if it's referenced in more than
one batch, and in all cases attributes will be overwritten on instances
that occur in more than one batch.

18 years agofix weakref issue seen on one buildbot test rel_0_4_2
Mike Bayer [Wed, 2 Jan 2008 01:34:25 +0000 (01:34 +0000)] 
fix weakref issue seen on one buildbot test

18 years ago- further fix to new TypeDecorator, so that subclasses of TypeDecorators work properly
Mike Bayer [Wed, 2 Jan 2008 01:29:38 +0000 (01:29 +0000)] 
- further fix to new TypeDecorator, so that subclasses of TypeDecorators work properly
- _handle_dbapi_exception() usage changed so that unwrapped exceptions can be rethrown with the original stack trace

18 years agohappy new year
Mike Bayer [Tue, 1 Jan 2008 17:42:17 +0000 (17:42 +0000)] 
happy new year

18 years agofix to new TypeDecorator
Mike Bayer [Tue, 1 Jan 2008 01:47:58 +0000 (01:47 +0000)] 
fix to new TypeDecorator

18 years agofix up oracle handling of LOB/string [ticket:902], slight fixes to defaults.py but we
Mike Bayer [Tue, 1 Jan 2008 00:43:24 +0000 (00:43 +0000)] 
fix up oracle handling of LOB/string [ticket:902], slight fixes to defaults.py but we
will need to fix up result-type handling some more

18 years agofilter() criterion takes mapper equivalent_columns into account when it adapts to...
Mike Bayer [Mon, 31 Dec 2007 10:23:21 +0000 (10:23 +0000)] 
filter() criterion takes mapper equivalent_columns into account when it adapts to select_table.  more to come in [ticket:917] .

18 years agoremove "is None" from boolean tests
Mike Bayer [Sat, 29 Dec 2007 20:52:50 +0000 (20:52 +0000)] 
remove "is None" from boolean tests

18 years agolimit scope of try/except
Mike Bayer [Sat, 29 Dec 2007 20:50:32 +0000 (20:50 +0000)] 
limit scope of try/except

18 years agouse long for query runid counter
Mike Bayer [Sat, 29 Dec 2007 20:46:07 +0000 (20:46 +0000)] 
use long for query runid counter

18 years ago- added is_disconnect() support for oracle
Mike Bayer [Sat, 29 Dec 2007 20:13:50 +0000 (20:13 +0000)] 
- added is_disconnect() support for oracle
- fixed _handle_dbapi_error to detect endless loops, doesn't call rollback/cursor.close
etc. in case of disconnect

18 years ago- mapped classes which extend "object" and do not provide an
Mike Bayer [Sat, 29 Dec 2007 19:20:38 +0000 (19:20 +0000)] 
- mapped classes which extend "object" and do not provide an
__init__() method will now raise TypeError if non-empty *args
or **kwargs are present at instance construction time (and are
not consumed by any extensions such as the scoped_session mapper),
consistent with the behavior of normal Python classes [ticket:908]

18 years ago- fixed Query bug when filter_by() compares a relation against None
Mike Bayer [Sat, 29 Dec 2007 18:50:46 +0000 (18:50 +0000)] 
- fixed Query bug when filter_by() compares a relation against None
[ticket:899]