]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
11 years ago- _cursor_execute() will close the cursor on error; oracle doesn't allow double close
Mike Bayer [Tue, 14 Jan 2014 02:20:54 +0000 (21:20 -0500)] 
- _cursor_execute() will close the cursor on error; oracle doesn't allow double close
- ensure no iterator changed size issues in testing.engines

11 years ago- Fixed a bug involving the new flattened JOIN structures which
Mike Bayer [Mon, 13 Jan 2014 22:53:37 +0000 (17:53 -0500)] 
- Fixed a bug involving the new flattened JOIN structures which
are used with :func:`.joinedload()` (thereby causing a regression
in joined eager loading) as well as :func:`.aliased`
in conjunction with the ``flat=True`` flag and joined-table inheritance;
basically multiple joins across a "parent JOIN sub" entity using different
paths to get to a target class wouldn't form the correct ON conditions.
An adjustment / simplification made in the mechanics of figuring
out the "left side" of the join in the case of an aliased, joined-inh
class repairs the issue. [ticket:2908]

11 years ago- a little bit of profile bump, just on insert not too concerned
Mike Bayer [Mon, 13 Jan 2014 21:35:50 +0000 (16:35 -0500)] 
- a little bit of profile bump, just on insert not too concerned

11 years ago- The MySQL CAST compilation now takes into account aspects of a string
Mike Bayer [Mon, 13 Jan 2014 19:05:05 +0000 (14:05 -0500)] 
- The MySQL CAST compilation now takes into account aspects of a string
type such as "charset" and "collation".  While MySQL wants all character-
based CAST calls to use the CHAR type, we now create a real CHAR
object at CAST time and copy over all the parameters it has, so that
an expression like ``cast(x, mysql.TEXT(charset='utf8'))`` will
render ``CAST(t.col AS CHAR CHARACTER SET utf8)``.

- Added new "unicode returns" detection to the MySQL dialect and
to the default dialect system overall, such that any dialect
can add extra "tests" to the on-first-connect "does this DBAPI
return unicode directly?" detection. In this case, we are
adding a check specifically against the "utf8" encoding with
an explicit "utf8_bin" collation type (after checking that
this collation is available) to test for some buggy unicode
behavior observed with MySQLdb version 1.2.3.  While MySQLdb
has resolved this issue as of 1.2.4, the check here should
guard against regressions.  The change also allows the "unicode"
checks to log in the engine logs, which was not previously
the case. [ticket:2906]

11 years agoupdate changelog from 0.3.2 to 0.3.4, re-patching the part of 2775c95b1ee30831216cc5...
Mike Bayer [Mon, 13 Jan 2014 15:37:53 +0000 (10:37 -0500)] 
update changelog from 0.3.2 to 0.3.4, re-patching the part of 2775c95b1ee30831216cc5 that was
intended

11 years agorevert r2775c95b1ee30831216cc5 which was mostly an inadvertent commit, except for...
Mike Bayer [Mon, 13 Jan 2014 15:37:15 +0000 (10:37 -0500)] 
revert r2775c95b1ee30831216cc5 which was mostly an inadvertent commit, except for the changelog part

11 years ago- continue with [ticket:2907] and further clean up how we set up
Mike Bayer [Mon, 13 Jan 2014 08:22:11 +0000 (03:22 -0500)] 
- continue with [ticket:2907] and further clean up how we set up
_reset_agent, so that it's local to the various begin_impl(),
rollback_impl(), etc.  this allows setting/resetting of the flag
to be symmetric.
- don't set _reset_agent if it's not None, don't unset it if it isn't
our own transaction.
- make sure we clean it out in close().
- basically, we're dealing here with pools using "threadlocal" that have a
counter, other various mismatches that the tests bring up
- test for recover() now has to invalidate() the previous connection,
because closing it actually rolls it back (e.g. this test was relying
on the broken behavior).

11 years ago- dont run deletes here
Mike Bayer [Mon, 13 Jan 2014 07:38:41 +0000 (02:38 -0500)] 
- dont run deletes here

