]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
14 years agofixes for savepoint test
Mike Bayer [Sun, 27 Mar 2011 01:52:31 +0000 (21:52 -0400)] 
fixes for savepoint test

14 years ago- convert @provide_metadata to use self access
Mike Bayer [Sun, 27 Mar 2011 01:40:05 +0000 (21:40 -0400)] 
- convert @provide_metadata to use self access
- having occasional issues with BasicEntity grabbing, if it persists
may have to pass an explicit base class into setup_classes()/setup_mappers()

14 years ago- move _fixtures to work via the normal methods of _base.MappedTest, convert
Mike Bayer [Sun, 27 Mar 2011 00:44:47 +0000 (20:44 -0400)] 
- move _fixtures to work via the normal methods of _base.MappedTest, convert
all referncing tests to not use globals
- tests that deal with pickle specifically load the fixture classes
from test.lib.pickleable, which gets some more classes added
- removed weird sa05 pickling tests that don't matter

14 years ago- move _fixtures into the traditional FixtureTest form. will adjust
Mike Bayer [Sat, 26 Mar 2011 23:30:40 +0000 (19:30 -0400)] 
- move _fixtures into the traditional FixtureTest form.  will adjust
old style tests

14 years ago- remove @testing.resolve_artifact_names, replace with direct attribute
Mike Bayer [Sat, 26 Mar 2011 23:03:11 +0000 (19:03 -0400)] 
- remove @testing.resolve_artifact_names, replace with direct attribute
access to the cls/self.tables/classes registries
- express orm/_base.py ORMTest in terms of engine/_base.py TablesTest,
factor out common steps into TablesTest, remove AltEngineTest as a
separate class.   will further consolidate these base classes

14 years agoindent the string here
Mike Bayer [Sat, 26 Mar 2011 19:31:15 +0000 (15:31 -0400)] 
indent the string here

14 years ago- changes to CHANGES
Mike Bayer [Sat, 26 Mar 2011 15:53:07 +0000 (11:53 -0400)] 
- changes to CHANGES

- The "-declarative" changes will now be listed
directly under the "-orm" section, as these
are closely related.

- The 0.5 series changes have been moved to
the file CHANGES_PRE_06 which replaces
CHANGES_PRE_05.

- The changelog for 0.6.7 and subsequent within
the 0.6 series is now listed only in the
CHANGES file within the 0.6 branch.
In the 0.7 CHANGES file all the
0.6 changes are listed inline within the 0.7
section in which they were also applied
(since all 0.6 changes are in 0.7 as well).
Changes that apply to an 0.6 version here
are noted as are if any differences in
implementation/behavior are present.

14 years ago- adjust the previous checkin a bit. need to transfer sequences over from pickle
Mike Bayer [Wed, 23 Mar 2011 21:38:54 +0000 (17:38 -0400)] 
- adjust the previous checkin a bit.  need to transfer sequences over from pickle
even if they are *not* restated.  its necessary here to do a "replacement"
scheme when an incoming sequence replaces the previous.  Theoretically
we could do what Table does here, i.e. use a singleton constructor, but
this is heavyhanded.   The most recent sequence placed in is the winner
is likely the most expected behavior.

14 years ago- Fixed regression whereby MetaData() coming
Mike Bayer [Wed, 23 Mar 2011 21:25:57 +0000 (17:25 -0400)] 
- Fixed regression whereby MetaData() coming
back from unpickling did not keep track of
new things it keeps track of now, i.e.
collection of Sequence objects, list
of schema names.  [ticket:2104]

14 years ago- Fixed bug in QueuePool, SingletonThreadPool whereby
Mike Bayer [Wed, 23 Mar 2011 03:39:05 +0000 (23:39 -0400)] 
- Fixed bug in QueuePool, SingletonThreadPool whereby
connections that were discarded via overflow or periodic
cleanup() were not explicitly closed, leaving garbage
collection to the task instead.   This generally only
affects non-reference-counting backends like Jython
and Pypy.  Thanks to Jaimy Azle for spotting
this.  [ticket:2102]

