<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy.git/lib, branch pr/218</title>
<subtitle>github.com: zzzeek/sqlalchemy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/'/>
<entry>
<title>Fix _assert_unorderable_types on py36.</title>
<updated>2015-11-30T16:50:25+00:00</updated>
<author>
<name>Iuri de Silvio</name>
<email>iurisilvio@gmail.com</email>
</author>
<published>2015-11-30T14:11:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=d9178320d6755d893638646503ed538b11b6536a'/>
<id>d9178320d6755d893638646503ed538b11b6536a</id>
<content type='text'>
The error message changed to:

`'&lt;' not supported between instances of 'foo' and 'bar'`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The error message changed to:

`'&lt;' not supported between instances of 'foo' and 'bar'`
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed an issue in baked queries where the .get() method, used either</title>
<updated>2015-11-29T16:42:55+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-11-29T16:42:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=b0308a7b3af91cc61fbe3347376024ad8b7be019'/>
<id>b0308a7b3af91cc61fbe3347376024ad8b7be019</id>
<content type='text'>
directly or within lazy loads, didn't consider the mapper's "get clause"
as part of the cache key, causing bound parameter mismatches if the
clause got re-generated.  This clause is cached by mappers
on the fly but in highly concurrent scenarios may be generated more
than once when first accessed.
fixes #3597
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
directly or within lazy loads, didn't consider the mapper's "get clause"
as part of the cache key, causing bound parameter mismatches if the
clause got re-generated.  This clause is cached by mappers
on the fly but in highly concurrent scenarios may be generated more
than once when first accessed.
fixes #3597
</pre>
</div>
</content>
</entry>
<entry>
<title>- Added support for parameter-ordered SET clauses in an UPDATE</title>
<updated>2015-11-28T19:30:05+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-11-28T19:30:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c90f0a49f332867f6b337c79ddf192299788667f'/>
<id>c90f0a49f332867f6b337c79ddf192299788667f</id>
<content type='text'>
statement.  This feature is available by passing the
:paramref:`~.sqlalchemy.sql.expression.update.preserve_parameter_order`
flag either to the core :class:`.Update` construct or alternatively
adding it to the :paramref:`.Query.update.update_args` dictionary at
the ORM-level, also passing the parameters themselves as a list of 2-tuples.
Thanks to Gorka Eguileor for implementation and tests.
adapted from pullreq github:200
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
statement.  This feature is available by passing the
:paramref:`~.sqlalchemy.sql.expression.update.preserve_parameter_order`
flag either to the core :class:`.Update` construct or alternatively
adding it to the :paramref:`.Query.update.update_args` dictionary at
the ORM-level, also passing the parameters themselves as a list of 2-tuples.
Thanks to Gorka Eguileor for implementation and tests.
adapted from pullreq github:200
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed bug which is actually a regression that occurred between</title>
<updated>2015-11-25T20:29:04+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-11-25T20:29:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=1202e140b9876cf202c56d2f41bbbb573e15a39d'/>
<id>1202e140b9876cf202c56d2f41bbbb573e15a39d</id>
<content type='text'>
versions 0.8.0 and 0.8.1, due :ticket:`2714`.  The case where
joined eager loading needs to join out over a subclass-bound
relationship when "with_polymorphic" were also used would fail
to join from the correct entity.
fixes #3593
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
versions 0.8.0 and 0.8.1, due :ticket:`2714`.  The case where
joined eager loading needs to join out over a subclass-bound
relationship when "with_polymorphic" were also used would fail
to join from the correct entity.
fixes #3593
</pre>
</div>
</content>
</entry>
<entry>
<title>- support declarativemappedtest with per-test setup</title>
<updated>2015-11-25T20:15:35+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-11-25T20:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=2a2be6a2ce66ed1040c0345a20f959cbea218859'/>
<id>2a2be6a2ce66ed1040c0345a20f959cbea218859</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- Change "expr" to "entity" for example illustrating an event</title>
<updated>2015-11-24T19:10:51+00:00</updated>
<author>
<name>Bas van den Heuvel</name>
<email>bas.vandenheuvel@student.uva.nl</email>
</author>
<published>2015-11-14T14:23:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=054b22c7867722a256bfe8dd74eada4da378a601'/>
<id>054b22c7867722a256bfe8dd74eada4da378a601</id>
<content type='text'>
that intercepts a query and adds entity-oriented criteria
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
that intercepts a query and adds entity-oriented criteria
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed joinedload bug which would occur when a. the query includes</title>
<updated>2015-11-21T21:36:50+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-11-21T21:36:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=60c36ca8418cec180733a4d97637699fa2d3c36e'/>
<id>60c36ca8418cec180733a4d97637699fa2d3c36e</id>
<content type='text'>
limit/offset criteria that forces a subquery b. the relationship
uses "secondary" c. the primaryjoin of the relationship refers to
a column that is either not part of the primary key, or is a PK
col in a joined-inheritance subclass table that is under a different
attribute name than the parent table's primary key column d. the
query defers the columns that are present in the primaryjoin, typically
via not being included in load_only(); the necessary column(s) would
not be present in the subquery and produce invalid SQL.
fixes #3592
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
limit/offset criteria that forces a subquery b. the relationship
uses "secondary" c. the primaryjoin of the relationship refers to
a column that is either not part of the primary key, or is a PK
col in a joined-inheritance subclass table that is under a different
attribute name than the parent table's primary key column d. the
query defers the columns that are present in the primaryjoin, typically
via not being included in load_only(); the necessary column(s) would
not be present in the subquery and produce invalid SQL.
fixes #3592
</pre>
</div>
</content>
</entry>
<entry>
<title>- A rare case which occurs when a :meth:`.Session.rollback` fails in the</title>
<updated>2015-11-19T20:45:17+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-11-19T20:45:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=a6fe4dc0c8ebc346a90dd849a86dac9345d74515'/>
<id>a6fe4dc0c8ebc346a90dd849a86dac9345d74515</id>
<content type='text'>
scope of a :meth:`.Session.flush` operation that's raising an
exception, as has been observed in some MySQL SAVEPOINT cases, prevents
the original  database exception from being observed when it was
emitted during  flush, but only on Py2K because Py2K does not support
exception  chaining; on Py3K the originating exception is chained.  As
a workaround, a warning is emitted in this specific case showing at
least the string message of the original database error before we
proceed to raise  the rollback-originating exception.
fixes #2696
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
scope of a :meth:`.Session.flush` operation that's raising an
exception, as has been observed in some MySQL SAVEPOINT cases, prevents
the original  database exception from being observed when it was
emitted during  flush, but only on Py2K because Py2K does not support
exception  chaining; on Py3K the originating exception is chained.  As
a workaround, a warning is emitted in this specific case showing at
least the string message of the original database error before we
proceed to raise  the rollback-originating exception.
fixes #2696
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed the ``.python_type`` attribute of :class:`.postgresql.INTERVAL`</title>
<updated>2015-11-19T20:11:37+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-11-19T20:10:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=9ed36c2eed34b23560abe3cdf373c720b24d3b30'/>
<id>9ed36c2eed34b23560abe3cdf373c720b24d3b30</id>
<content type='text'>
to return ``datetime.timedelta`` in the same way as that of
:obj:`.types.Interval.python_type`, rather than raising
``NotImplementedError``.
fixes #3571

(cherry picked from commit 29d6f6e19b014bb5ce79032bd8803e32b4da0e5e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to return ``datetime.timedelta`` in the same way as that of
:obj:`.types.Interval.python_type`, rather than raising
``NotImplementedError``.
fixes #3571

(cherry picked from commit 29d6f6e19b014bb5ce79032bd8803e32b4da0e5e)
</pre>
</div>
</content>
</entry>
<entry>
<title>- rewrite the docs and add a test for the bake_queries=True</title>
<updated>2015-11-19T19:23:08+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-11-19T19:23:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c7f9aa281857eeeaf7963c370bda43d2eb4746f5'/>
<id>c7f9aa281857eeeaf7963c370bda43d2eb4746f5</id>
<content type='text'>
relationship flag; this flag *does* have an effect when the baked
lazy loader plugin has been invoked.  clarify the intent of this
flag as an "opt out" but only has an effect when the baked system
is loaded anyway.  fixes #3572
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
relationship flag; this flag *does* have an effect when the baked
lazy loader plugin has been invoked.  clarify the intent of this
flag as an "opt out" but only has an effect when the baked system
is loaded anyway.  fixes #3572
</pre>
</div>
</content>
</entry>
</feed>