11 years ago- :class:`.Connection` now associates a new
Mike Bayer [Mon, 13 Jan 2014 00:43:13 +0000 (19:43 -0500)] 
- :class:`.Connection` now associates a new
:class:`.RootTransaction` or :class:`.TwoPhaseTransaction`
with its immediate :class:`._ConnectionFairy` as a "reset handler"
for the span of that transaction, which takes over the task
of calling commit() or rollback() for the "reset on return" behavior
of :class:`.Pool` if the transaction was not otherwise completed.
This resolves the issue that a picky transaction
like that of MySQL two-phase will be
properly closed out when the connection is closed without an
explicit rollback or commit (e.g. no longer raises "XAER_RMFAIL"
in this case - note this only shows up in logging as the exception
is not propagated within pool reset).
This issue would arise e.g. when using an orm
:class:`.Session` with ``twophase`` set, and then
:meth:`.Session.close` is called without an explicit rollback or
commit.   The change also has the effect that you will now see
an explicit "ROLLBACK" in the logs when using a :class:`.Session`
object in non-autocommit mode regardless of how that session was
discarded.  Thanks to Jeff Dairiki and Laurence Rowe for isolating
the issue here. [ticket:2907]

11 years ago- add new event PoolEvents.invalidate(). allows interception of invalidation
Mike Bayer [Sun, 12 Jan 2014 22:34:20 +0000 (17:34 -0500)] 
- add new event PoolEvents.invalidate().  allows interception of invalidation
events including auto-invalidation, which is useful both for tests here as well as
detecting failure conditions within the "reset" or "close" cases.
- rename the argument for PoolEvents.reset() to dbapi_connection and connection_record
to be consistent with everything else.
- add new documentation sections on invalidation, including auto-invalidation
and the invalidation process within the pool.
- add _ConnectionFairy and _ConnectionRecord to the pool documentation.  Establish
docs for common _ConnectionFairy/_ConnectionRecord methods and accessors and
have PoolEvents docs refer to _ConnectionRecord,
since it is passed to all events.  Rename a few _ConnectionFairy methods that are actually
private to pool such as _checkout(), _checkin() and _checkout_existing(); there should not
be any external code calling these

11 years ago- bump up how many args for "named arg style" to four
Mike Bayer [Sun, 12 Jan 2014 22:15:41 +0000 (17:15 -0500)] 
- bump up how many args for "named arg style" to four

11 years ago- changelog for pullreq github 57
Mike Bayer [Sun, 12 Jan 2014 17:42:01 +0000 (12:42 -0500)] 
- changelog for pullreq github 57

11 years ago- pullreq github 55 is in the wrong changelog! 0.9.2...
Mike Bayer [Sun, 12 Jan 2014 17:40:48 +0000 (12:40 -0500)] 
- pullreq github 55 is in the wrong changelog!  0.9.2...

11 years agoMerge pull request #57 from sdague/master
mike bayer [Sun, 12 Jan 2014 17:37:56 +0000 (09:37 -0800)] 
Merge pull request #57 from sdague/master

expose SchemaVisitor in the compatibility layer

11 years agoexpose SchemaVisitor in the compatibility layer
Sean Dague [Sun, 12 Jan 2014 04:08:27 +0000 (23:08 -0500)] 
expose SchemaVisitor in the compatibility layer

sqlalchemy-migrate uses SchemaVisitor. It was one of the only
objects that changed namespaces without compatibility that we use.

Would love to get this added to remove a work around we need at
https://review.openstack.org/#/c/66156/

11 years ago- add a CLI to determine waht kind of test to run
Mike Bayer [Sun, 12 Jan 2014 00:43:50 +0000 (19:43 -0500)] 
- add a CLI to determine waht kind of test to run

11 years agonew changelog
Mike Bayer [Sat, 11 Jan 2014 18:12:40 +0000 (13:12 -0500)] 
new changelog

