]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
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

12 years agofix 2.5 syntaxes
Mike Bayer [Sat, 29 Jun 2013 14:56:34 +0000 (10:56 -0400)] 
fix 2.5 syntaxes

12 years agoThe behavior of :func:`.extract` has been simplified on the
Mike Bayer [Sat, 29 Jun 2013 03:53:27 +0000 (23:53 -0400)] 
The behavior of :func:`.extract` has been simplified on the
Postgresql dialect to no longer inject a hardcoded ``::timestamp``
or similar cast into the given expression, as this interfered
with types such as timezone-aware datetimes, but also
does not appear to be at all necessary with modern versions
of psycopg2.  Also in 0.8.2.
[ticket:2740]

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agorefactor test suites for postgresql, mssql, mysql into packages.
Mike Bayer [Sat, 29 Jun 2013 02:30:11 +0000 (22:30 -0400)] 
refactor test suites for postgresql, mssql, mysql into packages.

12 years agoimprove the close handling here so that we don't double-close a connection;
Mike Bayer [Sat, 29 Jun 2013 02:29:45 +0000 (22:29 -0400)] 
improve the close handling here so that we don't double-close a connection;
we log this now so it apparently happens a bunch

12 years agoType lookup when reflecting the Firebird types LONG and
Mike Bayer [Fri, 28 Jun 2013 15:49:41 +0000 (11:49 -0400)] 
Type lookup when reflecting the Firebird types LONG and
INT64 has been fixed so that LONG is treated as INTEGER,
INT64 treated as BIGINT, unless the type has a "precision"
in which case it's treated as NUMERIC.  Patch courtesy
Russell Stuart.
[ticket:2757]

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoFixed bug in HSTORE type where keys/values that contained
Mike Bayer [Fri, 28 Jun 2013 15:35:57 +0000 (11:35 -0400)] 
Fixed bug in HSTORE type where keys/values that contained
backslashed quotes would not be escaped correctly when
using the "non native" (i.e. non-psycopg2) means
of translating HSTORE data.  Patch courtesy Ryan Kelly.
[ticket:2766]

Conflicts:
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/dialects/postgresql/hstore.py

12 years agoadd an ORDER BY here
Mike Bayer [Wed, 26 Jun 2013 19:03:50 +0000 (15:03 -0400)] 
add an ORDER BY here

12 years ago- rework of correlation, continuing on #2668, #2746
Mike Bayer [Tue, 25 Jun 2013 21:32:51 +0000 (17:32 -0400)] 
- rework of correlation, continuing on #2668, #2746
- add support for correlations to propagate all the way in; because
correlations require context now, need to make sure a select enclosure
of any level takes effect any number of levels deep.
- fix what we said correlate_except() was supposed to do when we first
released #2668 - "the FROM clause is left intact if the correlated SELECT
is not used in the context of an enclosing SELECT..." - it was not
considering the "existing_froms" collection at all, and prohibited
additional FROMs from being placed in an any() or has().
- add test for multilevel any()
- lots of docs, including glossary entries as we really need to define
"WHERE clause", "columns clause" etc. so that we can explain correlation better
- based on the insight that a SELECT can correlate anything that ultimately
came from an enclosing SELECT that links to this one via WHERE/columns/HAVING/ORDER BY,
have the compiler keep track of the FROM lists that correspond in this way,
link it to the asfrom flag, so that we send to _get_display_froms() the exact
list of candidate FROMs to correlate.  no longer need any asfrom logic in the
Select() itself
- preserve 0.8.1's behavior for correlation when no correlate options are given, not
to mention 0.7 and prior's behavior of not propagating implicit correlation more than one level..
this is to reduce surprises/hard-to-debug situations when a user isn't trying
to correlate anything.

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

12 years agoneed the defaultdict import here
Mike Bayer [Wed, 26 Jun 2013 15:42:42 +0000 (11:42 -0400)] 
need the defaultdict import here

12 years agochangelog
Mike Bayer [Wed, 26 Jun 2013 15:37:55 +0000 (11:37 -0400)] 
changelog

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoMerge pull request #13 from malor/fix_indexes_reflection
mike bayer [Wed, 26 Jun 2013 15:36:02 +0000 (08:36 -0700)] 
Merge pull request #13 from malor/fix_indexes_reflection

Fix indexes reflection in PostgreSQL

12 years agoMerge pull request #12 from cjw296/master
mike bayer [Wed, 26 Jun 2013 15:15:44 +0000 (08:15 -0700)] 
Merge pull request #12 from cjw296/master

Range type docs improvements.

