]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
14 years ago- [bug] Fixed bug whereby objects using
Mike Bayer [Mon, 5 Mar 2012 15:24:15 +0000 (10:24 -0500)] 
- [bug] Fixed bug whereby objects using
attribute_mapped_collection or
column_mapped_collection could not be
pickled.  [ticket:2409]

14 years agofix typos, SQL server also needs union all
Mike Bayer [Sat, 3 Mar 2012 18:10:37 +0000 (13:10 -0500)] 
fix typos, SQL server also needs union all

14 years agomerge this
Mike Bayer [Sat, 3 Mar 2012 18:01:14 +0000 (13:01 -0500)] 
merge this

14 years ago- [feature] Added cte() method to Query,
Mike Bayer [Sat, 3 Mar 2012 18:00:44 +0000 (13:00 -0500)] 
- [feature] Added cte() method to Query,
invokes common table expression support
from the Core (see below). [ticket:1859]

- [feature] Added support for SQL standard
common table expressions (CTE), allowing
SELECT objects as the CTE source (DML
not yet supported).  This is invoked via
the cte() method on any select() construct.
[ticket:1859]

14 years agounmonkeypatch the 2to3 preprocessor so we don't disturb subsequent runs
Philip Jenvey [Fri, 2 Mar 2012 08:21:18 +0000 (00:21 -0800)] 
unmonkeypatch the 2to3 preprocessor so we don't disturb subsequent runs
patch from mcdonc
fixes #2421

14 years agothis is 0.7.6..
Mike Bayer [Thu, 1 Mar 2012 00:18:11 +0000 (19:18 -0500)] 
this is 0.7.6..

14 years ago- [bug] Fixed the repr() for CascadeOptions to
Mike Bayer [Wed, 29 Feb 2012 23:27:17 +0000 (18:27 -0500)] 
- [bug] Fixed the repr() for CascadeOptions to
include refresh-expire.  Also reworked
CascadeOptions to be a <frozenset>.
[ticket:2417]

14 years ago- expand the check to determine if a selectable column is embedded
Mike Bayer [Wed, 29 Feb 2012 22:47:59 +0000 (17:47 -0500)] 
- expand the check to determine if a selectable column is embedded
in the corresponding selectable to take into account clones
of the target column.  fixes [ticket:2419]
- have _make_proxy() copy out the _is_clone_of attribute on the
new column so that even more corresponding_column() checks
work as expected for cloned elements.
- add a new test fixture so that mapped tests can be specified
using declarative.

14 years agoremove the "produce test" approach from the polymorphic_rel tests,
Mike Bayer [Tue, 28 Feb 2012 21:13:26 +0000 (16:13 -0500)] 
remove the "produce test" approach from the polymorphic_rel tests,
break out fixtures into a separate module which will be
used by some future test suites as well

14 years agoadded missing 0.4 versions to CHANGES_PRE_06
Mike Bayer [Mon, 27 Feb 2012 16:14:46 +0000 (11:14 -0500)] 
added missing 0.4 versions to CHANGES_PRE_06

14 years agofix callcount
Mike Bayer [Mon, 27 Feb 2012 00:42:16 +0000 (19:42 -0500)] 
fix callcount

14 years agoadd tests for #2128
Mike Bayer [Sun, 26 Feb 2012 23:43:36 +0000 (18:43 -0500)] 
add tests for #2128

14 years agoremove check_columns here so warning not emitted with update from
Mike Bayer [Sun, 26 Feb 2012 23:22:27 +0000 (18:22 -0500)] 
remove check_columns here so warning not emitted with update from

14 years agoalmost through all the fine tuning
Mike Bayer [Sat, 25 Feb 2012 23:04:40 +0000 (18:04 -0500)] 
almost through all the fine tuning

14 years agostart to work on error messages, allow foreign_keys as only argument
Mike Bayer [Sat, 25 Feb 2012 22:10:06 +0000 (17:10 -0500)] 
start to work on error messages, allow foreign_keys as only argument
if otherwise can't determine join condition due to no fks

14 years agoplus add it to the scoping namespace
Mike Bayer [Sat, 25 Feb 2012 19:38:00 +0000 (14:38 -0500)] 
plus add it to the scoping namespace