11 years ago- fix some function mismatch in profiling
Mike Bayer [Fri, 10 Jan 2014 04:20:00 +0000 (23:20 -0500)] 
- fix some function mismatch in profiling

11 years ago0.9.2
Mike Bayer [Thu, 9 Jan 2014 23:35:22 +0000 (18:35 -0500)] 
0.9.2

11 years agochangelog for pullreq github:55
Mike Bayer [Thu, 9 Jan 2014 23:34:44 +0000 (18:34 -0500)] 
changelog for pullreq github:55

11 years agoUse PyMODINIT_FUNC
cgohlke [Wed, 8 Jan 2014 20:36:17 +0000 (12:36 -0800)] 
Use PyMODINIT_FUNC

11 years agoUse PyMODINIT_FUNC
cgohlke [Wed, 8 Jan 2014 20:35:42 +0000 (12:35 -0800)] 
Use PyMODINIT_FUNC

11 years agoUse PyMODINIT_FUNC
cgohlke [Wed, 8 Jan 2014 20:34:45 +0000 (12:34 -0800)] 
Use PyMODINIT_FUNC

11 years ago- fixes
Mike Bayer [Wed, 8 Jan 2014 17:26:07 +0000 (12:26 -0500)] 
- fixes

11 years ago- add more critical behavioral change for [ticket:2804]
Mike Bayer [Wed, 8 Jan 2014 16:36:19 +0000 (11:36 -0500)] 
- add more critical behavioral change for [ticket:2804]

11 years ago- 0.9.1 rel_0_9_1
Mike Bayer [Mon, 6 Jan 2014 00:29:15 +0000 (19:29 -0500)] 
- 0.9.1

11 years ago- these tests are really old but trying to make sure everything is closed out
Mike Bayer [Sun, 5 Jan 2014 23:25:51 +0000 (18:25 -0500)] 
- these tests are really old but trying to make sure everything is closed out

11 years agofix the changelog merge
Mike Bayer [Sun, 5 Jan 2014 23:25:24 +0000 (18:25 -0500)] 
fix the changelog merge

11 years ago- happy new year
Mike Bayer [Sun, 5 Jan 2014 21:57:05 +0000 (16:57 -0500)] 
- happy new year

11 years ago0.9.1
Mike Bayer [Sun, 5 Jan 2014 21:49:03 +0000 (16:49 -0500)] 
0.9.1

11 years ago- docs + tests
Mike Bayer [Sun, 5 Jan 2014 21:48:01 +0000 (16:48 -0500)] 
- docs + tests

11 years agoMerge branch 'automap'
Mike Bayer [Sun, 5 Jan 2014 21:47:15 +0000 (16:47 -0500)] 
Merge branch 'automap'

Conflicts:
doc/build/changelog/changelog_09.rst

11 years ago- many-to-many support
Mike Bayer [Sun, 5 Jan 2014 21:46:01 +0000 (16:46 -0500)] 
- many-to-many support
- tests
- full documentation, changelog, new in 0.9 announcement

11 years ago- fix some docstring stuff
Mike Bayer [Sun, 5 Jan 2014 21:42:56 +0000 (16:42 -0500)] 
- fix some docstring stuff

11 years ago- conjunctions like and_() and or_() can now accept generators as arguments.
Mike Bayer [Sun, 5 Jan 2014 19:11:12 +0000 (14:11 -0500)] 
- conjunctions like and_() and or_() can now accept generators as arguments.

11 years ago- basic functionality.
Mike Bayer [Sun, 5 Jan 2014 02:14:11 +0000 (21:14 -0500)] 
- basic functionality.

11 years ago- The :paramref:`.Table.extend_existing` and :paramref:`.Table.autoload_replace`
Mike Bayer [Sun, 5 Jan 2014 02:12:31 +0000 (21:12 -0500)] 
- The :paramref:`.Table.extend_existing` and :paramref:`.Table.autoload_replace`
parameters are now available on the :meth:`.MetaData.reflect`
method.
- starting to use paramref and need newer paramlinks version.

