]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
11 years agochangelog
Mike Bayer [Sun, 29 Sep 2013 21:09:25 +0000 (17:09 -0400)] 
changelog

11 years agoMerge pull request #25 from gthb/ticket_2821
mike bayer [Sun, 29 Sep 2013 21:03:46 +0000 (14:03 -0700)] 
Merge pull request #25 from gthb/ticket_2821

Hide password in URL and Engine __repr__
Conflicts:
lib/sqlalchemy/engine/url.py

11 years agofix typo [ticket:2827]
Mike Bayer [Tue, 17 Sep 2013 22:48:48 +0000 (17:48 -0500)] 
fix typo [ticket:2827]

11 years agorender "backports"/ "forward ports" automatically, only write out
Mike Bayer [Tue, 17 Sep 2013 20:03:15 +0000 (15:03 -0500)] 
render "backports"/ "forward ports" automatically, only write out
changelog once

Conflicts:
doc/build/changelog/changelog_09.rst

11 years agoFixed Query.exists() method for the case, when query doesn't have any filters applied.
Vladimir Magamedov [Wed, 4 Sep 2013 08:43:40 +0000 (11:43 +0300)] 
Fixed Query.exists() method for the case, when query doesn't have any filters applied.

Conflicts:
doc/build/changelog/changelog_09.rst

11 years agouse a different col here to keep oracle happy
Mike Bayer [Mon, 2 Sep 2013 16:11:24 +0000 (12:11 -0400)] 
use a different col here to keep oracle happy

11 years agoplus some more adjustments for mysql, or in general if an Index refers to
Mike Bayer [Wed, 28 Aug 2013 21:31:40 +0000 (17:31 -0400)] 
plus some more adjustments for mysql, or in general if an Index refers to
in-python only cols

11 years agoFixed bug where using the ``column_reflect`` event to change the ``.key``
Mike Bayer [Wed, 28 Aug 2013 21:25:44 +0000 (17:25 -0400)] 
Fixed bug where using the ``column_reflect`` event to change the ``.key``
of the incoming :class:`.Column` would prevent primary key constraints,
indexes, and foreign key constraints from being correctly reflected.
Also in 0.8.3. [ticket:2811]

Conflicts:
doc/build/changelog/changelog_09.rst

11 years ago- fix a crapload of seealsos
Mike Bayer [Wed, 28 Aug 2013 00:45:28 +0000 (20:45 -0400)] 
- fix a crapload of seealsos
- fix the label on metadata.rst

11 years agocorrect for missing fail() methods which were lost when we removed unittest.TestCase
Mike Bayer [Mon, 26 Aug 2013 16:30:33 +0000 (12:30 -0400)] 
correct for missing fail() methods which were lost when we removed unittest.TestCase

11 years agoclean up formatting and other linting issues
Mike Bayer [Mon, 26 Aug 2013 16:29:27 +0000 (12:29 -0400)] 
clean up formatting and other linting issues

Conflicts:
test/ext/test_associationproxy.py

11 years ago- add version_id documentation [ticket:867]
Mike Bayer [Sun, 25 Aug 2013 18:22:27 +0000 (14:22 -0400)] 
- add version_id documentation [ticket:867]
- add the RETURNING glossary entry
- other "seealso's" fixed
- add doc for eager_defaults option

11 years agoforgot to add system to the copy() method
Mike Bayer [Sun, 25 Aug 2013 16:33:37 +0000 (12:33 -0400)] 
forgot to add system to the copy() method

11 years agoadded "system=True" to Column, so that we generally don't have to bother
Mike Bayer [Sun, 25 Aug 2013 16:28:47 +0000 (12:28 -0400)] 
added "system=True" to Column, so that we generally don't have to bother
with CreateColumn rules

11 years agoMerge pull request #23 from yoloseem/master
mike bayer [Sun, 25 Aug 2013 16:08:00 +0000 (09:08 -0700)] 
Merge pull request #23 from yoloseem/master

Fixed two typos.