14 years ago- [feature] Added "no_autoflush" context
Mike Bayer [Sat, 25 Feb 2012 19:34:02 +0000 (14:34 -0500)] 
- [feature] Added "no_autoflush" context
manager to Session, used with with:
will temporarily disable autoflush.

14 years ago- [bug] A warning is emitted when a not-present
Mike Bayer [Tue, 21 Feb 2012 15:49:38 +0000 (10:49 -0500)] 
- [bug] A warning is emitted when a not-present
column is stated in the values() clause
of an insert() or update() construct.
Will move to an exception in 0.8.
[ticket:2413]

14 years agodocument with_lockmode(), [ticket:2412]
Mike Bayer [Mon, 20 Feb 2012 14:42:47 +0000 (09:42 -0500)] 
document with_lockmode(), [ticket:2412]

14 years agobreak up _join_left_to_right to call upon _prepare_right_side and _join_to_left.
Mike Bayer [Fri, 17 Feb 2012 00:29:00 +0000 (19:29 -0500)] 
break up _join_left_to_right to call upon _prepare_right_side and _join_to_left.
this separates the handling of each side totally making it easier to see
what's going on.

14 years ago- fix some unclear phrases in query regarding polymorphic,
Mike Bayer [Thu, 16 Feb 2012 23:54:10 +0000 (18:54 -0500)] 
- fix some unclear phrases in query regarding polymorphic,
slowly approaching [ticket:2333]
- pep8 most of the big old polymorphic tests, break lots
of the inheritance/test_query tests into individual tests
since these are the ones that are easily broken when
screwing with query

14 years agomysql connector python 3k is dev status
Mike Bayer [Thu, 16 Feb 2012 15:04:07 +0000 (10:04 -0500)] 
mysql connector python 3k is dev status

14 years agocallcounts
Mike Bayer [Wed, 15 Feb 2012 16:50:01 +0000 (11:50 -0500)] 
callcounts

14 years agotest failures
Mike Bayer [Wed, 15 Feb 2012 15:13:47 +0000 (10:13 -0500)] 
test failures

14 years agomodify these tests to ensure the CASE output is being used fully
Mike Bayer [Tue, 14 Feb 2012 17:59:11 +0000 (12:59 -0500)] 
modify these tests to ensure the CASE output is being used fully

14 years ago- [bug] Altered _params_from_query() function
Mike Bayer [Tue, 14 Feb 2012 17:04:04 +0000 (12:04 -0500)] 
- [bug] Altered _params_from_query() function
in Beaker example to pull bindparams from the
fully compiled statement, as a quick means
to get everything including subqueries in the
columns clause, etc.

14 years agoupdate the search to call searchindex.js in the latest way
Mike Bayer [Tue, 14 Feb 2012 15:16:16 +0000 (10:16 -0500)] 
update the search to call searchindex.js in the latest way
sphinx decides we should be, [ticket:2408]

14 years ago - [bug] Added execution_options() call to
Mike Bayer [Tue, 14 Feb 2012 01:21:18 +0000 (20:21 -0500)] 
  - [bug] Added execution_options() call to
    MockConnection (i.e., that used with
    strategy="mock") which acts as a pass through
    for arguments.

14 years ago - [feature] Added "no_parameters=True" execution
Mike Bayer [Tue, 14 Feb 2012 01:07:44 +0000 (20:07 -0500)] 
  - [feature] Added "no_parameters=True" execution
    option for connections.   If no parameters
    are present, will pass the statement
    as cursor.execute(statement), thereby invoking
    the DBAPIs behavior when no parameter collection
    is present; for psycopg2 and mysql-python, this
    means not interpreting % signs in the string.
    This only occurs with this option, and not
    just if the param list is blank, as otherwise
    this would produce inconsistent behavior
    of SQL expressions that normally escape percent
    signs (and while compiling, can't know ahead of
    time if parameters will be present in
    some cases).  [ticket:2407]

14 years agorevert this, bad idea
Mike Bayer [Tue, 14 Feb 2012 00:29:38 +0000 (19:29 -0500)] 
revert this, bad idea

14 years ago- [bug] Fixed the "render literal bind" function,
Mike Bayer [Mon, 13 Feb 2012 23:53:21 +0000 (18:53 -0500)] 
- [bug] Fixed the "render literal bind" function,
used by Alembic, to escape % signs with %%.