11 years ago- Fixed regression where using a ``functools.partial()`` with the event
Mike Bayer [Sat, 4 Jan 2014 05:35:48 +0000 (00:35 -0500)] 
- Fixed regression where using a ``functools.partial()`` with the event
system would cause a recursion overflow due to usage of inspect.getargspec()
on it in order to detect a legacy calling signature for certain events,
and apparently there's no way to do this with a partial object.  Instead
we skip the legacy check and assume the modern style; the check itself
now only occurs for the SessionEvents.after_bulk_update and
SessionEvents.after_bulk_delete events.  Those two events will require
the new signature style if assigned to a "partial" event listener.
[ticket:2905]

11 years ago- hypothetical "automap" feature, would extend DeferredReflection to create classes
Mike Bayer [Sat, 4 Jan 2014 02:47:01 +0000 (21:47 -0500)] 
- hypothetical "automap" feature, would extend DeferredReflection to create classes
against the remaining tables within the given metadata.

11 years ago- Fixed an extremely unlikely memory issue where when using
Mike Bayer [Sat, 4 Jan 2014 02:46:13 +0000 (21:46 -0500)] 
- Fixed an extremely unlikely memory issue where when using
:class:`.DeferredReflection`
to define classes pending for reflection, if some subset of those
classes were discarded before the :meth:`.DeferredReflection.prepare`
method were called to reflect and map the class, a strong reference
to the class would remain held within the declarative internals.
This internal collection of "classes to map" now uses weak
references against the classes themselves.

11 years agoMerged in davidszotten/sqlalchemy/doc_typo (pull request #10)
Mike Bayer [Fri, 3 Jan 2014 00:08:46 +0000 (19:08 -0500)] 
Merged in davidszotten/sqlalchemy/doc_typo (pull request #10)

typo in changelog

11 years ago- changelog for pullreq 9 from bitbucket
Mike Bayer [Fri, 3 Jan 2014 00:07:13 +0000 (19:07 -0500)] 
- changelog for pullreq 9 from bitbucket

11 years agoMerge bitbucket.org:rschoon/sqlalchemy into t
Mike Bayer [Fri, 3 Jan 2014 00:01:57 +0000 (19:01 -0500)] 
Merge bitbucket.org:rschoon/sqlalchemy into t

11 years ago- Fixed regression where we don't check the given name against the
Mike Bayer [Thu, 2 Jan 2014 23:59:26 +0000 (18:59 -0500)] 
- Fixed regression where we don't check the given name against the
correct string class when setting up a backref based on a name,
therefore causing the error "too many values to unpack".  This was
related to the Py3k conversion. [ticket:2901]

11 years ago- A quasi-regression where apparently in 0.8 you can set a class-level
Mike Bayer [Thu, 2 Jan 2014 23:51:49 +0000 (18:51 -0500)] 
- A quasi-regression where apparently in 0.8 you can set a class-level
attribute on declarative to simply refer directly to an :class:`.InstrumentedAttribute`
on a superclass or on the class itself, and it
acts more or less like a synonym; in 0.9, this fails to set up enough
bookkeeping to keep up with the more liberalized backref logic
from :ticket:`2789`.  Even though this use case was never directly
considered, it is now detected by declarative at the "setattr()" level
as well as when setting up a subclass, and the mirrored/renamed attribute
is now set up as a :func:`.synonym` instead. [ticket:2900]

11 years ago- Fixed regression where we apparently still create an implicit
Mike Bayer [Thu, 2 Jan 2014 23:26:32 +0000 (18:26 -0500)] 
- Fixed regression where we apparently still create an implicit
alias when saying query(B).join(B.cs), where "C" is a joined inh
class; however, this implicit alias was created only considering
the immediate left side, and not a longer chain of joins along different
joined-inh subclasses of the same base.   As long as we're still
implicitly aliasing in this case, the behavior is dialed back a bit
so that it will alias the right side in a wider variety of cases.
[ticket:2903]

11 years ago.pyo
Mike Bayer [Thu, 2 Jan 2014 19:24:13 +0000 (14:24 -0500)] 
.pyo

11 years ago- support addition of fails_if()/only_on(), just wraps the decorators
Mike Bayer [Thu, 2 Jan 2014 19:23:14 +0000 (14:23 -0500)] 
- support addition of fails_if()/only_on(), just wraps the decorators
- update a few exclusions to support current pymssql.  passes all of test_suite and dialect/mssql

11 years agotypo in changelog
David Szotten [Wed, 1 Jan 2014 10:28:58 +0000 (10:28 +0000)] 
typo in changelog

11 years agoDon't barf on Session(info=...) from sessionmaker(info=None)
Robin Schoonover [Wed, 1 Jan 2014 01:37:13 +0000 (18:37 -0700)] 
Don't barf on Session(info=...) from sessionmaker(info=None)

11 years ago- 0.9.0 release date rel_0_9_0
Mike Bayer [Mon, 30 Dec 2013 23:31:33 +0000 (18:31 -0500)] 
- 0.9.0 release date

11 years ago- call it 0.9.0
Mike Bayer [Mon, 30 Dec 2013 23:30:11 +0000 (18:30 -0500)] 
- call it 0.9.0

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Mon, 30 Dec 2013 23:23:12 +0000 (18:23 -0500)] 
Merge branch 'master' into rel_0_9

11 years agosphinx paramlinks 0.1.8
Mike Bayer [Mon, 30 Dec 2013 18:46:41 +0000 (13:46 -0500)] 
sphinx paramlinks 0.1.8

11 years ago- use 0.1.7 at least
Mike Bayer [Mon, 30 Dec 2013 18:22:54 +0000 (13:22 -0500)] 
- use 0.1.7 at least

11 years ago- try out paramlinks
Mike Bayer [Mon, 30 Dec 2013 17:23:05 +0000 (12:23 -0500)] 
- try out paramlinks

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sat, 28 Dec 2013 23:24:51 +0000 (18:24 -0500)] 
Merge branch 'master' into rel_0_9