12 years ago0.8 changelog
Mike Bayer [Sun, 23 Jun 2013 21:55:54 +0000 (17:55 -0400)] 
0.8 changelog

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoMerge branch 'master' of https://github.com/asldevi/sqlalchemy into some_branch
Mike Bayer [Sun, 23 Jun 2013 21:48:28 +0000 (17:48 -0400)] 
Merge branch 'master' of https://github.com/asldevi/sqlalchemy into some_branch

12 years ago2.5ism
Mike Bayer [Sun, 23 Jun 2013 04:21:22 +0000 (00:21 -0400)] 
2.5ism

12 years agoProvided a new attribute for :class:`.TypeDecorator`
Mike Bayer [Sat, 22 Jun 2013 16:19:41 +0000 (12:19 -0400)] 
Provided a new attribute for :class:`.TypeDecorator`
called :attr:`.TypeDecorator.coerce_to_is_types`,
to make it easier to control how comparisons using
``==`` or ``!=`` to ``None`` and boolean types goes
about producing an ``IS`` expression, or a plain
equality expression with a bound parameter.
[ticket:2744]

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoversionadds
Mike Bayer [Sat, 22 Jun 2013 15:48:33 +0000 (11:48 -0400)] 
versionadds

12 years ago- 0.8 changelog
Mike Bayer [Sat, 22 Jun 2013 15:40:10 +0000 (11:40 -0400)] 
- 0.8 changelog
- some whitespace

12 years agoMerge pull request #5 from cjw296/pg-ranges
mike bayer [Sat, 22 Jun 2013 14:47:02 +0000 (07:47 -0700)] 
Merge pull request #5 from cjw296/pg-ranges

Support for Postgres range types.