14 years ago- [bug] Fixed bug whereby MappedCollection
Mike Bayer [Mon, 13 Feb 2012 21:04:57 +0000 (16:04 -0500)] 
- [bug] Fixed bug whereby MappedCollection
would not get the appropriate collection
instrumentation if it were only used
in a custom subclass that used
@collection.internally_instrumented.
[ticket:2406]
- added docs for collection

14 years ago- test failures. one in particular seems to be a weird oursql bug, oh well
Mike Bayer [Mon, 13 Feb 2012 01:00:44 +0000 (20:00 -0500)] 
- test failures.  one in particular seems to be a weird oursql bug, oh well

14 years ago- break out sample URLs into individual, per-database sections each with a link
Mike Bayer [Mon, 13 Feb 2012 00:06:49 +0000 (19:06 -0500)] 
- break out sample URLs into individual, per-database sections each with a link
to the dialect page.
- add a section for unix domain sockets under psycopg2 [ticket:2393]

14 years ago- [feature] Added a new oracle create_engine() flag
Mike Bayer [Sun, 12 Feb 2012 23:45:17 +0000 (18:45 -0500)] 
- [feature] Added a new oracle create_engine() flag
coerce_to_decimal=False, disables the precision
numeric handling which can add lots of overhead
by converting all numeric values to
Decimal.  [ticket:2399]

14 years ago- add OrderingList class and other functions to sphinx documentation
Mike Bayer [Sun, 12 Feb 2012 23:30:42 +0000 (18:30 -0500)] 
- add OrderingList class and other functions to sphinx documentation
[ticket:2391]

14 years ago- [feature] Added the ability to query for
Mike Bayer [Sun, 12 Feb 2012 23:25:19 +0000 (18:25 -0500)] 
- [feature] Added the ability to query for
Table-bound column names when using
query(sometable).filter_by(colname=value).
[ticket:2400]

14 years ago- [feature] Added support for the "isolation_level"
Mike Bayer [Sun, 12 Feb 2012 23:07:41 +0000 (18:07 -0500)] 
- [feature] Added support for the "isolation_level"
parameter to all MySQL dialects.  Thanks
to mu_mind for the patch here. [ticket:2394]
- add documentation examples for mysql, postgresql
- pep8ing

14 years ago- [bug] Index will raise when arguments passed
Mike Bayer [Sun, 12 Feb 2012 22:47:36 +0000 (17:47 -0500)] 
- [bug] Index will raise when arguments passed
cannot be interpreted as columns or expressions.
Will warn when Index is created
with no columns at all.  [ticket:2380]

14 years ago- [bug] Fixed bug whereby if a method name
Mike Bayer [Sun, 12 Feb 2012 22:28:20 +0000 (17:28 -0500)] 
- [bug] Fixed bug whereby if a method name
conflicted with a column name, a
TypeError would be raised when the mapper
tried to inspect the __get__() method
on the method object.  [ticket:2352]

14 years ago- [bug] Fixed bug in new "autoload_replace" flag
Mike Bayer [Sun, 12 Feb 2012 22:14:34 +0000 (17:14 -0500)] 
- [bug] Fixed bug in new "autoload_replace" flag
which would fail to preserve the primary
key constraint of the reflected table.
[ticket:2402]

14 years ago- Added missing compilation support for
Mike Bayer [Sun, 12 Feb 2012 22:10:50 +0000 (17:10 -0500)] 
- Added missing compilation support for
LONG [ticket:2401]
- broke out oracle tests for types that only require dialect

14 years ago- add a context manager availble via Engine.begin()
Mike Bayer [Sun, 12 Feb 2012 21:43:26 +0000 (16:43 -0500)] 
- add a context manager availble via Engine.begin()
- add a test suite for all the Engine/Connection/TLEngine transaction/begin
helpers/context managers
- update docs

14 years ago- figured out again why deannotate must clone()
Mike Bayer [Sun, 12 Feb 2012 01:33:56 +0000 (20:33 -0500)] 
- figured out again why deannotate must clone()
- got everything working.  just need to update
error strings