11 years agoa few oracle test failures
Mike Bayer [Sat, 28 Dec 2013 23:24:43 +0000 (18:24 -0500)] 
a few oracle test failures

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sat, 28 Dec 2013 22:51:19 +0000 (17:51 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- apply a similar fix for floats to mssql+pyodbc as we did to firebird
Mike Bayer [Sat, 28 Dec 2013 22:50:19 +0000 (17:50 -0500)] 
- apply a similar fix for floats to mssql+pyodbc as we did to firebird
- wrangle through osx+pyodbc+freetds to get at least test_suite to pass again
with mssql+pyodbc. invovled adding some silly requirements

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sat, 28 Dec 2013 21:38:36 +0000 (16:38 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- adjust the behavior of cast() to only provide a type for the bindparam()
Mike Bayer [Sat, 28 Dec 2013 21:37:54 +0000 (16:37 -0500)] 
- adjust the behavior of cast() to only provide a type for the bindparam()
if we are coercing straight from string.  [ticket:2899]
- rework the tests here to be individual

11 years ago- fix the insert from select test to use a non-autoinc table
Mike Bayer [Sat, 28 Dec 2013 21:37:22 +0000 (16:37 -0500)] 
- fix the insert from select test to use a non-autoinc table

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sat, 28 Dec 2013 06:56:00 +0000 (01:56 -0500)] 
Merge branch 'master' into rel_0_9

11 years agoMerge pull request #54 from spicyj/patch-1
mike bayer [Sat, 28 Dec 2013 06:55:54 +0000 (22:55 -0800)] 
Merge pull request #54 from spicyj/patch-1

session docs: Change `object` to `someobject`

11 years agosession docs: Change `object` to `someobject`
Ben Alpert [Sat, 28 Dec 2013 06:11:23 +0000 (23:11 -0700)] 
session docs: Change `object` to `someobject`

This makes the code block more consistent with the preceding one and also prevents the variable from being colored as a builtin (which `object` is) during syntax highlighting.

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Fri, 27 Dec 2013 23:27:58 +0000 (18:27 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- rework the JSON expression system so that "astext" is called *after*
Mike Bayer [Fri, 27 Dec 2013 23:25:57 +0000 (18:25 -0500)] 
- rework the JSON expression system so that "astext" is called *after*
the indexing.  this is for more natural operation.
- also add cast() to the JSON expression to complement astext. This integrates
the CAST call which will be needed frequently.  Part of [ticket:2687].
- it's a little unclear how more advanced unicode attribute-access is going to go,
some quick attempts at testing yielded strange error messages from psycopg2.
- do other cross linking as mentioned in [ticket:2687].

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Fri, 27 Dec 2013 22:11:12 +0000 (17:11 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- Declarative does an extra check to detect if the same
Mike Bayer [Fri, 27 Dec 2013 22:10:55 +0000 (17:10 -0500)] 
- Declarative does an extra check to detect if the same
:class:`.Column` is mapped multiple times under different properties
(which typically should be a :func:`.synonym` instead) or if two
or more :class:`.Column` objects are given the same name, raising
a warning if this condition is detected. [ticket:2828]

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Fri, 27 Dec 2013 21:40:19 +0000 (16:40 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- Changed the queries used by Firebird to list table and view names
Mike Bayer [Fri, 27 Dec 2013 21:39:54 +0000 (16:39 -0500)] 
- Changed the queries used by Firebird to list table and view names
to query from the ``rdb$relations`` view instead of the
``rdb$relation_fields`` and ``rdb$view_relations`` views.
Variants of both the old and new queries are mentioned on many
FAQ and blogs, however the new queries are taken straight from
the "Firebird FAQ" which appears to be the most official source
of info. [ticket:2898]

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Fri, 27 Dec 2013 21:38:16 +0000 (16:38 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- actually check the list of views!
Mike Bayer [Fri, 27 Dec 2013 21:37:57 +0000 (16:37 -0500)] 
- actually check the list of views!

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Fri, 27 Dec 2013 18:40:55 +0000 (13:40 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- The firebird dialect will quote identifiers which begin with an
Mike Bayer [Fri, 27 Dec 2013 18:40:27 +0000 (13:40 -0500)] 
- The firebird dialect will quote identifiers which begin with an
underscore.  Courtesy Treeve Jelbert. [ticket:2897]

11 years ago- add a test which creates tables and views at the same time, then tests that the...
Mike Bayer [Fri, 27 Dec 2013 18:28:18 +0000 (13:28 -0500)] 
- add a test which creates tables and views at the same time, then tests that the lists
of each can be reflected independently.  Testing [ticket:2898] at the moment.

11 years ago- Fixed bug in Firebird index reflection where the columns within the
Mike Bayer [Fri, 27 Dec 2013 18:20:58 +0000 (13:20 -0500)] 
- Fixed bug in Firebird index reflection where the columns within the
index were not sorted correctly; they are now sorted
in order of RDB$FIELD_POSITION.

11 years ago- The "asdecimal" flag used with the :class:`.Float` type will now
Mike Bayer [Fri, 27 Dec 2013 18:16:48 +0000 (13:16 -0500)] 
- The "asdecimal" flag used with the :class:`.Float` type will now
work with Firebird dialects; previously the decimal conversion was
not occurring.
- scale back some firebird FP numeric tests

11 years ago- repair some suite tests for firebird
Mike Bayer [Fri, 27 Dec 2013 18:05:32 +0000 (13:05 -0500)] 
- repair some suite tests for firebird

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Fri, 27 Dec 2013 16:13:50 +0000 (11:13 -0500)] 
Merge branch 'master' into rel_0_9

11 years agochangelog, will merge to 0.8
Mike Bayer [Fri, 27 Dec 2013 16:13:41 +0000 (11:13 -0500)] 
changelog, will merge to 0.8

11 years agoMerge pull request #51 from sontek/pymssql_handle_terminated_connection
mike bayer [Fri, 27 Dec 2013 16:12:05 +0000 (08:12 -0800)] 
Merge pull request #51 from sontek/pymssql_handle_terminated_connection

Remove terminated connections from the pool.

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sun, 22 Dec 2013 00:52:09 +0000 (19:52 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- alter the decorator function, and the newer public_factory function,
Mike Bayer [Sun, 22 Dec 2013 00:51:25 +0000 (19:51 -0500)] 
- alter the decorator function, and the newer public_factory function,
to use a named def instead of a lambda.  this so that TypeError on wrong
arguments are more legible.  [ticket:2884]

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Sat, 21 Dec 2013 00:12:54 +0000 (19:12 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- improve documentation for return_defaults() and returned_defaults. [ticket:2852]
Mike Bayer [Sat, 21 Dec 2013 00:12:31 +0000 (19:12 -0500)] 
- improve documentation for return_defaults() and returned_defaults.  [ticket:2852]

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Fri, 20 Dec 2013 15:26:26 +0000 (10:26 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- Fixed issue where a primary key column that has a Sequence on it,
Mike Bayer [Fri, 20 Dec 2013 15:26:09 +0000 (10:26 -0500)] 
- Fixed issue where a primary key column that has a Sequence on it,
yet the column is not the "auto increment" column, either because
it has a foreign key constraint or ``autoincrement=False`` set,
would attempt to fire the Sequence on INSERT for backends that don't
support sequences, when presented with an INSERT missing the primary
key value.  This would take place on non-sequence backends like
SQLite, MySQL. [ticket:2896]

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Thu, 19 Dec 2013 21:07:43 +0000 (16:07 -0500)] 
Merge branch 'master' into rel_0_9

11 years agoremove print
Mike Bayer [Thu, 19 Dec 2013 21:07:35 +0000 (16:07 -0500)] 
remove print

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Thu, 19 Dec 2013 21:02:40 +0000 (16:02 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- Fixed bug with :meth:`.Insert.from_select` method where the order
Mike Bayer [Thu, 19 Dec 2013 21:02:14 +0000 (16:02 -0500)] 
- Fixed bug with :meth:`.Insert.from_select` method where the order
of the given names would not be taken into account when generating
the INSERT statement, thus producing a mismatch versus the column
names in the given SELECT statement.  Also noted that
:meth:`.Insert.from_select` implies that Python-side insert defaults
cannot be used, since the statement has no VALUES clause. [ticket:2895]

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Thu, 19 Dec 2013 18:14:57 +0000 (13:14 -0500)] 
Merge branch 'master' into rel_0_9

11 years agofix doc target
Mike Bayer [Thu, 19 Dec 2013 18:14:51 +0000 (13:14 -0500)] 
fix doc target

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Wed, 18 Dec 2013 23:26:41 +0000 (18:26 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- Improvements to the system by which SQL types generate within
Mike Bayer [Wed, 18 Dec 2013 23:26:15 +0000 (18:26 -0500)] 
- Improvements to the system by which SQL types generate within
``__repr__()``, particularly with regards to the MySQL integer/numeric/
character types which feature a wide variety of keyword arguments.
The ``__repr__()`` is important for use with Alembic autogenerate
for when Python code is rendered in a migration script.
[ticket:2893]

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Wed, 18 Dec 2013 19:02:52 +0000 (14:02 -0500)] 
Merge branch 'master' into rel_0_9

11 years ago- skip this test for oracle
Mike Bayer [Wed, 18 Dec 2013 19:02:40 +0000 (14:02 -0500)] 
- skip this test for oracle

11 years agoMerge branch 'master' into rel_0_9
Mike Bayer [Tue, 17 Dec 2013 22:56:20 +0000 (17:56 -0500)] 
Merge branch 'master' into rel_0_9