]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
16 years agoquery.delete(False) is not so bad
Mike Bayer [Thu, 8 Jan 2009 15:33:34 +0000 (15:33 +0000)] 
query.delete(False) is not so bad

16 years agoAdded the missing keywords from MySQL 4.1 so they get escaped properly.
Ants Aasma [Thu, 8 Jan 2009 15:16:32 +0000 (15:16 +0000)] 
Added the missing keywords from MySQL 4.1 so they get escaped properly.

16 years agotypo
Mike Bayer [Wed, 7 Jan 2009 01:13:29 +0000 (01:13 +0000)] 
typo

16 years agoFormatting fixups
Jason Kirtland [Tue, 6 Jan 2009 19:11:06 +0000 (19:11 +0000)] 
Formatting fixups

16 years agodoh its 0.5.0
Mike Bayer [Tue, 6 Jan 2009 19:04:08 +0000 (19:04 +0000)] 
doh its 0.5.0

16 years agomove memusage to the isolation chamber rel_0_5_0
Mike Bayer [Tue, 6 Jan 2009 18:30:38 +0000 (18:30 +0000)] 
move memusage to the isolation chamber

16 years ago- removed 2.3 compat stuff
Mike Bayer [Tue, 6 Jan 2009 18:19:59 +0000 (18:19 +0000)] 
- removed 2.3 compat stuff
- updated MANIFEST for the newer build

16 years agonext release is 0.5.0
Mike Bayer [Tue, 6 Jan 2009 17:15:27 +0000 (17:15 +0000)] 
next release is 0.5.0

16 years ago- query.join() raises an error when the target of the join
Mike Bayer [Tue, 6 Jan 2009 04:30:11 +0000 (04:30 +0000)] 
- query.join() raises an error when the target of the join
doesn't match the property-based attribute - while it's
unlikely anyone is doing this, the SQLAlchemy author was
guilty of this particular loosey-goosey behavior.

16 years agoForgot to sqash a commit. Follow up on mssql dates refactoring.
Michael Trier [Mon, 5 Jan 2009 22:33:09 +0000 (22:33 +0000)] 
Forgot to sqash a commit. Follow up on mssql dates refactoring.

16 years agomssql date / time refactor.
Michael Trier [Mon, 5 Jan 2009 22:05:51 +0000 (22:05 +0000)] 
mssql date / time refactor.
- Added new MSSmallDateTime, MSDateTime2, MSDateTimeOffset, MSTime types
- Refactored the Date/Time types. The smalldatetime data type no longer
  truncates to a date only, and will now be mapped to the MSSmallDateTime
  type. Closes #1254.

16 years agomade the "you passed a non-aliased selectable" warning scarier. scarier !
Mike Bayer [Mon, 5 Jan 2009 20:02:23 +0000 (20:02 +0000)] 
made the "you passed a non-aliased selectable" warning scarier.  scarier !

16 years ago- property.of_type() is now recognized on a single-table
Mike Bayer [Mon, 5 Jan 2009 19:23:56 +0000 (19:23 +0000)] 
- property.of_type() is now recognized on a single-table
inheriting target, when used in the context of
prop.of_type(..).any()/has(), as well as
query.join(prop.of_type(...)).

16 years agoif at first you don't succeed, fail, fail again
Mike Bayer [Mon, 5 Jan 2009 17:43:40 +0000 (17:43 +0000)] 
if at first you don't succeed, fail, fail again

16 years agoassume table.schema, not None, when constraint reflection has no explicit schema...
Mike Bayer [Mon, 5 Jan 2009 16:08:12 +0000 (16:08 +0000)] 
assume table.schema, not None, when constraint reflection has no explicit schema.  unit test TBD.

16 years ago- Generalized the IdentityManagedState._instance_dict() callable
Mike Bayer [Mon, 5 Jan 2009 15:34:09 +0000 (15:34 +0000)] 
- Generalized the IdentityManagedState._instance_dict() callable
to the IdentityMap class so that Weak/StrongInstanceDict both
have the same behavior wrt the state referencing the map
- Fixed bug when using weak_instance_map=False where modified
events would not be intercepted for a flush(). [ticket:1272]