14 years agomany fixes but still can't get heuristics to work as well as what's existing,
Mike Bayer [Sat, 11 Feb 2012 20:43:05 +0000 (15:43 -0500)] 
many fixes but still can't get heuristics to work as well as what's existing,
tests still failing

14 years agodocument identity_map
Mike Bayer [Sat, 11 Feb 2012 15:52:00 +0000 (10:52 -0500)] 
document identity_map

14 years agotweak for correlated subqueries here, seems to work for test_eager_relations:Correlat...
Mike Bayer [Fri, 10 Feb 2012 22:59:06 +0000 (17:59 -0500)] 
tweak for correlated subqueries here, seems to work for test_eager_relations:CorrelatedSubqueryTest but need some more testing here

14 years ago- move properties to use the new create_joins
Mike Bayer [Fri, 10 Feb 2012 22:50:15 +0000 (17:50 -0500)] 
- move properties to use the new create_joins
- fix up subquery eager loading

14 years agoadd a test for reverse remote
Mike Bayer [Fri, 10 Feb 2012 16:58:13 +0000 (11:58 -0500)] 
add a test for reverse remote

14 years agofix up this test
Mike Bayer [Fri, 10 Feb 2012 16:54:18 +0000 (11:54 -0500)] 
fix up this test

14 years ago- got m2m, local_remote_pairs, etc. working
Mike Bayer [Fri, 10 Feb 2012 02:16:53 +0000 (21:16 -0500)] 
- got m2m, local_remote_pairs, etc. working
- using new traversal that returns the product of both sides
of a binary, starting to work with (a+b) == (c+d) types of joins.
primaryjoins on functions working
- annotations working, including reversing local/remote when
doing backref

14 years agothis is the actual case that #1401 will fix. confirmed broken in 0.7
Mike Bayer [Thu, 9 Feb 2012 23:07:41 +0000 (18:07 -0500)] 
this is the actual case that #1401 will fix.   confirmed broken in 0.7

14 years agodeclarartive reflection example didn't actually work for single inheritance, added...
Mike Bayer [Thu, 9 Feb 2012 20:56:21 +0000 (15:56 -0500)] 
declarartive reflection example didn't actually work for single inheritance, added a tweak to make that possible

14 years ago- hooks in the new object to RelationshipProperty, restores the "local" annotation.
Mike Bayer [Wed, 8 Feb 2012 23:46:36 +0000 (18:46 -0500)] 
- hooks in the new object to RelationshipProperty, restores the "local" annotation.
also added in sync pairs, etc.  many-to-many is currently broken.

14 years agonew test that illustrates the breakage of partial remote side when FKs are assumed
Mike Bayer [Wed, 8 Feb 2012 22:44:57 +0000 (17:44 -0500)] 
new test that illustrates the breakage of partial remote side when FKs are assumed

14 years agomerge tip
Mike Bayer [Wed, 8 Feb 2012 22:43:45 +0000 (17:43 -0500)] 
merge tip

14 years agosome work on the #1401 branch has discovered that this very old test is pointless;
Mike Bayer [Wed, 8 Feb 2012 22:41:40 +0000 (17:41 -0500)] 
some work on the #1401 branch has discovered that this very old test is pointless;
it slightly exercises post_update but not much compared to modern tests,
and also illustrates a mapping that doesn't actually work currently.

14 years agosimplify remote annotation significantly, and also
Mike Bayer [Wed, 8 Feb 2012 15:14:36 +0000 (10:14 -0500)] 
simplify remote annotation significantly, and also
catch the actual remote columns more accurately.

14 years agolocal_remote_pairs/remote_side are comparing against existing
Mike Bayer [Tue, 7 Feb 2012 01:47:18 +0000 (20:47 -0500)] 
local_remote_pairs/remote_side are comparing against existing
100%

14 years agothis version has easy cases going well. hard cases not so much
Mike Bayer [Tue, 7 Feb 2012 00:49:26 +0000 (19:49 -0500)] 
this version has easy cases going well.  hard cases not so much