14 years ago- Restored the "catchall" constructor on the base
Mike Bayer [Mon, 21 Mar 2011 15:49:43 +0000 (11:49 -0400)] 
- Restored the "catchall" constructor on the base
TypeEngine class, with a deprecation warning.
This so that code which does something like
Integer(11) still succeeds.

14 years agoAdded tag rel_0_7b3 for changeset b6423d26280cac2ff74ab1450ce5549789ffa61e
Mike Bayer [Sun, 20 Mar 2011 19:14:15 +0000 (15:14 -0400)] 
Added tag rel_0_7b3 for changeset b6423d26280cac2ff74ab1450ce5549789ffa61e

14 years ago- remove all the fanfare from dynamic_loader() and de-emphasize it in rel_0_7b3
Mike Bayer [Sun, 20 Mar 2011 18:54:35 +0000 (14:54 -0400)] 
- remove all the fanfare from dynamic_loader() and de-emphasize it in
the docs for [ticket:2080].   Not deprecating for now.

14 years ago- add attrstrings for all the important mapper() attrbutes, [ticket:2094].
Mike Bayer [Sun, 20 Mar 2011 18:00:16 +0000 (14:00 -0400)] 
- add attrstrings for all the important mapper() attrbutes, [ticket:2094].
Sticking with quotes here since that's what's used everywhere else.
- rename "API Documentation - XYZ" to "XYZ API".
- move connection API docs to the bottom of that section.  still
floating between separate API sections vs. inline API sections, not
sure how to be consistent.
- fix outdated paragraph about derived_attrbutes
- other target function fixes

14 years ago- Added new generic function "next_value()", accepts
Mike Bayer [Sun, 20 Mar 2011 16:49:28 +0000 (12:49 -0400)] 
- Added new generic function "next_value()", accepts
a Sequence object as its argument and renders the
appropriate "next value" generation string on the
target platform, if supported.  Also provides
".next_value()" method on Sequence itself.
[ticket:2085]
- added tests for all the conditions described
in [ticket:2085]
- postgresql dialect will exec/compile a Sequence
that has "optional=True".  the optional flag is now only
checked specifically in the context of a Table primary key
evaulation.
- func.next_value() or other SQL expression can
be embedded directly into an insert() construct,
and if implicit or explicit "returning" is used
in conjunction with a primary key column,
the newly generated value will be present in
result.inserted_primary_key. [ticket:2084]

14 years agoAdded docs requirements
Michael Trier [Sun, 20 Mar 2011 04:05:22 +0000 (00:05 -0400)] 
Added docs requirements

14 years agowhoops, only on SQL server
Mike Bayer [Fri, 18 Mar 2011 16:30:06 +0000 (12:30 -0400)] 
whoops, only on SQL server

14 years ago- some doc reorg
Mike Bayer [Fri, 18 Mar 2011 01:13:14 +0000 (21:13 -0400)] 
- some doc reorg
- change engine.Connection to _connection_cls so sphinx doesn't get upset
- globally add "." to all :class:`Foo`
- start naming sections that are mostly docstrings "API Documentation - blah blah"
- move some ad-hoc docstrings into "API" sections, there is some inconsistency here
and it may be that we just have to leave it that way
- add "internals" rsts to core, orm, I'm not super thrilled how these look but they are
targeted by some of the public api docs, users typically become aware of these anyway

14 years agochangelog update with 0.6 message
Mike Bayer [Thu, 17 Mar 2011 20:59:51 +0000 (16:59 -0400)] 
changelog update with 0.6 message

14 years ago- Fixed bug in query.options() whereby a path
Mike Bayer [Thu, 17 Mar 2011 20:22:25 +0000 (16:22 -0400)] 
- Fixed bug in query.options() whereby a path
applied to a lazyload using string keys could
overlap a same named attribute on the wrong
entity.  Note 0.6 has a more conservative fix
to this.  [ticket:2098]

14 years ago- merge
Mike Bayer [Wed, 16 Mar 2011 22:16:26 +0000 (18:16 -0400)] 
- merge

14 years ago- Fixed AssertionPool regression bug. A replacement of finalize
Mike Bayer [Wed, 16 Mar 2011 22:15:27 +0000 (18:15 -0400)] 
- Fixed AssertionPool regression bug.  A replacement of finalize
logic did the wrong thing, but then also the logic it replaced also
doesn't seem like its needed.  If it is, would rather have a test case
first so its out for now, added tests for assertionpool.  [ticket:2097]