16 years agoCorrected a few docs and didn't realize we put pyodbc first in the search list.
Michael Trier [Sun, 4 Jan 2009 03:31:05 +0000 (03:31 +0000)] 
Corrected a few docs and didn't realize we put pyodbc first in the search list.

16 years agodocstrings for the hated fold_equivalents argument/function
Mike Bayer [Sat, 3 Jan 2009 22:40:58 +0000 (22:40 +0000)] 
docstrings for the hated fold_equivalents argument/function

16 years agoadded teardown_instance() to complement setup_instance().
Mike Bayer [Sat, 3 Jan 2009 22:15:38 +0000 (22:15 +0000)] 
added teardown_instance() to complement setup_instance().
Based on the instance/class agnostic behavior of ClassManager, this might be the best we can
do regarding [ticket:860]

16 years ago- query.order_by() accepts None which will remove any pending
Mike Bayer [Sat, 3 Jan 2009 20:52:34 +0000 (20:52 +0000)] 
- query.order_by() accepts None which will remove any pending
order_by state from the query, as well as cancel out any
mapper/relation configured ordering. This is primarily useful
for overriding the ordering specified on a dynamic_loader().
[ticket:1079]

16 years agoadded the significant test for #1247
Mike Bayer [Sat, 3 Jan 2009 20:31:43 +0000 (20:31 +0000)] 
added the significant test for #1247

16 years agoCorrected an issue on mssql where Numerics would not accept an int.
Michael Trier [Sat, 3 Jan 2009 20:07:17 +0000 (20:07 +0000)] 
Corrected an issue on mssql where Numerics would not accept an int.

16 years agoadded order_by test coverage as per [ticket:1218]
Mike Bayer [Sat, 3 Jan 2009 20:06:53 +0000 (20:06 +0000)] 
added order_by test coverage as per [ticket:1218]

16 years agoone more typo
Mike Bayer [Sat, 3 Jan 2009 19:37:17 +0000 (19:37 +0000)] 
one more typo

16 years agofixed critical errors in assocationproxy docs while we wait for the all new and impro...
Mike Bayer [Sat, 3 Jan 2009 19:35:59 +0000 (19:35 +0000)] 
fixed critical errors in assocationproxy docs while we wait for the all new and improved version

16 years ago- Fixed bug which was preventing out params of certain types
Mike Bayer [Sat, 3 Jan 2009 18:58:52 +0000 (18:58 +0000)] 
- Fixed bug which was preventing out params of certain types
from being received; thanks a ton to huddlej at wwu.edu !
[ticket:1265]

16 years agoidentified the SQLite changes which affect default reflection
Mike Bayer [Sat, 3 Jan 2009 18:06:59 +0000 (18:06 +0000)] 
identified the SQLite changes which affect default reflection

16 years agoAdded a note about mssql compatibility levels.
Michael Trier [Sat, 3 Jan 2009 17:42:31 +0000 (17:42 +0000)] 
Added a note about mssql compatibility levels.

16 years agosend a NASA probe to the buildbot
Mike Bayer [Sat, 3 Jan 2009 17:28:43 +0000 (17:28 +0000)] 
send a NASA probe to the buildbot

16 years agoFlagged two versioning tests as failing on MSSQL. The flush occurs even though
Michael Trier [Sat, 3 Jan 2009 05:32:11 +0000 (05:32 +0000)] 
Flagged two versioning tests as failing on MSSQL. The flush occurs even though
there should be a concurrency issue.

I cheated and marked these as FIXME. With this commit all MSSQL tests pass
now. The work of correcting the ``fails_on`` tests begins.

16 years agosqlite tests run fine locally but the buildbot seems to have an issue. Perhaps this...
Michael Trier [Sat, 3 Jan 2009 04:57:31 +0000 (04:57 +0000)] 
sqlite tests run fine locally but the buildbot seems to have an issue. Perhaps this will work.