14 years agoproof of concept. relationships.JoinCondition is given
Mike Bayer [Mon, 6 Feb 2012 19:48:03 +0000 (14:48 -0500)] 
proof of concept.   relationships.JoinCondition is given
everything known about the relationship in an ORM-agnostic
way.   The primaryjoin is determined as before, but is
then immediately parsed and annotated with "foreign",
"local" and "remote" annotations.  These annotations
will then drive the additional decisions made, namely
"direction" and "sync pairs".   The end user will be
able to pass a pre-annotated join condition in which
case those annotations take effect as given, which
will in one pass fix both #1401 as well as #610
(for #610, the "foreign" / "remote" annotation can
recursively descend down to ColumnElement objects).

14 years agoinitial annotations approach to join conditions. all tests pass, plus additional...
Mike Bayer [Mon, 6 Feb 2012 17:20:15 +0000 (12:20 -0500)] 
initial annotations approach to join conditions.  all tests pass, plus additional tests in #1401 pass.
would now like to reorganize RelationshipProperty more around the annotations concept.

14 years ago- [bug] Added support for using the .key
Mike Bayer [Sun, 5 Feb 2012 21:58:32 +0000 (16:58 -0500)] 
- [bug] Added support for using the .key
of a Column as a string identifier in a
result set row.   The .key is currently
listed as an "alternate" name for a column,
and is superseded by the name of a column
which has that key value as its regular name.
For the next major release
of SQLAlchemy we may reverse this precedence
so that .key takes precedence, but this
is not decided on yet.  [ticket:2392]

14 years agocallcount adjust
Mike Bayer [Sun, 5 Feb 2012 20:48:15 +0000 (15:48 -0500)] 
callcount adjust

14 years ago- [bug] A significant change to how labeling
Mike Bayer [Sun, 5 Feb 2012 19:22:55 +0000 (14:22 -0500)] 
- [bug] A significant change to how labeling
is applied to columns in SELECT statements
allows "truncated" labels, that is label names
that are generated in Python which exceed
the maximum identifier length (note this is
configurable via label_length on create_engine()),
to be properly referenced when rendered inside
of a subquery, as well as to be present
in a result set row using their original
in-Python names.   [ticket:2396]

- apply pep8 to test_labels

14 years ago- add a warning regarding tuple.in_(), [ticket:2395]
Mike Bayer [Sat, 4 Feb 2012 19:31:10 +0000 (14:31 -0500)] 
- add a warning regarding tuple.in_(), [ticket:2395]
- cleanup of exc.DBAPIError docstrings

14 years agoaccept the symbols so recreate works
Mike Bayer [Wed, 1 Feb 2012 17:09:47 +0000 (12:09 -0500)] 
accept the symbols so recreate works

14 years ago- [feature] Added pool_reset_on_return argument
Mike Bayer [Wed, 1 Feb 2012 15:14:28 +0000 (10:14 -0500)] 
- [feature] Added pool_reset_on_return argument
to create_engine, allows control over
"connection return" behavior.  Also added
new arguments 'rollback', 'commit', None
to pool.reset_on_return to allow more control
over connection return activity. [ticket:2378]

14 years agofix an inadvertent abuse of variable scope
Mike Bayer [Tue, 31 Jan 2012 15:42:29 +0000 (10:42 -0500)] 
fix an inadvertent abuse of variable scope

14 years agobreak out _save_obj(), _delete_obj(), _post_update() into a new module
Mike Bayer [Tue, 31 Jan 2012 00:52:07 +0000 (19:52 -0500)] 
break out _save_obj(), _delete_obj(), _post_update() into a new module
persistence.py - Mapper loses awareness of how to emit INSERT/UPDATE/DELETE,
persistence.py is only used by unitofwork.py.  Then break each method out
into a top level with almost no logic, calling into _organize_states_for_XYZ(),
_collect_XYZ_commands(), _emit_XYZ_statements().

14 years ago- [bug] Scaled back the test applied within
Mike Bayer [Mon, 30 Jan 2012 22:52:28 +0000 (17:52 -0500)] 
- [bug] Scaled back the test applied within
flush() to check for UPDATE against partially
NULL PK within one table to only actually
happen if there's really an UPDATE to occur.
[ticket:2390]

14 years agoattempt to use the secret weapon to force a total rebuild
Mike Bayer [Sun, 29 Jan 2012 05:01:22 +0000 (00:01 -0500)] 
attempt to use the secret weapon to force a total rebuild