14 years agomerged upstream
Alex Gaynor [Wed, 16 Mar 2011 18:21:56 +0000 (14:21 -0400)] 
merged upstream

14 years agothis test fails on PyPy because it checks for a lastrowid after the connection is...
Alex Gaynor [Wed, 16 Mar 2011 18:18:27 +0000 (14:18 -0400)] 
this test fails on PyPy because it checks for a lastrowid after the connection is lcosed

14 years ago- Rewrote the query used to get the definition of a view,
Mike Bayer [Wed, 16 Mar 2011 18:06:33 +0000 (14:06 -0400)] 
- Rewrote the query used to get the definition of a view,
typically when using the Inspector interface, to
use sys.sql_modules instead of the information schema,
thereby allowing views definitions longer than 4000
characters to be fully returned.  [ticket:2071]

14 years agomerged upstream
Alex Gaynor [Wed, 16 Mar 2011 17:59:23 +0000 (13:59 -0400)] 
merged upstream

14 years ago- alex gaynor's latest batch of pypy test fixes
Mike Bayer [Wed, 16 Mar 2011 17:04:07 +0000 (13:04 -0400)] 
- alex gaynor's latest batch of pypy test fixes

14 years agopypy fixes.
Alex Gaynor [Wed, 16 Mar 2011 16:56:48 +0000 (12:56 -0400)] 
pypy fixes.

14 years ago- The horizontal_shard ShardedSession class accepts the common
Mike Bayer [Wed, 16 Mar 2011 16:43:22 +0000 (12:43 -0400)] 
- The horizontal_shard ShardedSession class accepts the common
Session argument "query_cls" as a constructor argument,
to enable further subclassing of ShardedQuery.
[ticket:2090]
- The Beaker caching example allows a "query_cls" argument
to the query_callable() function.  [ticket:2090]

14 years ago- Improvements to the error messages emitted when
Mike Bayer [Wed, 16 Mar 2011 16:30:13 +0000 (12:30 -0400)] 
- Improvements to the error messages emitted when
querying against column-only entities in conjunction
with (typically incorrectly) using loader options,
where the parent entity is not fully present.
[ticket:2069]

14 years ago- Firebird - the "implicit_returning" flag on create_engine() is
Mike Bayer [Wed, 16 Mar 2011 15:22:28 +0000 (11:22 -0400)] 
- Firebird - the "implicit_returning" flag on create_engine() is
honored if set to False.  [ticket:2083]

14 years ago- Fixed the BIT type to allow a "length" parameter, "varying"
Mike Bayer [Wed, 16 Mar 2011 15:01:20 +0000 (11:01 -0400)] 
- Fixed the BIT type to allow a "length" parameter, "varying"
parameter.  Reflection also fixed.  [ticket:2073]

14 years agodouble quote these
Mike Bayer [Wed, 16 Mar 2011 14:43:42 +0000 (10:43 -0400)] 
double quote these

14 years ago- Added accessors to ResultProxy "returns_rows", "is_insert"
Mike Bayer [Wed, 16 Mar 2011 14:36:48 +0000 (10:36 -0400)] 
- Added accessors to ResultProxy "returns_rows", "is_insert"
[ticket:2089]