16 years agoSome of the ordering fixes messed up MySQL. This should work better. Better testing...
Michael Trier [Sat, 3 Jan 2009 04:57:29 +0000 (04:57 +0000)] 
Some of the ordering fixes messed up MySQL. This should work better. Better testing next time.

16 years agoModified DefaultTest in order to get passage on mssql and still test the right stuff.
Michael Trier [Sat, 3 Jan 2009 03:59:54 +0000 (03:59 +0000)] 
Modified DefaultTest in order to get passage on mssql and still test the right stuff.

16 years agoExcluded another failing test from the mssql dialect.
Michael Trier [Sat, 3 Jan 2009 03:59:49 +0000 (03:59 +0000)] 
Excluded another failing test from the mssql dialect.

MSSQL doesn't allow ON UPDATE for self-referential keys. The tree of cascading
referential actions must only have one path to a particular table on the
cascading referential actions tree.

16 years ago- Fixed some deep "column correspondence" issues which could
Mike Bayer [Sat, 3 Jan 2009 02:42:34 +0000 (02:42 +0000)] 
- Fixed some deep "column correspondence" issues which could
impact a Query made against a selectable containing
multiple versions of the same table, as well as
unions and similar which contained the same table columns
in different column positions at different levels.
[ticket:1268]

16 years agoA couple of ordering fixes for the tests.
Michael Trier [Sat, 3 Jan 2009 02:32:10 +0000 (02:32 +0000)] 
A couple of ordering fixes for the tests.

16 years agosqlite reflection now stores the actual DefaultClause value for the column.
Michael Trier [Fri, 2 Jan 2009 22:40:45 +0000 (22:40 +0000)] 
sqlite reflection now stores the actual DefaultClause value for the column.

16 years ago- mysql, postgres: "%" signs in text() constructs are automatically escaped to "%%".
Mike Bayer [Fri, 2 Jan 2009 21:24:17 +0000 (21:24 +0000)] 
- mysql, postgres: "%" signs in text() constructs are automatically escaped to "%%".
Because of the backwards incompatible nature of this change,
a warning is emitted if '%%' is detected in the string.  [ticket:1267]

16 years agoSwap out text_as_varchar on the mssql dialect for the Types tests.
Michael Trier [Fri, 2 Jan 2009 20:33:14 +0000 (20:33 +0000)] 
Swap out text_as_varchar on the mssql dialect for the Types tests.

16 years agoMarked a couple of unicode schema tests as failing on mssql.
Michael Trier [Fri, 2 Jan 2009 20:33:11 +0000 (20:33 +0000)] 
Marked a couple of unicode schema tests as failing on mssql.

16 years agofound some more _Function->Function
Mike Bayer [Fri, 2 Jan 2009 20:00:31 +0000 (20:00 +0000)] 
found some more _Function->Function

16 years ago- sqlalchemy.sql.expression.Function is now a public
Mike Bayer [Fri, 2 Jan 2009 19:45:05 +0000 (19:45 +0000)] 
- sqlalchemy.sql.expression.Function is now a public
class.  It can be subclassed to provide user-defined
SQL functions in an imperative style, including
with pre-established behaviors.  The postgis.py
example illustrates one usage of this.

16 years agoMarked mssql test as failing since it cannot update identity columns.
Michael Trier [Fri, 2 Jan 2009 18:25:08 +0000 (18:25 +0000)] 
Marked mssql test as failing since it cannot update identity columns.

16 years agoMapped char_length to the LEN() function for mssql.
Michael Trier [Fri, 2 Jan 2009 18:25:04 +0000 (18:25 +0000)] 
Mapped char_length to the LEN() function for mssql.

16 years agoCorrected a UOW DefaultTest for mssql because it requires the identity column setup.
Michael Trier [Fri, 2 Jan 2009 18:25:00 +0000 (18:25 +0000)] 
Corrected a UOW DefaultTest for mssql because it requires the identity column setup.

16 years agoAdded ability to use subselects within INSERTS on mssql.
Michael Trier [Fri, 2 Jan 2009 18:24:57 +0000 (18:24 +0000)] 
Added ability to use subselects within INSERTS on mssql.