12 years agoMerged in goodscloud/sqlalchemy (pull request #3)
Mike Bayer [Tue, 18 Jun 2013 18:03:09 +0000 (14:03 -0400)] 
Merged in goodscloud/sqlalchemy (pull request #3)

Forgot final check that a delete in a backref also doesn't create a new version

12 years agofix up the isolation level docs which were a mess
Mike Bayer [Tue, 18 Jun 2013 03:12:04 +0000 (23:12 -0400)] 
fix up the isolation level docs which were a mess

12 years agochangelog for 0.8
Mike Bayer [Mon, 17 Jun 2013 20:50:26 +0000 (16:50 -0400)] 
changelog for 0.8

12 years agoMerged in goodscloud/sqlalchemy (pull request #2)
Mike Bayer [Mon, 17 Jun 2013 20:06:29 +0000 (16:06 -0400)] 
Merged in goodscloud/sqlalchemy (pull request #2)

don't create a history entry when an object in a backref has changed

12 years ago- changelog
Mike Bayer [Sun, 16 Jun 2013 02:58:04 +0000 (22:58 -0400)] 
- changelog
- docs

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoMerge pull request #7 from malor/psycopg2_execution_options
mike bayer [Sun, 16 Jun 2013 02:52:00 +0000 (19:52 -0700)] 
Merge pull request #7 from malor/psycopg2_execution_options

Add AUTOCOMMIT isolation level support for psycopg2

12 years agofix tests here for 0.8
Mike Bayer [Sat, 15 Jun 2013 19:29:21 +0000 (15:29 -0400)] 
fix tests here for 0.8

12 years agoFixed bug in polymorphic SQL generation where multiple joined-inheritance
Mike Bayer [Sat, 15 Jun 2013 19:20:48 +0000 (15:20 -0400)] 
Fixed bug in polymorphic SQL generation where multiple joined-inheritance
entities against the same base class joined to each other as well
would not track columns on the base table independently of each other if
the string of joins were more than two entities long.  Also in 0.8.2.
[ticket:2759]

Conflicts:
doc/build/changelog/changelog_09.rst

12 years ago- skip this test for py3k. serializer kind of a bust
Mike Bayer [Fri, 14 Jun 2013 22:34:01 +0000 (18:34 -0400)] 
- skip this test for py3k.   serializer kind of a bust

Conflicts:
test/ext/test_serializer.py

12 years agochangelog
Mike Bayer [Mon, 10 Jun 2013 23:42:37 +0000 (19:42 -0400)] 
changelog

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoMerge pull request #6 from eevee/propagate-reset-on-return
mike bayer [Mon, 10 Jun 2013 23:38:48 +0000 (16:38 -0700)] 
Merge pull request #6 from eevee/propagate-reset-on-return

Preserve reset_on_return when recreating a Pool.

12 years agoFixed bug where sending a composite attribute into :meth:`.Query.order_by`
Mike Bayer [Mon, 10 Jun 2013 17:50:06 +0000 (13:50 -0400)] 
Fixed bug where sending a composite attribute into :meth:`.Query.order_by`
would produce a parenthesized expression not accepted by some databases.
[ticket:2754]

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoFixed the interaction between composite attributes and
Mike Bayer [Mon, 10 Jun 2013 17:45:19 +0000 (13:45 -0400)] 
Fixed the interaction between composite attributes and
the :func:`.aliased` function.  Previously, composite attributes
wouldn't work correctly in comparison operations when aliasing
was applied.  Also in 0.8.2. [ticket:2755]

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agochangelog
Mike Bayer [Sat, 8 Jun 2013 19:13:39 +0000 (15:13 -0400)] 
changelog

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoMerge pull request #3 from bslatkin/master
mike bayer [Sat, 8 Jun 2013 19:11:25 +0000 (12:11 -0700)] 
Merge pull request #3 from bslatkin/master

Makes gaerdbms for App Engine use local MySQL server when running in dev_appserver2

12 years agomost of these dialect=mysql.dialect() calls are redundant
Mike Bayer [Sat, 8 Jun 2013 18:49:56 +0000 (14:49 -0400)] 
most of these dialect=mysql.dialect() calls are redundant

12 years ago- changelog for [ticket:2704]
Mike Bayer [Sat, 8 Jun 2013 18:47:04 +0000 (14:47 -0400)] 
- changelog for [ticket:2704]
- use an isinstance() check, concerned a TypeError might be indiscriminate

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoFix using of 'mysql_length' for composite indexes
Roman Podolyaka [Sat, 8 Jun 2013 17:38:02 +0000 (20:38 +0300)] 
Fix using of 'mysql_length' for composite indexes

Currently, one can specify the prefix length for an index
column using 'mysql_length' keyword argument when creating
an Index instance. But in case of composite indexes the
prefix length value is applied only to the last column.

Extend the existing API in way so that 'mysql_length' argument
value can be either:
    - an integer specifying the same prefix length value
      for each column of an index
    - a (column_name --> integer value) mapping specifying
      the prefix length value for each column of an index
      separately

Fixes issue #2704.

12 years agoWhen querying the information schema on SQL Server 2000, removed
Mike Bayer [Thu, 6 Jun 2013 16:52:18 +0000 (12:52 -0400)] 
When querying the information schema on SQL Server 2000, removed
a CAST call that was added in 0.8.1 to help with driver issues,
which apparently is not compatible on 2000.
The CAST remains in place for SQL Server 2005 and greater.
[ticket:2747]

Conflicts:
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/dialects/mssql/information_schema.py

12 years agoThe ``deferrable`` keyword argument on :class:`.ForeignKey` and
Mike Bayer [Mon, 3 Jun 2013 22:33:20 +0000 (18:33 -0400)] 
The ``deferrable`` keyword argument on :class:`.ForeignKey` and
:class:`.ForeignKeyConstraint` will not render the ``DEFERRABLE`` keyword
on the MySQL dialect.  For a long time we left this in place because
a non-deferrable foreign key would act very differently than a deferrable
one, but some environments just disable FKs on MySQL, so we'll be less
opinionated here. [ticket:2721]

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoFixed bug where :class:`.MutableDict` didn't report a change event
Mike Bayer [Mon, 3 Jun 2013 22:23:23 +0000 (18:23 -0400)] 
Fixed bug where :class:`.MutableDict` didn't report a change event
when ``clear()`` was called.
[ticket:2730]

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoFixed bug whereby joining a select() of a table "A" with multiple
Mike Bayer [Mon, 3 Jun 2013 21:03:15 +0000 (17:03 -0400)] 
Fixed bug whereby joining a select() of a table "A" with multiple
foreign key paths to a table "B", to that table "B", would fail
to produce the "ambiguous join condition" error that would be
reported if you join table "A" directly to "B"; it would instead
produce a join condition with multiple criteria.
[ticket:2738]

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoFixed bug whereby using :meth:`.MetaData.reflect` across a remote
Mike Bayer [Mon, 3 Jun 2013 20:40:59 +0000 (16:40 -0400)] 
Fixed bug whereby using :meth:`.MetaData.reflect` across a remote
schema as well as a local schema could produce wrong results
in the case where both schemas had a table of the same name.
[ticket:2728]

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

12 years ago- remove the ``__iter__()`` with notimplemented since it interferes
Mike Bayer [Mon, 3 Jun 2013 20:32:12 +0000 (16:32 -0400)] 
- remove the ``__iter__()`` with notimplemented since it interferes
with legitimate iterable detection, [ticket:2726]

Conflicts:
doc/build/changelog/changelog_09.rst

12 years agoFixed a regression caused by [ticket:2682] whereby the
Mike Bayer [Fri, 31 May 2013 15:52:31 +0000 (11:52 -0400)] 
Fixed a regression caused by [ticket:2682] whereby the
evaluation invoked by :meth:`.Query.update` and :meth:`.Query.delete`
would hit upon unsupported ``True`` and ``False`` symbols
which now appear due to the usage of ``IS``.
[ticket:2737]

Conflicts:
doc/build/changelog/changelog_08.rst

12 years agoupdate
Mike Bayer [Fri, 31 May 2013 00:31:49 +0000 (20:31 -0400)] 
update

12 years agorestore functionality here
Mike Bayer [Fri, 31 May 2013 00:30:51 +0000 (20:30 -0400)] 
restore functionality here

12 years agoAdded a new method :meth:`.Query.select_entity_from` which
Mike Bayer [Fri, 31 May 2013 00:24:48 +0000 (20:24 -0400)] 
Added a new method :meth:`.Query.select_entity_from` which
will in 0.9 replace part of the functionality of
:meth:`.Query.select_from`.  In 0.8, the two methods perform
the same function, so that code can be migrated to use the
:meth:`.Query.select_entity_from` method as appropriate.
See the 0.9 migration guide for details.
[ticket:2736]

12 years agoMerge branch 'master' into rel_0_8
Mike Bayer [Wed, 29 May 2013 22:36:36 +0000 (18:36 -0400)] 
Merge branch 'master' into rel_0_8

12 years agoadd the py2k symbol from the 0.9 branch to support the hstore change
Mike Bayer [Wed, 29 May 2013 22:36:10 +0000 (18:36 -0400)] 
add the py2k symbol from the 0.9 branch to support the hstore change

12 years agochangelog
Mike Bayer [Wed, 29 May 2013 22:30:56 +0000 (18:30 -0400)] 
changelog

12 years ago- repair for py3k
Mike Bayer [Wed, 29 May 2013 22:29:12 +0000 (18:29 -0400)] 
- repair for py3k
- fix test

12 years agoUnicode support for psycopg2 native hstore implementation
Dmitry Mugtasimov [Tue, 28 May 2013 12:50:12 +0000 (16:50 +0400)] 
Unicode support for psycopg2 native hstore implementation

12 years ago hstores are text, and in py3k they seem to be implcitly unicode. so
Mike Bayer [Wed, 29 May 2013 22:08:28 +0000 (18:08 -0400)] 
  hstores are text, and in py3k they seem to be implcitly unicode.  so
    add unicode encoding for py2k for the non-native hstore, pullreq for
    native psycopg2 support coming....

12 years ago- move an import stuck in the middle here...
Mike Bayer [Tue, 28 May 2013 05:43:12 +0000 (01:43 -0400)] 
- move an import stuck in the middle here...

12 years agoMerge branch 'master' into rel_0_8
Mike Bayer [Tue, 28 May 2013 05:22:23 +0000 (01:22 -0400)] 
Merge branch 'master' into rel_0_8

12 years agoFixed a small bug in the dogpile example where the generation
Mike Bayer [Tue, 28 May 2013 05:22:10 +0000 (01:22 -0400)] 
Fixed a small bug in the dogpile example where the generation
of SQL cache keys wasn't applying deduping labels to the
statement the same way :class:`.Query` normally does.

12 years agoMerge branch 'master' into rel_0_8
Mike Bayer [Sun, 26 May 2013 21:18:17 +0000 (17:18 -0400)] 
Merge branch 'master' into rel_0_8

12 years agofix this test
Mike Bayer [Sun, 26 May 2013 21:18:04 +0000 (17:18 -0400)] 
fix this test

12 years agoMerge pull request #1 from cjw296/small-fixes
mike bayer [Sun, 26 May 2013 14:46:16 +0000 (07:46 -0700)] 
Merge pull request #1 from cjw296/small-fixes

Small fixes

12 years ago- fixing AbstractConcreteBase import in docstring, 0.8
diana [Sun, 26 May 2013 14:21:13 +0000 (10:21 -0400)] 
- fixing AbstractConcreteBase import in docstring, 0.8
branch, [ticket:2717]

12 years ago- fixing AbstractConcreteBase import in docstring, [ticket:2717]
Diana Clarke [Sun, 26 May 2013 14:10:22 +0000 (10:10 -0400)] 
- fixing AbstractConcreteBase import in docstring, [ticket:2717]

12 years agotweaks to ignores
Chris Withers [Sun, 26 May 2013 13:49:42 +0000 (14:49 +0100)] 
tweaks to ignores

12 years agoShow the conflicting column in the warning!
Chris Withers [Wed, 22 May 2013 07:38:44 +0000 (08:38 +0100)] 
Show the conflicting column in the warning!

12 years agofix incorrect method name
Chris Withers [Tue, 21 May 2013 16:46:28 +0000 (17:46 +0100)] 
fix incorrect method name