14 years agoblow away some globals in the search for what makes resolve_artifact_names fail ...
Mike Bayer [Wed, 16 Mar 2011 05:26:27 +0000 (01:26 -0400)] 
blow away some globals in the search for what makes resolve_artifact_names fail (possibly when there's already globals in the way...)

14 years agoFix 3 errors in py32, from patch from lsblakk. There are still 8 failures. See #2088.
Taavi Burns [Wed, 16 Mar 2011 04:32:33 +0000 (00:32 -0400)] 
Fix 3 errors in py32, from patch from lsblakk. There are still 8 failures. See #2088.

14 years ago- adjust gc_collect for pypy
Mike Bayer [Wed, 16 Mar 2011 02:11:34 +0000 (22:11 -0400)] 
- adjust gc_collect for pypy

14 years ago- qualify the use of locals() based on python version in use, don't run for pypy...
Mike Bayer [Wed, 16 Mar 2011 01:36:34 +0000 (21:36 -0400)] 
- qualify the use of locals() based on python version in use, don't run for pypy, jython, should fix [ticket:1073]

14 years agochange TypeError test to not care about string message
Mike Bayer [Wed, 16 Mar 2011 01:26:59 +0000 (21:26 -0400)] 
change TypeError test to not care about string message

14 years ago- merge
Mike Bayer [Tue, 15 Mar 2011 22:32:53 +0000 (18:32 -0400)] 
- merge

14 years agomerge
Taavi Burns [Tue, 15 Mar 2011 22:22:18 +0000 (18:22 -0400)] 
merge

14 years agoMerge
Michael Trier [Tue, 15 Mar 2011 22:01:00 +0000 (18:01 -0400)] 
Merge

14 years agoMerge
Michael Trier [Tue, 15 Mar 2011 22:00:17 +0000 (18:00 -0400)] 
Merge

14 years agoMerge
Denise Govindarajan [Tue, 15 Mar 2011 21:55:01 +0000 (17:55 -0400)] 
Merge

14 years agoPulling 32d2b5d1962961b4134463becdd988888f797e90 onto default from rel_0_6
Taavi Burns [Tue, 15 Mar 2011 21:54:11 +0000 (17:54 -0400)] 
Pulling 32d2b5d1962961b4134463becdd988888f797e90 onto default from rel_0_6

14 years agopsycopg2 2.4 no longer accepts % in bind place holders
Denise Govindarajan [Tue, 15 Mar 2011 21:47:36 +0000 (17:47 -0400)] 
psycopg2 2.4 no longer accepts % in bind place holders

14 years agoAdded required import (somehow we never seem to hit the unimported ref)
Taavi Burns [Tue, 15 Mar 2011 21:45:55 +0000 (17:45 -0400)] 
Added required import (somehow we never seem to hit the unimported ref)

14 years ago- add tests, CHANGES for [ticket:2095]
Mike Bayer [Tue, 15 Mar 2011 21:31:19 +0000 (17:31 -0400)] 
- add tests, CHANGES for [ticket:2095]

14 years agoInformix and postgresql reserved words changes -- almost done.
Jim Phares [Tue, 15 Mar 2011 20:56:45 +0000 (16:56 -0400)] 
Informix and postgresql reserved words changes -- almost done.

14 years agoRemoving unused symbol import
Taavi Burns [Tue, 15 Mar 2011 20:01:58 +0000 (16:01 -0400)] 
Removing unused symbol import

14 years agoinitial work on column reflect
Mike Bayer [Mon, 14 Mar 2011 20:36:08 +0000 (16:36 -0400)] 
initial work on column reflect

14 years agomerge
Mike Bayer [Mon, 14 Mar 2011 19:08:47 +0000 (15:08 -0400)] 
merge

14 years ago- Arguments in __mapper_args__ that aren't "hashable"
Mike Bayer [Mon, 14 Mar 2011 19:01:17 +0000 (15:01 -0400)] 
- Arguments in __mapper_args__ that aren't "hashable"
aren't mistaken for always-hashable, possibly-column
arguments.  [ticket:2091]

14 years agoTests for unicode columns with non-unicode defaults. See #2079.
Taavi Burns [Mon, 14 Mar 2011 18:42:11 +0000 (14:42 -0400)] 
Tests for unicode columns with non-unicode defaults.  See #2079.

14 years agoWarn about unicode column having non-unicode default. See #2079.
Diana Clarke [Mon, 14 Mar 2011 18:34:44 +0000 (14:34 -0400)] 
Warn about unicode column having non-unicode default.  See #2079.

14 years agoMerge
Michael Trier [Mon, 14 Mar 2011 16:04:36 +0000 (12:04 -0400)] 
Merge

14 years agoFixed order_by in test.orm.test_froms.MixedEntitiesTest.test_values.
Jim Phares [Mon, 14 Mar 2011 15:51:38 +0000 (11:51 -0400)] 
Fixed order_by in test.orm.test_froms.MixedEntitiesTest.test_values.

14 years agoCorrected order by in test joins.
Denise Govindarajan [Mon, 14 Mar 2011 15:44:38 +0000 (11:44 -0400)] 
Corrected order by in test joins.

14 years agofix "associated" at the source too
Mike Bayer [Mon, 14 Mar 2011 15:20:01 +0000 (11:20 -0400)] 
fix "associated" at the source too

14 years agoFixed doc problem. Thanks Toby Ho.
Michael Trier [Mon, 14 Mar 2011 04:43:08 +0000 (00:43 -0400)] 
Fixed doc problem. Thanks Toby Ho.

14 years agoAssociated was spelled wrong.
Michael Trier [Mon, 14 Mar 2011 04:20:34 +0000 (00:20 -0400)] 
Associated was spelled wrong.

14 years ago- Updated the association, association proxy examples
Mike Bayer [Sun, 13 Mar 2011 17:59:00 +0000 (13:59 -0400)] 
- Updated the association, association proxy examples
to use declarative, added a new example
dict_of_sets_with_default.py, a "pushing the envelope"
example of association proxy.

14 years ago- Changed the underlying approach to query.count().
Mike Bayer [Thu, 10 Mar 2011 00:17:45 +0000 (19:17 -0500)] 
- Changed the underlying approach to query.count().
query.count() is now in all cases exactly:

query.
    from_self(func.count(literal_column('1'))).
    scalar()

That is, "select count(1) from (<full query>)".
This produces a subquery in all cases, but
vastly simplifies all the guessing count()
tried to do previously, which would still
fail in many scenarios particularly when
joined table inheritance and other joins
were involved.  If the subquery produced
for an otherwise very simple count is really
an issue, use query(func.count()) as an
optimization.  [ticket:2093]

14 years agoModifications for PyPy support from Alex Gaynor.
Michael Trier [Wed, 9 Mar 2011 04:40:59 +0000 (23:40 -0500)] 
Modifications for PyPy support from Alex Gaynor.

14 years ago- A tweak to the unit of work causes it to order
Mike Bayer [Sun, 6 Mar 2011 20:37:18 +0000 (15:37 -0500)] 
- A tweak to the unit of work causes it to order
the flush along relationship() dependencies even if
the given objects don't have any inter-attribute
references in memory, which was the behavior in
0.5 and earlier, so a flush of Parent/Child with
only foreign key/primary key set will succeed.
This while still maintaining 0.6 and above's not
generating a ton of useless internal dependency
structures within the flush that don't correspond
to state actually within the current flush.
[ticket:2082]

14 years ago0.6.7 changelog message
Mike Bayer [Sat, 5 Mar 2011 17:28:16 +0000 (12:28 -0500)] 
0.6.7 changelog message

14 years ago - some changes to the identity map regarding
Mike Bayer [Sat, 5 Mar 2011 01:52:22 +0000 (20:52 -0500)] 
  - some changes to the identity map regarding
    rare weakref callbacks during iterations.
    The mutex has been removed as it apparently
    can cause a reentrant (i.e. in one thread) deadlock,
    perhaps when gc collects objects at the point of
    iteration in order to gain more memory.  It is hoped
    that "dictionary changed during iteration" will
    be exceedingly rare as iteration methods internally
    acquire the full list of objects in a single values()
    call. [ticket:2087]

14 years agoCorrected a bunch of spelling typos
Diana Clarke [Mon, 28 Feb 2011 18:21:08 +0000 (13:21 -0500)] 
Corrected a bunch of spelling typos

14 years agocorrected a bunch of spelling typos
Diana Clarke [Mon, 28 Feb 2011 18:17:46 +0000 (13:17 -0500)] 
corrected a bunch of spelling typos

14 years agoAdded changes information for #2060.
Michael Trier [Mon, 14 Mar 2011 16:46:21 +0000 (12:46 -0400)] 
Added changes information for #2060.

14 years agosee #2060
Diana Clarke [Tue, 1 Mar 2011 04:55:34 +0000 (23:55 -0500)] 
see #2060

14 years ago- Added a fully descriptive error message for the
Mike Bayer [Mon, 28 Feb 2011 17:47:04 +0000 (12:47 -0500)] 
- Added a fully descriptive error message for the
case where Column is subclassed and _make_proxy()
fails to make a copy due to TypeError on the
constructor.   The method _constructor should
be implemented in this case.

14 years ago- establish an "insert" option for events to control ordering if needed (not needed...
Mike Bayer [Fri, 25 Feb 2011 18:20:43 +0000 (13:20 -0500)] 
- establish an "insert" option for events to control ordering if needed (not needed yet tho)
- render foreign key constraints in the order in which they were cerated

14 years agoAdded tag rel_0_7b2 for changeset e6d00f8234d6f31113447098181eb5a722085c33
Mike Bayer [Sat, 19 Feb 2011 19:32:14 +0000 (14:32 -0500)] 
Added tag rel_0_7b2 for changeset e6d00f8234d6f31113447098181eb5a722085c33

14 years ago0.7b2 rel_0_7b2
Mike Bayer [Sat, 19 Feb 2011 18:11:34 +0000 (13:11 -0500)] 
0.7b2

14 years agomerge everything all over again...
Mike Bayer [Sat, 19 Feb 2011 18:10:46 +0000 (13:10 -0500)] 
merge everything all over again...

14 years ago - Fix error message referencing old @classproperty
Mike Bayer [Sat, 19 Feb 2011 17:59:12 +0000 (12:59 -0500)] 
  - Fix error message referencing old @classproperty
    name to reference @declared_attr [ticket:2061]

14 years ago- pulling out the PG type impls in create table knocked the counts out a bit (I am...
Mike Bayer [Sat, 19 Feb 2011 02:32:39 +0000 (21:32 -0500)] 
- pulling out the PG type impls in create table knocked the counts out a bit (I am assuming/guessing).

14 years ago-adjust the fix for [ticket:2065] to not rely upon type affinity, revert
Mike Bayer [Fri, 18 Feb 2011 02:05:24 +0000 (21:05 -0500)] 
-adjust the fix for [ticket:2065] to not rely upon type affinity, revert
the _type_affinity attribute of SmallInteger, BigInteger

14 years ago- use easy to recognize names for backref events [ticket:2066]
Mike Bayer [Fri, 18 Feb 2011 01:52:07 +0000 (20:52 -0500)] 
- use easy to recognize names for backref events [ticket:2066]

14 years ago- Fixed regression from 0.6 where SMALLINT and
Mike Bayer [Fri, 18 Feb 2011 01:43:17 +0000 (20:43 -0500)] 
- Fixed regression from 0.6 where SMALLINT and
BIGINT types would both generate SERIAL
on an integer PK column, instead of
SMALLINT and BIGSERIAL [ticket:2065]

14 years ago- The Column.references() method now returns True
Mike Bayer [Fri, 18 Feb 2011 01:27:35 +0000 (20:27 -0500)] 
- The Column.references() method now returns True
if it has a foreign key referencing the
given column exactly, not just it's parent
table.  [ticket:2064]

14 years ago- changelog for [ticket:2059]
Mike Bayer [Fri, 18 Feb 2011 01:02:48 +0000 (20:02 -0500)] 
- changelog for [ticket:2059]

14 years ago- rename EngineEvents to ConnectionEvents
Mike Bayer [Fri, 18 Feb 2011 00:59:45 +0000 (19:59 -0500)] 
- rename EngineEvents to ConnectionEvents
- simplify connection event model to be inline inside Connection, don't use ad-hoc
subclasses (technically would leak memory for the app that keeps creating engines
and adding events)
- not doing listen-per-connection yet.  this is closer.  overall things
are much simpler now (until we put listen-per-connection in...)

14 years ago- the dictionary at the end of the __table_args__
Mike Bayer [Thu, 17 Feb 2011 17:06:56 +0000 (12:06 -0500)] 
- the dictionary at the end of the __table_args__
tuple is now optional.  [ticket:1468]

14 years agoadd a close to this as PG appears to be hanging
Mike Bayer [Mon, 14 Feb 2011 22:17:29 +0000 (17:17 -0500)] 
add a close to this as PG appears to be hanging

14 years ago- Fixed regression whereby composite() with
Mike Bayer [Mon, 14 Feb 2011 17:51:53 +0000 (12:51 -0500)] 
- Fixed regression whereby composite() with
Column objects placed inline would fail
to initialize.  The Column objects can now
be inline with the composite() or external
and pulled in via name or object ref.
[ticket:2058]

14 years ago- Beaker example now takes into account 'limit'
Mike Bayer [Mon, 14 Feb 2011 03:30:00 +0000 (22:30 -0500)] 
- Beaker example now takes into account 'limit'
and 'offset', bind params within embedded
FROM clauses (like when you use union() or
from_self()) when generating a cache key.

14 years agofix arg in ddl events
Mike Bayer [Mon, 14 Feb 2011 01:21:58 +0000 (20:21 -0500)] 
fix arg in ddl events

14 years ago- Association proxy now has correct behavior for
Mike Bayer [Mon, 14 Feb 2011 01:20:34 +0000 (20:20 -0500)] 
- Association proxy now has correct behavior for
any(), has(), and contains() when proxying
a many-to-one scalar attribute to a one-to-many
collection (i.e. the reverse of the 'typical'
association proxy use case)  [ticket:2054]

14 years ago- The Sequence() construct, when passed a MetaData()
Mike Bayer [Mon, 14 Feb 2011 00:32:00 +0000 (19:32 -0500)] 
- The Sequence() construct, when passed a MetaData()
object via its 'metadata' argument, will be
included in CREATE/DROP statements within
metadata.create_all() and metadata.drop_all(),
including "checkfirst" logic.  [ticket:2055]

14 years agofix this directive for py3k
Mike Bayer [Sun, 13 Feb 2011 03:29:36 +0000 (22:29 -0500)] 
fix this directive for py3k

14 years ago- Fixed bug whereby Session.merge() would call the
Mike Bayer [Sun, 13 Feb 2011 03:20:47 +0000 (22:20 -0500)] 
- Fixed bug whereby Session.merge() would call the
load() event with one too few arguments.
[ticket:2053]

- Added logic which prevents the generation of
events from a MapperExtension or SessionExtension
from generating do-nothing events for all the methods
not overridden. [ticket:2052]

14 years agoAdded tag rel_0_7b1 for changeset 53aab63b6c24dfdcc249ada5c9d712dc42e5ae40
Mike Bayer [Sat, 12 Feb 2011 23:30:46 +0000 (18:30 -0500)] 
Added tag rel_0_7b1 for changeset 53aab63b6c24dfdcc249ada5c9d712dc42e5ae40

14 years ago- remove some remaining sys.modules shenanigans rel_0_7b1
Mike Bayer [Sat, 12 Feb 2011 23:00:45 +0000 (18:00 -0500)] 
- remove some remaining sys.modules shenanigans
- The "sqlalchemy.exceptions" alias in sys.modules
has been removed.   Base SQLA exceptions are
available via "from sqlalchemy import exc".
The "exceptions" alias for "exc" remains in
"sqlalchemy" for now, it's just not patched into
sys.modules.

14 years ago- Added an explicit check for the case that the name
Mike Bayer [Sat, 12 Feb 2011 22:33:15 +0000 (17:33 -0500)] 
- Added an explicit check for the case that the name
'metadata' is used for a column attribute on a
declarative class. [ticket:2050]

14 years ago0.7 will be beta classifier to start
Mike Bayer [Sat, 12 Feb 2011 22:14:34 +0000 (17:14 -0500)] 
0.7 will be beta classifier to start

14 years agoweird non-ascii char
Mike Bayer [Sat, 12 Feb 2011 22:09:59 +0000 (17:09 -0500)] 
weird non-ascii char

14 years agough. OK let is_modified accept true/false
Mike Bayer [Fri, 11 Feb 2011 23:24:36 +0000 (18:24 -0500)] 
ugh. OK let is_modified accept true/false

14 years ago- fix long lines in test_attributes
Mike Bayer [Fri, 11 Feb 2011 22:58:49 +0000 (17:58 -0500)] 
- fix long lines in test_attributes
- add deprecation warning to get_history() when passed
True or False, convert
- rearrange symbol() so we can get sphinx autodata to work