16 years agoSpecialized trigger tests to accomodate mssql syntax.
Michael Trier [Fri, 2 Jan 2009 18:24:52 +0000 (18:24 +0000)] 
Specialized trigger tests to accomodate mssql syntax.

16 years agoAdded note for mssql about using snapshot isolation in order to get multiple
Michael Trier [Fri, 2 Jan 2009 18:24:49 +0000 (18:24 +0000)] 
Added note for mssql about using snapshot isolation in order to get multiple
connection session tests to pass.

16 years agoTurned off the implicit transaction behavior of MSSQL.
Michael Trier [Fri, 2 Jan 2009 18:24:47 +0000 (18:24 +0000)] 
Turned off the implicit transaction behavior of MSSQL.

This corrects the savepoint tests.

16 years ago- Custom comparator classes used in conjunction with
Mike Bayer [Fri, 2 Jan 2009 18:22:50 +0000 (18:22 +0000)] 
- Custom comparator classes used in conjunction with
column_property(), relation() etc. can define
new comparison methods on the Comparator, which will
become available via __getattr__() on the
InstrumentedAttribute.   In the case of synonym()
or comparable_property(), attributes are resolved first
on the user-defined descriptor, then on the user-defined
comparator.

16 years agoModified UOW so that a Row Switch scenario will not attempt to update the Primary...
Michael Trier [Fri, 2 Jan 2009 04:54:45 +0000 (04:54 +0000)] 
Modified UOW so that a Row Switch scenario will not attempt to update the Primary Key.

16 years agoCleanup of r5556. Makes the description_encoding less public since this is a
Michael Trier [Fri, 2 Jan 2009 03:29:33 +0000 (03:29 +0000)] 
Cleanup of r5556. Makes the description_encoding less public since this is a
workaround for the pyodbc dbapi.

16 years agoemacs
Jonathan Ellis [Wed, 31 Dec 2008 14:25:53 +0000 (14:25 +0000)] 
emacs

16 years agoyes ive been watching the IRC channel. restored setup_instance() to ClassManager...
Mike Bayer [Wed, 31 Dec 2008 05:28:53 +0000 (05:28 +0000)] 
yes ive been watching the IRC channel.  restored setup_instance() to ClassManager and added coverage for mapper's usage of it.

16 years ago- added an extremely basic illustration of a PostGIS
Mike Bayer [Tue, 30 Dec 2008 20:38:32 +0000 (20:38 +0000)] 
- added an extremely basic illustration of a PostGIS
integration to the examples folder.

16 years agoModifications to the mssql dialect in order to to pass through unicode in the pyodbc...
Michael Trier [Tue, 30 Dec 2008 06:39:37 +0000 (06:39 +0000)] 
Modifications to the mssql dialect in order to to pass through unicode in the pyodbc dialect.

16 years agoAdded a new description_encoding attribute on the dialect.
Michael Trier [Tue, 30 Dec 2008 06:39:33 +0000 (06:39 +0000)] 
Added a new description_encoding attribute on the dialect.

This is used for encoding the column name when processing the metadata. This
usually defaults to utf-8.

16 years agoA few 2.3 cleanup items.
Michael Trier [Tue, 30 Dec 2008 06:24:59 +0000 (06:24 +0000)] 
A few 2.3 cleanup items.

16 years agoAdded in MSGenericBinary to the mssql dialect tests.
Michael Trier [Mon, 29 Dec 2008 21:38:04 +0000 (21:38 +0000)] 
Added in MSGenericBinary to the mssql dialect tests.

16 years ago- added another usage recipe for contains_eager()
Mike Bayer [Mon, 29 Dec 2008 20:25:11 +0000 (20:25 +0000)] 
- added another usage recipe for contains_eager()
- some typos

16 years ago - Added OracleNVarchar type, produces NVARCHAR2, and also
Mike Bayer [Sun, 28 Dec 2008 22:32:04 +0000 (22:32 +0000)] 
  - Added OracleNVarchar type, produces NVARCHAR2, and also
      subclasses Unicode so that convert_unicode=True by default.
      NVARCHAR2 reflects into this type automatically so
      these columns pass unicode on a reflected table with no explicit
      convert_unicode=True flags.  [ticket:1233]