14 years ago- [bug] Improved the "declarative reflection"
Mike Bayer [Sat, 28 Jan 2012 23:16:46 +0000 (18:16 -0500)] 
- [bug] Improved the "declarative reflection"
example to support single-table inheritance,
multiple calls to prepare(), tables that
are present in alternate schemas,
establishing only a subset of classes
as reflected.

14 years agoAdded tag rel_0_7_5 for changeset 667249f7b19325e1512f1a9ece29c5894e679508
Mike Bayer [Sat, 28 Jan 2012 22:47:53 +0000 (17:47 -0500)] 
Added tag rel_0_7_5 for changeset 667249f7b19325e1512f1a9ece29c5894e679508

14 years agoget ready for release 0.7.5 rel_0_7_5
Mike Bayer [Sat, 28 Jan 2012 22:43:13 +0000 (17:43 -0500)] 
get ready for release 0.7.5

14 years agodeclarative reflection example
Mike Bayer [Sat, 28 Jan 2012 22:41:10 +0000 (17:41 -0500)] 
declarative reflection example

14 years ago- [feature] New declarative reflection example
Mike Bayer [Sat, 28 Jan 2012 22:31:39 +0000 (17:31 -0500)] 
- [feature] New declarative reflection example
added, illustrates how best to mix table reflection
with declarative as well as uses some new features
from [ticket:2356].

14 years agomodernize adjacency list example, use declarative
Mike Bayer [Sat, 28 Jan 2012 22:22:04 +0000 (17:22 -0500)] 
modernize adjacency list example, use declarative

14 years agofix a usage issue here
Mike Bayer [Sat, 28 Jan 2012 22:09:27 +0000 (17:09 -0500)] 
fix a usage issue here

14 years agoanother py3k fix
Mike Bayer [Sat, 28 Jan 2012 21:04:38 +0000 (16:04 -0500)] 
another py3k fix

14 years agomark this test as unsupported before 2.6, there's some unicode
Mike Bayer [Sat, 28 Jan 2012 21:00:34 +0000 (16:00 -0500)] 
mark this test as unsupported before 2.6, there's some unicode
issue I'm not exactly sure of what nature it is

14 years ago- [feature] New reflection feature "autoload_replace";
Mike Bayer [Sat, 28 Jan 2012 20:54:28 +0000 (15:54 -0500)] 
- [feature] New reflection feature "autoload_replace";
when set to False on Table, the Table can be autoloaded
without existing columns being replaced.  Allows
more flexible chains of Table construction/reflection
to be constructed, including that it helps with
combining Declarative with table reflection.
See the new example on the wiki.  [ticket:2356]

- [bug] Improved the API for add_column() such that
if the same column is added to its own table,
an error is not raised and the constraints
don't get doubled up.  Also helps with some
reflection/declarative patterns. [ticket:2356]

14 years agofix a few py3k bugs
Mike Bayer [Sat, 28 Jan 2012 20:32:53 +0000 (15:32 -0500)] 
fix a few py3k bugs

14 years agothen merge this
Mike Bayer [Sat, 28 Jan 2012 20:24:07 +0000 (15:24 -0500)] 
then merge this

14 years ago- [bug] removed an erroneous "raise" in the
Mike Bayer [Sat, 28 Jan 2012 20:23:56 +0000 (15:23 -0500)] 
- [bug] removed an erroneous "raise" in the
SQLite dialect when getting table names
and view names, where logic is in place
to fall back to an older version of
SQLite that doesn't have the
"sqlite_temp_master" table.

14 years ago- [feature] Dialect-specific compilers now raise
Mike Bayer [Sat, 28 Jan 2012 20:20:21 +0000 (15:20 -0500)] 
- [feature] Dialect-specific compilers now raise
CompileException for all type/statement compilation
issues, instead of InvalidRequestError or ArgumentError.
The DDL for CREATE TABLE will re-raise
CompileExceptions to include table/column information
for the problematic column.  [ticket:2361]

14 years ago- [bug] Fixed bug where "merge" cascade could
Mike Bayer [Sat, 28 Jan 2012 19:33:29 +0000 (14:33 -0500)] 
- [bug] Fixed bug where "merge" cascade could
mis-interpret an unloaded attribute, if the
load_on_pending flag were used with
relationship().  Thanks to Kent Bower
for tests.  [ticket:2374]