11 years ago- The :class:`.CreateColumn` construct can be appled to a custom
Mike Bayer [Sat, 24 Aug 2013 17:55:14 +0000 (13:55 -0400)] 
- The :class:`.CreateColumn` construct can be appled to a custom
compilation rule which allows skipping of columns, by producing
a rule that returns ``None``.  Also in 0.8.3.

Conflicts:
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/sql/ddl.py

11 years ago- this comment is wrong, the method here returns all mapper entities
Mike Bayer [Sat, 24 Aug 2013 15:30:57 +0000 (11:30 -0400)] 
- this comment is wrong, the method here returns all mapper entities
- use a simple isinstance() check instead of looking for presence of
"primary_entity" flag, that's a little unclear

11 years agoformatting
Mike Bayer [Fri, 23 Aug 2013 22:58:09 +0000 (18:58 -0400)] 
formatting

11 years ago- update the test times, include pypy, clean up the script
Mike Bayer [Wed, 21 Aug 2013 23:18:18 +0000 (19:18 -0400)] 
- update the test times, include pypy, clean up the script

11 years agoadd FAQ entry on large inserts
Mike Bayer [Wed, 21 Aug 2013 23:09:01 +0000 (19:09 -0400)] 
add FAQ entry on large inserts

11 years agofix link
Mike Bayer [Wed, 21 Aug 2013 22:57:00 +0000 (18:57 -0400)] 
fix link

11 years agomove FAQ to the docs, [ticket:2133]
Mike Bayer [Wed, 21 Aug 2013 22:48:34 +0000 (18:48 -0400)] 
move FAQ to the docs, [ticket:2133]

Conflicts:
doc/build/index.rst

11 years agoyikes return the modname if no lookup found...
Mike Bayer [Wed, 21 Aug 2013 21:14:04 +0000 (17:14 -0400)] 
yikes return the modname if no lookup found...

11 years agodont need to translate all these names
Mike Bayer [Wed, 21 Aug 2013 21:12:32 +0000 (17:12 -0400)] 
dont need to translate all these names

11 years agotoo small!
Mike Bayer [Mon, 19 Aug 2013 01:29:49 +0000 (21:29 -0400)] 
too small!

11 years agoadd some height
Mike Bayer [Mon, 19 Aug 2013 00:49:07 +0000 (20:49 -0400)] 
add some height

11 years agoadditoinal
Mike Bayer [Sun, 18 Aug 2013 22:16:40 +0000 (18:16 -0400)] 
additoinal

cherry pick of 9302be39a5f40b537ff43e1990c7a210c464cf1c from 0.9
Conflicts:
lib/sqlalchemy/sql/selectable.py

11 years ago- reorganize docs so expression, schema are broken out into subfiles, they're too big
Mike Bayer [Sun, 18 Aug 2013 22:01:27 +0000 (18:01 -0400)] 
- reorganize docs so expression, schema are broken out into subfiles, they're too big
- fix the targeting of module names moved around by using custom handlers for "Bases", etc.

cherry pick of 0c19c1c66f3a115f5ce710de571552d68fac6358 from 0.9.   there's likely issues to be fixed.

11 years agopypy pickle isn't "bulletproof"
Mike Bayer [Wed, 21 Aug 2013 03:38:42 +0000 (23:38 -0400)] 
pypy pickle isn't "bulletproof"

11 years agoapply test skips for pypy issue #1573 in 0.8 [ticket:2805]
Mike Bayer [Wed, 21 Aug 2013 03:32:23 +0000 (23:32 -0400)] 
apply test skips for pypy issue #1573 in 0.8 [ticket:2805]

11 years agoFixed bug where list instrumentation would fail to represent a
Mike Bayer [Tue, 20 Aug 2013 17:27:27 +0000 (13:27 -0400)] 
Fixed bug where list instrumentation would fail to represent a
setslice of ``[0:0]`` correctly, which in particular could occur
when using ``insert(0, item)`` with the association proxy.  Due
to some quirk in Python collections, the issue was much more likely
with Python 3 rather than 2.  Also in 0.8.3, 0.7.11.
[ticket:2807]

Conflicts:
doc/build/changelog/changelog_09.rst