16 years ago- Can pass mapped attributes and column objects as keys
Mike Bayer [Sun, 28 Dec 2008 21:48:12 +0000 (21:48 +0000)] 
- Can pass mapped attributes and column objects as keys
to query.update({}).  [ticket:1262]

- Mapped attributes passed to the values() of an
expression level insert() or update() will use the
keys of the mapped columns, not that of the mapped
attribute.

16 years agoAdded in a new MSGenericBinary type.
Michael Trier [Sun, 28 Dec 2008 21:07:57 +0000 (21:07 +0000)] 
Added in a new MSGenericBinary type.

This maps to the Binary type so it can implement the specialized behavior of
treating length specified types as fixed-width Binary types and non-length
types as an unbound variable length Binary type.

16 years ago- RowProxy objects can be used in place of dictionary arguments
Mike Bayer [Sun, 28 Dec 2008 20:58:38 +0000 (20:58 +0000)] 
- RowProxy objects can be used in place of dictionary arguments
sent to connection.execute() and friends.  [ticket:935]

16 years ago- Fixed shard_id argument on ShardedSession.execute().
Mike Bayer [Sun, 28 Dec 2008 19:54:58 +0000 (19:54 +0000)] 
- Fixed shard_id argument on ShardedSession.execute().
[ticket:1072]

16 years agoCorrected reflection issue in mssql where include_columns doesn't include the PK.
Michael Trier [Sun, 28 Dec 2008 17:38:26 +0000 (17:38 +0000)] 
Corrected reflection issue in mssql where include_columns doesn't include the PK.

16 years agoOn MSSQL if a field is part of the primary_key then it should not allow NULLS.
Michael Trier [Sun, 28 Dec 2008 07:40:56 +0000 (07:40 +0000)] 
On MSSQL if a field is part of the primary_key then it should not allow NULLS.

16 years agoMSSQL refactoring of BINARY type and addition of MSVarBinary and MSImage.
Michael Trier [Sun, 28 Dec 2008 01:46:44 +0000 (01:46 +0000)] 
MSSQL refactoring of BINARY type and addition of MSVarBinary and MSImage.

- Added in new types: MSVarBinary and MSImage
- Modified MSBinary to now return BINARY instead of IMAGE. This is a
  backwards incompatible change. Closes #1249.

16 years ago- added a full exercising test for all of #946, #947, #948, #949
Mike Bayer [Sat, 27 Dec 2008 19:35:12 +0000 (19:35 +0000)] 
- added a full exercising test for all of #946, #947, #948, #949

16 years ago- Added a mutex for the initial pool creation when
Mike Bayer [Sat, 27 Dec 2008 18:45:41 +0000 (18:45 +0000)] 
- Added a mutex for the initial pool creation when
using pool.manage(dbapi).  This prevents a minor
case of "dogpile" behavior which would otherwise
occur upon a heavy load startup.  [ticket:799]

16 years ago- Added ScopedSession.is_active accessor. [ticket:976]
Mike Bayer [Sat, 27 Dec 2008 18:24:00 +0000 (18:24 +0000)] 
- Added ScopedSession.is_active accessor. [ticket:976]

16 years ago- NullPool supports reconnect on failure behavior.
Mike Bayer [Sat, 27 Dec 2008 18:07:35 +0000 (18:07 +0000)] 
- NullPool supports reconnect on failure behavior.
[ticket:1094]

16 years ago- Reflected foreign keys will properly locate
Mike Bayer [Fri, 26 Dec 2008 05:28:38 +0000 (05:28 +0000)] 
- Reflected foreign keys will properly locate
their referenced column, even if the column
was given a "key" attribute different from
the reflected name.  This is achieved via a
new flag on ForeignKey/ForeignKeyConstraint
called "link_to_name", if True means the given
name is the referred-to column's name, not its
assigned key.
[ticket:650]
- removed column types from sqlite doc, we
aren't going to list out "implementation" types
since they aren't significant and are less present
in 0.6
- mysql will report on missing reflected foreign
key targets in the same way as other dialects
(we can improve that to be immediate within
reflecttable(), but it should be within
ForeignKeyConstraint()).
- postgres dialect can reflect table with
an include_columns list that doesn't include
one or more primary key columns