14 years ago- [bug] Fixed bug in "mock" strategy whereby
Mike Bayer [Sat, 28 Jan 2012 19:29:26 +0000 (14:29 -0500)] 
- [bug] Fixed bug in "mock" strategy whereby
correct DDL visit method wasn't called, resulting
in "CREATE/DROP SEQUENCE" statements being
duplicated [ticket:2384]

14 years ago- [bug] Fixed issue where the "required" exception
Mike Bayer [Sat, 28 Jan 2012 19:20:25 +0000 (14:20 -0500)] 
- [bug] Fixed issue where the "required" exception
would not be raised for bindparam() with required=True,
if the statement were given no parameters at all.
[ticket:2381]

14 years ago- [bug] Fixed bug where unpickled object didn't
Mike Bayer [Sat, 28 Jan 2012 18:48:05 +0000 (13:48 -0500)] 
- [bug] Fixed bug where unpickled object didn't
have enough of its state set up to work
correctly within the unpickle() event established
by the mutable object extension, if the object
needed ORM attribute access within
__eq__() or similar. [ticket:2362]

14 years ago- [bug] Raise an exception if xyzload_all() is
Mike Bayer [Sat, 28 Jan 2012 18:33:05 +0000 (13:33 -0500)] 
- [bug] Raise an exception if xyzload_all() is
used inappropriately with two non-connected
relationships.  [ticket:2370]

14 years ago- [bug] Fixed regression from 0.7.4 whereby
Mike Bayer [Sat, 28 Jan 2012 15:45:23 +0000 (10:45 -0500)] 
- [bug] Fixed regression from 0.7.4 whereby
using an already instrumented column from a
superclass as "polymorphic_on" failed to resolve
the underlying Column.  [ticket:2345]

14 years ago- [bug] Added a boolean check for the "finalize"
Mike Bayer [Sat, 28 Jan 2012 02:19:26 +0000 (21:19 -0500)] 
- [bug] Added a boolean check for the "finalize"
function within the pool connection proxy's
weakref callback before calling it, so that a
warning isn't emitted that this function is None
when the application is exiting and gc has
removed the function from the module before the
weakref callback was invoked.  [ticket:2383]

14 years ago- [bug] Changed LRUCache, used by the mapper
Mike Bayer [Sat, 28 Jan 2012 02:05:17 +0000 (21:05 -0500)] 
- [bug] Changed LRUCache, used by the mapper
to cache INSERT/UPDATE/DELETE statements,
to use an incrementing counter instead
of a timestamp to track entries, for greater
reliability versus using time.time(), which
can cause test failures on some platforms.
[ticket:2379]

14 years ago- [bug] implemented standard "can't set attribute" /
Mike Bayer [Sat, 28 Jan 2012 01:59:33 +0000 (20:59 -0500)] 
- [bug] implemented standard "can't set attribute" /
"can't delete attribute" AttributeError when
setattr/delattr used on a hybrid that doesn't
define fset or fdel. [ticket:2353]

14 years agomove most tests that are specific to SessionTransaction over to test_transaction
Mike Bayer [Sat, 28 Jan 2012 01:50:06 +0000 (20:50 -0500)] 
move most tests that are specific to SessionTransaction over to test_transaction

14 years ago- [bug] Fixed issue where modified session state
Mike Bayer [Sat, 28 Jan 2012 01:32:52 +0000 (20:32 -0500)] 
- [bug] Fixed issue where modified session state
established after a failed flush would be committed
as part of the subsequent transaction that
begins automatically after manual call
to rollback().   The state of the session is
checked within rollback(), and if new state
is present, a warning is emitted and
restore_snapshot() is called a second time,
discarding those changes. [ticket:2389]

- repaired testing.assert_warnings to also verify
that any warnings were emitted

14 years agotypo
Mike Bayer [Thu, 26 Jan 2012 17:15:43 +0000 (12:15 -0500)] 
typo

14 years agoclarify this point
Mike Bayer [Thu, 26 Jan 2012 16:50:40 +0000 (11:50 -0500)] 
clarify this point

14 years agomodernize the README
Mike Bayer [Thu, 26 Jan 2012 16:44:34 +0000 (11:44 -0500)] 
modernize the README