11 years agochangelog adjust...
Mike Bayer [Sun, 18 Aug 2013 20:10:46 +0000 (16:10 -0400)] 
changelog adjust...

11 years ago- use newly fixed WeakSequence (#2794) to not have to rely on class name for sorting...
Mike Bayer [Sun, 18 Aug 2013 20:09:17 +0000 (16:09 -0400)] 
- use newly fixed WeakSequence (#2794) to not have to rely on class name for sorting in #2779

11 years ago- add WeakSequence.append()
Mike Bayer [Sun, 18 Aug 2013 20:05:38 +0000 (16:05 -0400)] 
- add WeakSequence.append()
- fix and test weakref cleanout for WeakSequence, [ticket:2794]

11 years agoBackported a change from 0.9 whereby the iteration of a hierarchy
Mike Bayer [Sun, 18 Aug 2013 19:57:06 +0000 (15:57 -0400)] 
Backported a change from 0.9 whereby the iteration of a hierarchy
of mappers used in polymorphic inheritance loads is sorted on class name,
which allows the SELECT statements generated for polymorphic queries
to have deterministic rendering, which in turn helps with caching
schemes that cache on the SQL string itself.
[ticket:2779]

11 years agofix the merge
Mike Bayer [Sun, 18 Aug 2013 19:36:26 +0000 (15:36 -0400)] 
fix the merge

11 years agoFixed a potential issue in an ordered sequence implementation used
Mike Bayer [Sun, 18 Aug 2013 19:34:23 +0000 (15:34 -0400)] 
Fixed a potential issue in an ordered sequence implementation used
by the ORM to iterate mapper hierarchies; under the Jython interpreter
this implementation wasn't ordered, even though cPython and Pypy
maintained ordering.  Also in 0.8.3.
[ticket:2794]

Conflicts:
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/util/_collections.py

11 years ago- also do delete, add seealsos, formatting, etc. [ticket:2798]
Mike Bayer [Sun, 18 Aug 2013 19:15:38 +0000 (15:15 -0400)] 
- also do delete, add seealsos, formatting, etc. [ticket:2798]

11 years ago- add better notes to query.update(), most notably how to deal with a joined table
Mike Bayer [Sun, 18 Aug 2013 19:01:59 +0000 (15:01 -0400)] 
- add better notes to query.update(), most notably how to deal with a joined table
update, [ticket:2798]

11 years agoFixed regression dating back to 0.7.9 whereby the name of a CTE might
Mike Bayer [Sun, 18 Aug 2013 18:46:04 +0000 (14:46 -0400)] 
Fixed regression dating back to 0.7.9 whereby the name of a CTE might
not be properly quoted if it was referred to in multiple FROM clauses.
Also in 0.8.3, 0.7.11. [ticket:2801]

Conflicts:
doc/build/changelog/changelog_09.rst

11 years ago0.8 changelog
Mike Bayer [Sat, 17 Aug 2013 04:23:37 +0000 (00:23 -0400)] 
0.8 changelog

11 years ago- changelog
Mike Bayer [Sat, 17 Aug 2013 04:20:46 +0000 (00:20 -0400)] 
- changelog
- clean up these tests to not use globals so much, close out the session

Conflicts:
doc/build/changelog/changelog_09.rst
examples/versioning/test_versioning.py

11 years agoMerged in prschmid/sqlalchemy (pull request #4)
Mike Bayer [Sat, 17 Aug 2013 04:12:59 +0000 (00:12 -0400)] 
Merged in prschmid/sqlalchemy (pull request #4)

Made primary_key autoincrement=False in versioning example.

11 years agoMerged in bacher09/sqlalchemy (pull request #5)
Mike Bayer [Sat, 17 Aug 2013 04:05:19 +0000 (00:05 -0400)] 
Merged in bacher09/sqlalchemy (pull request #5)

Fix typo in comparator_factory example

11 years agoadd some more detail about concurrency
Mike Bayer [Mon, 12 Aug 2013 18:20:01 +0000 (14:20 -0400)] 
add some more detail about concurrency

11 years ago- more "when do i create the session" docs, get specific
Mike Bayer [Mon, 12 Aug 2013 15:33:17 +0000 (11:33 -0400)] 
- more "when do i create the session" docs, get specific
- more glossary terms
- turn the session FAQ into rst sections at last

11 years agoadd more docs to index, even though this seems to be a little redundant
Mike Bayer [Sun, 11 Aug 2013 06:22:36 +0000 (02:22 -0400)] 
add more docs to index, even though this seems to be a little redundant

11 years agoMerge pull request #21 from svrin/patch-1
mike bayer [Thu, 8 Aug 2013 20:39:23 +0000 (13:39 -0700)] 
Merge pull request #21 from svrin/patch-1

Typo in engines.rst

11 years ago- The :meth:`.Operators.notin_` operator added in 0.8 now properly
Mike Bayer [Wed, 7 Aug 2013 18:28:45 +0000 (13:28 -0500)] 
- The :meth:`.Operators.notin_` operator added in 0.8 now properly
produces the negation of the expression "IN" returns
when used against an empty collection.  Also in 0.8.3.

11 years agoUpdates to MySQL reserved words for versions 5.5, 5.6, courtesy
Mike Bayer [Thu, 1 Aug 2013 01:05:33 +0000 (21:05 -0400)] 
Updates to MySQL reserved words for versions 5.5, 5.6, courtesy
Hanno Schlichting.  Also in 0.8.3, 0.7.11.
[ticket:2791]

Conflicts:
doc/build/changelog/changelog_09.rst

11 years ago- update ORM event docs to include that you can listen on an unmapped base,
Mike Bayer [Wed, 31 Jul 2013 23:05:58 +0000 (19:05 -0400)] 
- update ORM event docs to include that you can listen on an unmapped base,
[ticket:2777]

Conflicts:
lib/sqlalchemy/orm/events.py

11 years agofix cahngelog
Mike Bayer [Wed, 31 Jul 2013 22:49:59 +0000 (18:49 -0400)] 
fix cahngelog

11 years ago- Fixed bug in common table expression system where if the CTE were
Mike Bayer [Wed, 31 Jul 2013 22:42:58 +0000 (18:42 -0400)] 
- Fixed bug in common table expression system where if the CTE were
used only as an ``alias()`` construct, it would not render using the
WITH keyword.  Also in 0.7.11.
[ticket:2783]

12 years agofix py26 flag
Mike Bayer [Sat, 27 Jul 2013 22:32:15 +0000 (18:32 -0400)] 
fix py26 flag

12 years agotry seeing if just clearing this ahead of time helps
Mike Bayer [Sat, 27 Jul 2013 22:30:48 +0000 (18:30 -0400)] 
try seeing if just clearing this ahead of time helps

12 years agoexclude python2.5 on this also
Mike Bayer [Sat, 27 Jul 2013 22:28:46 +0000 (18:28 -0400)] 
exclude python2.5 on this also

12 years agotpo
Mike Bayer [Sat, 20 Jul 2013 04:41:10 +0000 (00:41 -0400)] 
tpo

12 years ago- Improved the examples in ``examples/generic_associations``, including
Mike Bayer [Sat, 20 Jul 2013 02:56:34 +0000 (22:56 -0400)] 
- Improved the examples in ``examples/generic_associations``, including
that ``discriminator_on_association.py`` makes use of single table
inheritance do the work with the "discriminator".  Also
added a true "generic foreign key" example, which works similarly
to other popular frameworks in that it uses an open-ended integer
to point to any other table, foregoing traditional referential
integrity.  While we don't recommend this pattern, information wants
to be free.  Also in 0.8.3.

- Added a convenience class decorator :func:`.as_declarative`, is
a wrapper for :func:`.declarative_base` which allows an existing base
class to be applied using a nifty class-decorated approach.  Also
in 0.8.3.

12 years agoMerge pull request #18 from davidjb/patch-1
mike bayer [Fri, 19 Jul 2013 15:37:27 +0000 (08:37 -0700)] 
Merge pull request #18 from davidjb/patch-1

Minor hybrid extension documentation update

12 years agoFixed bug in ORM-level event registration where the "raw" or
Mike Bayer [Fri, 19 Jul 2013 03:17:33 +0000 (23:17 -0400)] 
Fixed bug in ORM-level event registration where the "raw" or
"propagate" flags could potentially be mis-configured in some
"unmapped base class" configurations.  Also in 0.8.3.
[ticket:2786]

12 years agoFixed bug in :class:`.CheckConstraint` DDL where the "quote" flag from a
Mike Bayer [Wed, 17 Jul 2013 15:18:59 +0000 (11:18 -0400)] 
Fixed bug in :class:`.CheckConstraint` DDL where the "quote" flag from a
:class:`.Column` object would not be propagated.  Also in 0.8.3, 0.7.11.
[ticket:2784]

12 years agoMerge pull request #17 from iElectric/docs/wording_yield_per
mike bayer [Sun, 14 Jul 2013 16:58:43 +0000 (09:58 -0700)] 
Merge pull request #17 from iElectric/docs/wording_yield_per

wording about supported dialects for Query.yield_per

12 years agofurther tweaking
Mike Bayer [Sat, 13 Jul 2013 20:41:16 +0000 (16:41 -0400)] 
further tweaking

12 years agofix the scoping here
Mike Bayer [Sat, 13 Jul 2013 20:36:54 +0000 (16:36 -0400)] 
fix the scoping here

12 years agocallcounts
Mike Bayer [Sat, 13 Jul 2013 20:33:41 +0000 (16:33 -0400)] 
callcounts

12 years agoA performance fix related to the usage of the :func:`.defer` option
Mike Bayer [Sat, 13 Jul 2013 20:28:42 +0000 (16:28 -0400)] 
A performance fix related to the usage of the :func:`.defer` option
when loading mapped entities.   The function overhead of applying
a per-object deferred callable to an instance at load time was
significantly higher than that of just loading the data from the row
(note that ``defer()`` is meant to reduce DB/network overhead, not
necessarily function call count); the function call overhead is now
less than that of loading data from the column in all cases.  There
is also a reduction in the number of "lazy callable" objects created
per load from N (total deferred values in the result) to 1 (total
number of deferred cols).
[ticket:2778]

12 years agodoc fix
Mike Bayer [Sat, 13 Jul 2013 02:01:58 +0000 (22:01 -0400)] 
doc fix

12 years agoThe newly added SQLite DATETIME arguments storage_format and
Mike Bayer [Sat, 13 Jul 2013 01:52:54 +0000 (21:52 -0400)] 
The newly added SQLite DATETIME arguments storage_format and
regexp apparently were not fully implemented correctly; while the
arguments were accepted, in practice they would have no effect;
this has been fixed.
[ticket:2781]

12 years ago- use inline=True for the insert..select here so it works on oracle
Mike Bayer [Fri, 12 Jul 2013 16:14:50 +0000 (12:14 -0400)] 
- use inline=True for the insert..select here so it works on oracle

12 years agoCSS tweaks to support version styling in the latest versions of sphinx
Mike Bayer [Fri, 12 Jul 2013 16:14:33 +0000 (12:14 -0400)] 
CSS tweaks to support version styling in the latest versions of sphinx

12 years agofix missing import here
Mike Bayer [Fri, 12 Jul 2013 15:43:55 +0000 (11:43 -0400)] 
fix missing import here

12 years agoFixed bug where the expression system relied upon the ``str()``
Mike Bayer [Fri, 12 Jul 2013 15:32:34 +0000 (11:32 -0400)] 
Fixed bug where the expression system relied upon the ``str()``
form of a some expressions when referring to the ``.c`` collection
on a ``select()`` construct, but the ``str()`` form isn't available
since the element relies on dialect-specific compilation constructs,
notably the ``__getitem__()`` operator as used with a Postgresql
``ARRAY`` element.  The fix also adds a new exception class
:class:`.UnsupportedCompilationError` which is raised in those cases
where a compiler is asked to compile something it doesn't know
how to.
[ticket:2780]

12 years agodon't split the regexps for chop_traceback()
Mike Bayer [Fri, 12 Jul 2013 14:42:18 +0000 (10:42 -0400)] 
don't split the regexps for chop_traceback()

12 years agoDialect.initialize() is not called a second time if an :class:`.Engine`
Mike Bayer [Thu, 11 Jul 2013 19:15:09 +0000 (15:15 -0400)] 
Dialect.initialize() is not called a second time if an :class:`.Engine`
is recreated, due to a disconnect error.   This fixes a particular
issue in the Oracle 8 dialect, but in general the dialect.initialize()
phase should only be once per dialect.  [ticket:2776]

12 years agoremove undoc-members from query docstring [ticket:2774]
Mike Bayer [Sun, 7 Jul 2013 16:02:15 +0000 (12:02 -0400)] 
remove undoc-members from query docstring [ticket:2774]

12 years agouse "target tables" here
Mike Bayer [Sat, 6 Jul 2013 20:42:44 +0000 (16:42 -0400)] 
use "target tables" here

12 years ago- Added new method to the :func:`.insert` construct
Mike Bayer [Fri, 5 Jul 2013 19:51:24 +0000 (15:51 -0400)] 
- Added new method to the :func:`.insert` construct
:meth:`.Insert.from_select`.  Given a list of columns and
a selectable, renders ``INSERT INTO (table) (columns) SELECT ..``.
While this feature is highlighted as part of 0.9 it is also
backported to 0.8.3. [ticket:722]
- The :func:`.update`, :func:`.insert`, and :func:`.delete` constructs
will now interpret ORM entities as FROM clauses to be operated upon,
in the same way that select() already does.

12 years agocallcount
Mike Bayer [Fri, 5 Jul 2013 18:40:47 +0000 (14:40 -0400)] 
callcount

12 years agoFixed bug whereby attribute history functions would fail
Mike Bayer [Fri, 5 Jul 2013 00:01:55 +0000 (20:01 -0400)] 
Fixed bug whereby attribute history functions would fail
when an object we moved from "persistent" to "pending"
using the :func:`.make_transient` function, for operations
involving collection-based backrefs.
[ticket:2773]

12 years ago- take advantage of 0.9's pool redesign a bit, adding
Mike Bayer [Thu, 4 Jul 2013 17:25:40 +0000 (13:25 -0400)] 
- take advantage of 0.9's pool redesign a bit, adding
_ConnectionRecord.checkin() so that this functionality is
encapsulated; is now called from two different locations
for [ticket:2772].
- Fixed bug where :class:`.QueuePool` would lose the correct
checked out count if an existing pooled connection failed to reconnect
after an invalidate or recycle event. [ticket:2772]

12 years ago0.8.2 rel_0_8_2
Mike Bayer [Wed, 3 Jul 2013 20:07:51 +0000 (16:07 -0400)] 
0.8.2

12 years agodont need this
Mike Bayer [Wed, 3 Jul 2013 19:38:26 +0000 (15:38 -0400)] 
dont need this

12 years agomake this rule automatic based on coverage plugin
Mike Bayer [Wed, 3 Jul 2013 17:47:44 +0000 (13:47 -0400)] 
make this rule automatic based on coverage plugin

12 years agomark the tests that seem to be segfauling py3k+coverage so that we can exclude them
Mike Bayer [Mon, 1 Jul 2013 03:55:32 +0000 (23:55 -0400)] 
mark the tests that seem to be segfauling py3k+coverage so that we can exclude them
at the nose command line

12 years agofor this test, apparently we don't handle sets as unordered since neither does
Mike Bayer [Wed, 3 Jul 2013 00:35:01 +0000 (20:35 -0400)] 
for this test, apparently we don't handle sets as unordered since neither does
MySQL.  for some reason set ordering was constant when testing mysqldb, but not
so with oursql.

12 years ago- clean up some of the requires for cross-schema reflection
Mike Bayer [Mon, 3 Jun 2013 22:11:32 +0000 (18:11 -0400)] 
- clean up some of the requires for cross-schema reflection
- add oracle profile counts

12 years agogenericize tests here
Mike Bayer [Wed, 5 Jun 2013 03:20:02 +0000 (23:20 -0400)] 
genericize tests here

12 years agoFixed bug when using multi-table UPDATE where a supplemental
Mike Bayer [Tue, 2 Jul 2013 22:24:58 +0000 (18:24 -0400)] 
Fixed bug when using multi-table UPDATE where a supplemental
table is a SELECT with its own bound parameters, where the positioning
of the bound parameters would be reversed versus the statement
itself when using MySQL's special syntax.
[ticket:2768]

12 years agoAdded :class:`.BIGINT` to the list of type names that can be
Mike Bayer [Tue, 2 Jul 2013 22:10:08 +0000 (18:10 -0400)] 
Added :class:`.BIGINT` to the list of type names that can be
reflected by the SQLite dialect; courtesy Russell Stuart.
[ticket:2764]

12 years agoORM descriptors such as hybrid properties can now be referenced
Mike Bayer [Tue, 2 Jul 2013 22:02:20 +0000 (18:02 -0400)] 
ORM descriptors such as hybrid properties can now be referenced
by name in a string argument used with ``order_by``,
``primaryjoin``, or similar in :func:`.relationship`,
in addition to column-bound attributes. [ticket:2761]

12 years agofix python 2.5isms
Mike Bayer [Mon, 1 Jul 2013 03:38:45 +0000 (23:38 -0400)] 
fix python 2.5isms

12 years agofix a missing stringio import
Mike Bayer [Mon, 1 Jul 2013 01:11:56 +0000 (21:11 -0400)] 
fix a missing stringio import

12 years agofix syntax screwup
Mike Bayer [Mon, 1 Jul 2013 00:15:21 +0000 (20:15 -0400)] 
fix syntax screwup

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoAdded new flag ``retaining=False`` to the kinterbasdb and fdb dialects.
Mike Bayer [Sun, 30 Jun 2013 23:54:59 +0000 (19:54 -0400)] 
Added new flag ``retaining=False`` to the kinterbasdb and fdb dialects.
This controls the value of the ``retaining`` flag sent to the
``commit()`` and ``rollback()`` methods of the DBAPI connection.
Defaults to False.  Also in 0.8.2, where it defaults to True.
[ticket:2763]

12 years ago- replace most explicitly-named test objects called "Mock..." with
Mike Bayer [Sun, 30 Jun 2013 22:35:12 +0000 (18:35 -0400)] 
- replace most explicitly-named test objects called "Mock..." with
actual mock objects from the mock library.  I'd like to use mock
for new tests so we might as well use it in obvious places.
- use unittest.mock in py3.3
- changelog
- add a note to README.unittests
- add tests_require in setup.py
- have tests import from sqlalchemy.testing.mock
- apply usage of mock to one of the event tests.  we can be using
this approach all over the place.

12 years ago- additional fix for [ticket:2750] where on an update, we make sure the
Mike Bayer [Sun, 30 Jun 2013 19:58:50 +0000 (15:58 -0400)] 
- additional fix for [ticket:2750] where on an update, we make sure the
value is present

12 years agoadd better tests for [ticket:2750]
Mike Bayer [Sun, 30 Jun 2013 15:21:19 +0000 (11:21 -0400)] 
add better tests for [ticket:2750]

12 years agoA warning is emitted when trying to flush an object of an inherited
Mike Bayer [Sun, 30 Jun 2013 15:09:37 +0000 (11:09 -0400)] 
A warning is emitted when trying to flush an object of an inherited
mapped class where the polymorphic discriminator has been assigned
to a value that is invalid for the class.   [ticket:2750]

12 years agotweak the timings here to maximize chance of test success
Mike Bayer [Sat, 29 Jun 2013 15:17:32 +0000 (11:17 -0400)] 
tweak the timings here to maximize chance of test success

12 years agoset UTC timezone on the connection here so we can get consistent results
Mike Bayer [Sat, 29 Jun 2013 15:08:07 +0000 (11:08 -0400)] 
set UTC timezone on the connection here so we can get consistent results