16 years agofix imports for index reflection unit test
Mike Bayer [Fri, 26 Dec 2008 00:51:44 +0000 (00:51 +0000)] 
fix imports for index reflection unit test

16 years agoFixed bugs in sqlalchemy documentation. Closes #1263.
Michael Trier [Wed, 24 Dec 2008 14:43:24 +0000 (14:43 +0000)] 
Fixed bugs in sqlalchemy documentation. Closes #1263.

16 years ago- Exceptions raised during compile_mappers() are now
Mike Bayer [Wed, 24 Dec 2008 04:47:06 +0000 (04:47 +0000)] 
- Exceptions raised during compile_mappers() are now
preserved to provide "sticky behavior" - if a hasattr()
call on a pre-compiled mapped attribute triggers a failing
compile and suppresses the exception, subsequent compilation
is blocked and the exception will be reiterated on the
next compile() call.  This issue occurs frequently
when using declarative.

16 years agouse new anonymize style for the public _anonymize as well
Mike Bayer [Tue, 23 Dec 2008 19:16:01 +0000 (19:16 +0000)] 
use new anonymize style for the public _anonymize as well

16 years agoAdded MSSQL support for introspecting the default schema name for the logged in user...
Michael Trier [Tue, 23 Dec 2008 06:01:09 +0000 (06:01 +0000)] 
Added MSSQL support for introspecting the default schema name for the logged in user. Thanks Randall Smith. Fixes #1258.

16 years agosilly negative ID numbers on linux...
Mike Bayer [Tue, 23 Dec 2008 05:44:49 +0000 (05:44 +0000)] 
silly negative ID numbers on linux...

16 years ago- Added Index reflection support to Postgres, using a
Mike Bayer [Tue, 23 Dec 2008 04:47:52 +0000 (04:47 +0000)] 
- Added Index reflection support to Postgres, using a
great patch we long neglected, submitted by
Ken Kuhlman. [ticket:714]

16 years agoMerge branch 'collation'
Michael Trier [Tue, 23 Dec 2008 04:08:13 +0000 (04:08 +0000)] 
Merge branch 'collation'

16 years ago- Columns can again contain percent signs within their
Mike Bayer [Tue, 23 Dec 2008 01:22:54 +0000 (01:22 +0000)] 
- Columns can again contain percent signs within their
names. [ticket:1256]

16 years agoMajor refactoring of the MSSQL dialect. Thanks zzzeek.
Michael Trier [Mon, 22 Dec 2008 20:20:55 +0000 (20:20 +0000)] 
Major refactoring of the MSSQL dialect. Thanks zzzeek.
Includes simplifying the IDENTITY handling and the exception handling. Also
includes a cleanup of the connection string handling for pyodbc to favor
the DSN syntax.

16 years agoalso check for primaryjoin/secondaryjoin that equates to False, [ticket:1087]
Mike Bayer [Mon, 22 Dec 2008 17:51:25 +0000 (17:51 +0000)] 
also check for primaryjoin/secondaryjoin that equates to False, [ticket:1087]

16 years ago- CHANGES update
Mike Bayer [Mon, 22 Dec 2008 15:10:06 +0000 (15:10 +0000)] 
- CHANGES update
- added slightly more preemptive message for bad remote_side

16 years ago- Fixed mysql bug in exception raise when FK columns not present
Mike Bayer [Sun, 21 Dec 2008 18:30:55 +0000 (18:30 +0000)] 
- Fixed mysql bug in exception raise when FK columns not present
during reflection. [ticket:1241]

16 years agofix unittest import
Mike Bayer [Sun, 21 Dec 2008 02:39:45 +0000 (02:39 +0000)] 
fix unittest import

16 years agoPulled callable into testlib because path fixup is not available at the point we...
Michael Trier [Sun, 21 Dec 2008 00:47:04 +0000 (00:47 +0000)] 
Pulled callable into testlib because path fixup is not available at the point we need it.

16 years agoCorrected ColumnsTest for mssql's new explicit nullability behavior.
Michael Trier [Sat, 20 Dec 2008 22:35:06 +0000 (22:35 +0000)] 
Corrected ColumnsTest for mssql's new explicit nullability behavior.

16 years agoremoved the "create_execution_context()" method from dialects and replaced
Mike Bayer [Fri, 19 Dec 2008 23:02:45 +0000 (23:02 +0000)] 
removed the "create_execution_context()" method from dialects and replaced
with a more succinct "dialect.execution_ctx_cls" member

16 years agomore platform neutral way of getting at 'buffer'
Mike Bayer [Fri, 19 Dec 2008 15:32:31 +0000 (15:32 +0000)] 
more platform neutral way of getting at 'buffer'

16 years agomissed an ordering on a set. attempting to nail down linux-specific buildbot errors
Mike Bayer [Fri, 19 Dec 2008 02:07:55 +0000 (02:07 +0000)] 
missed an ordering on a set.   attempting to nail down linux-specific buildbot errors

16 years agoand try again
Mike Bayer [Fri, 19 Dec 2008 02:03:12 +0000 (02:03 +0000)] 
and try again

16 years ago2.4 doesnt have hashlib....
Mike Bayer [Fri, 19 Dec 2008 02:01:42 +0000 (02:01 +0000)] 
2.4 doesnt have hashlib....

16 years ago*most* py3k warnings are resolved, with the exception of the various __setslice__...
Mike Bayer [Thu, 18 Dec 2008 18:46:27 +0000 (18:46 +0000)] 
*most* py3k warnings are resolved, with the exception of the various __setslice__ related warnings
I don't really know how to get rid of

16 years agomerge the test/ directory from -r5438:5439 of py3k_warnings branch. this gives
Mike Bayer [Thu, 18 Dec 2008 18:11:12 +0000 (18:11 +0000)] 
merge the test/ directory from -r5438:5439 of py3k_warnings branch.  this gives
us a 2.5-frozen copy of unittest so we're insulated from unittest changes.

16 years agomerged -r5299:5438 of py3k warnings branch. this fixes some sqlite py2.6 testing...
Mike Bayer [Thu, 18 Dec 2008 17:57:15 +0000 (17:57 +0000)] 
merged -r5299:5438 of py3k warnings branch.  this fixes some sqlite py2.6 testing issues,
and also addresses a significant chunk of py3k deprecations.  It's mainly
expicit __hash__ methods.  Additionally, most usage of sets/dicts to store columns uses
util-based placeholder names.

16 years agodynamic_loader() accepts query_class= to mix in user Query subclasses.
Jason Kirtland [Thu, 18 Dec 2008 17:06:01 +0000 (17:06 +0000)] 
dynamic_loader() accepts query_class= to mix in user Query subclasses.

16 years agoAssociation proxies no longer cloak themselves at the class level.
Jason Kirtland [Thu, 18 Dec 2008 16:55:47 +0000 (16:55 +0000)] 
Association proxies no longer cloak themselves at the class level.

16 years ago- Query() can be passed a "composite" attribute
Mike Bayer [Thu, 18 Dec 2008 16:50:49 +0000 (16:50 +0000)] 
- Query() can be passed a "composite" attribute
as a column expression and it will be expanded.
Somewhat related to [ticket:1253].
- Query() is a little more robust when passed
various column expressions such as strings,
clauselists, text() constructs (which may mean
it just raises an error more nicely).
- select() can accept a ClauseList as a column
in the same way as a Table or other selectable
and the interior expressions will be used as
column elements. [ticket:1253]
- removed erroneous FooTest from test/orm/query

-This line, and those below, will be ignored--

M    test/orm/query.py
M    test/orm/mapper.py
M    test/sql/select.py
M    lib/sqlalchemy/orm/query.py
M    lib/sqlalchemy/sql/expression.py
M    CHANGES