]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
11 years ago- Fixed bug in :func:`.tuple_` construct where the "type" of essentially
Mike Bayer [Fri, 28 Feb 2014 00:54:49 +0000 (19:54 -0500)] 
- Fixed bug in :func:`.tuple_` construct where the "type" of essentially
the first SQL expression would be applied as the "comparison type"
to a compared tuple value; this has the effect in some cases of an
inappropriate "type coersion" occurring, such as when a tuple that
has a mix of String and Binary values improperly coerces target
values to Binary even though that's not what they are on the left
side.  :func:`.tuple_` now expects heterogeneous types within its
list of values.
fixes #2977

Conflicts:
lib/sqlalchemy/sql/elements.py
test/sql/test_operators.py

11 years ago0.8.6
Mike Bayer [Thu, 27 Feb 2014 00:27:57 +0000 (19:27 -0500)] 
0.8.6

11 years ago- Removed stale names from ``sqlalchemy.orm.interfaces.__all__`` and
Mike Bayer [Thu, 27 Feb 2014 00:27:22 +0000 (19:27 -0500)] 
- Removed stale names from ``sqlalchemy.orm.interfaces.__all__`` and
refreshed with current names, so that an ``import *`` from this
module again works.
fixes #2975

11 years ago0.8.5 rel_0_8_5
Mike Bayer [Thu, 20 Feb 2014 03:59:11 +0000 (22:59 -0500)] 
0.8.5

11 years ago2014
Mike Bayer [Thu, 20 Feb 2014 03:56:06 +0000 (22:56 -0500)] 
2014

11 years ago- isolate this failure as only on 0.8, only in py3.3, just comment it out,
Mike Bayer [Thu, 20 Feb 2014 01:33:31 +0000 (20:33 -0500)] 
- isolate this failure as only on 0.8, only in py3.3, just comment it out,
not really worth tracking down

11 years ago- Added an additional message to psycopg2 disconnect detection,
Mike Bayer [Thu, 20 Feb 2014 00:22:17 +0000 (19:22 -0500)] 
- Added an additional message to psycopg2 disconnect detection,
"could not send data to server", which complements the existing
"could not receive data from server" and has been observed by users,
fixes #2936

11 years ago- add a topological rule here to place PARTITIONS after PARTITION_BY,
Mike Bayer [Wed, 19 Feb 2014 22:00:37 +0000 (17:00 -0500)] 
- add a topological rule here to place PARTITIONS after PARTITION_BY,
for output consistency within the tests as well as in practice

11 years agorestore check ahead of the lock to avoid locking when not needed
Mike Bayer [Wed, 19 Feb 2014 21:12:36 +0000 (16:12 -0500)] 
restore check ahead of the lock to avoid locking when not needed

11 years ago- add improved support here for string parsing of predicates, backport
Mike Bayer [Wed, 19 Feb 2014 21:07:01 +0000 (16:07 -0500)] 
- add improved support here for string parsing of predicates, backport
from 0.9

11 years ago- Support has been improved for Postgresql reflection behavior on very old
Mike Bayer [Tue, 18 Feb 2014 23:35:23 +0000 (18:35 -0500)] 
- Support has been improved for Postgresql reflection behavior on very old
(pre 8.1) versions of Postgresql, and potentially other PG engines
such as Redshift (assuming Redshift reports the version as < 8.1).
The query for "indexes" as well as "primary keys" relies upon inspecting
a so-called "int2vector" datatype, which refuses to coerce to an array
prior to 8.1 causing failures regarding the "ANY()" operator used
in the query.  Extensive googling has located the very hacky, but
recommended-by-PG-core-developer query to use when PG version < 8.1
is in use, so index and primary key constraint reflection now work
on these versions.

Conflicts:
doc/build/changelog/changelog_09.rst
test/dialect/postgresql/test_types.py

11 years ago- Added new MySQL-specific :class:`.mysql.DATETIME` which includes
Mike Bayer [Wed, 19 Feb 2014 20:49:37 +0000 (15:49 -0500)] 
- Added new MySQL-specific :class:`.mysql.DATETIME` which includes
fractional seconds support; also added fractional seconds support
to :class:`.mysql.TIMESTAMP`.  DBAPI support is limited, though
fractional seconds are known to be supported by MySQL Connector/Python.
Patch courtesy Geert JM Vanderkelen. #2941

11 years agochangelog for pullreq 12
Mike Bayer [Wed, 19 Feb 2014 20:26:51 +0000 (15:26 -0500)] 
changelog for pullreq 12

11 years agoFixes MySQL dialect partitioning
Marcus McCurdy [Fri, 14 Feb 2014 18:23:51 +0000 (13:23 -0500)] 
Fixes MySQL dialect partitioning

11 years ago- Fixed bug where calling :meth:`.Insert.values` with an empty list
Mike Bayer [Wed, 19 Feb 2014 20:18:22 +0000 (15:18 -0500)] 
- Fixed bug where calling :meth:`.Insert.values` with an empty list
or tuple would raise an IndexError.   It now produces an empty
insert construct as would be the case with an empty dictionary.

Conflicts:
lib/sqlalchemy/sql/dml.py

11 years ago- Fixed a critical regression caused by :ticket:`2880` where the newly
Mike Bayer [Wed, 19 Feb 2014 15:48:32 +0000 (10:48 -0500)] 
- Fixed a critical regression caused by :ticket:`2880` where the newly
concurrent ability to return connections from the pool means that the
"first_connect" event is now no longer synchronized either, thus leading
to dialect mis-configurations under even minimal concurrency situations.

Conflicts:
lib/sqlalchemy/event/attr.py

11 years ago- update mysql connector python link, #2938
Mike Bayer [Wed, 19 Feb 2014 01:49:33 +0000 (20:49 -0500)] 
- update mysql connector python link, #2938

11 years ago- changelog for pullreq github:72.
Mike Bayer [Sun, 16 Feb 2014 23:28:35 +0000 (18:28 -0500)] 
- changelog for pullreq github:72.

11 years agoMerge branch 'fix_sqlite_uc_reflection' of https://github.com/malor/sqlalchemy into t
Mike Bayer [Sun, 16 Feb 2014 23:19:55 +0000 (18:19 -0500)] 
Merge branch 'fix_sqlite_uc_reflection' of https://github.com/malor/sqlalchemy into t

11 years ago- extensive cross-linking of relationship options with their documentation sections
Mike Bayer [Sun, 16 Feb 2014 19:28:56 +0000 (14:28 -0500)] 
- extensive cross-linking of relationship options with their documentation sections
- convert all paramter references in relationship documentation to :paramref:

Conflicts:
doc/build/orm/relationships.rst
lib/sqlalchemy/ext/declarative/__init__.py
lib/sqlalchemy/orm/relationships.py

11 years ago- add cross-linking for passive_deletes / passive_updates
Mike Bayer [Sun, 16 Feb 2014 17:43:46 +0000 (12:43 -0500)] 
- add cross-linking for passive_deletes / passive_updates

11 years ago- add documentation regarding native hstore flag, psycopg2
Mike Bayer [Sun, 16 Feb 2014 17:03:00 +0000 (12:03 -0500)] 
- add documentation regarding native hstore flag, psycopg2
hstore extension. #2959

11 years ago- expand docs on MySQL table arguments beyond just storage engines
Mike Bayer [Sun, 16 Feb 2014 01:51:38 +0000 (20:51 -0500)] 
- expand docs on MySQL table arguments beyond just storage engines
- clarify section on "foreign key reflection" and group this in a
section that refers to foreign keys.

11 years ago- Revised this very old issue where the Postgresql "get primary key"
Mike Bayer [Fri, 14 Feb 2014 19:32:00 +0000 (14:32 -0500)] 
- Revised this very old issue where the Postgresql "get primary key"
reflection query were updated to take into account primary key constraints
that were renamed; the newer query fails on very old versions of
Postgresql such as version 7, so the old query is restored in those cases
when server_version_info < (8, 0) is detected. #2291

11 years agoFix unique constraints reflection in SQLite
Roman Podoliaka [Fri, 14 Feb 2014 11:04:57 +0000 (13:04 +0200)] 
Fix unique constraints reflection in SQLite

Reflection of unique constraints didn't work properly, if reserved
identifiers had been used as column names. In this case column names
would be put in double quotes (e.g. the name of column asc would be
returned as "asc").

This issue is only present in 0.8.4 and not in 0.9.x.

11 years ago- Fixed bug where :meth:`.in_()` would go into an endless loop if
Mike Bayer [Thu, 13 Feb 2014 20:19:12 +0000 (15:19 -0500)] 
- Fixed bug where :meth:`.in_()` would go into an endless loop if
erroneously passed a column expression whose comparator included
the ``__getitem__()`` method, such as a column that uses the
:class:`.postgresql.ARRAY` type. [ticket:2957]

11 years agothis example doesn't work, we don't really have a solution for this as far as automat...
Mike Bayer [Mon, 10 Feb 2014 22:43:37 +0000 (17:43 -0500)] 
this example doesn't work, we don't really have a solution for this as far as automating this pattern

11 years ago- dont need these extra conditions from the previous test
Mike Bayer [Mon, 10 Feb 2014 21:37:32 +0000 (16:37 -0500)] 
- dont need these extra conditions from the previous test

11 years ago- Fixed bug where :meth:`.Query.get` would fail to consistently
Mike Bayer [Mon, 10 Feb 2014 21:33:48 +0000 (16:33 -0500)] 
- Fixed bug where :meth:`.Query.get` would fail to consistently
raise the :class:`.InvalidRequestError` that invokes when called
on a query with existing criterion, when the given identity is
already present in the identity map. [ticket:2951]

11 years ago- this seems to be the best string for pymysql
Mike Bayer [Mon, 3 Feb 2014 17:11:23 +0000 (12:11 -0500)] 
- this seems to be the best string for pymysql

11 years ago- Fixed bug which prevented MySQLdb-based dialects (e.g.
Mike Bayer [Mon, 3 Feb 2014 17:04:51 +0000 (12:04 -0500)] 
- Fixed bug which prevented MySQLdb-based dialects (e.g.
pymysql) from working in Py3K, where a check for "connection
charset" would fail due to Py3K's more strict value comparison
rules.  The call in question  wasn't taking the database
version into account in any case as the server version was
still None at that point, so the method overall has been
simplified to rely upon connection.character_set_name().
[ticket:2933]

11 years ago- add a few missing methods to the cymysql dialect
Mike Bayer [Sun, 2 Feb 2014 23:16:17 +0000 (18:16 -0500)] 
- add a few missing methods to the cymysql dialect

11 years ago- don't duplicate docs for Pool within QueuePool
Mike Bayer [Sat, 1 Feb 2014 04:13:13 +0000 (23:13 -0500)] 
- don't duplicate docs for Pool within QueuePool
- add huge warning regarding how use_threadlocal probably not what you want

11 years agochangelog
Mike Bayer [Fri, 31 Jan 2014 22:31:20 +0000 (17:31 -0500)] 
changelog

11 years agono Binary here if we are running a test with no DBAPI
Mike Bayer [Fri, 31 Jan 2014 22:29:19 +0000 (17:29 -0500)] 
no Binary here if we are running a test with no DBAPI

11 years agoMerge branch 'fix-convenience-import' of github.com:witsch/sqlalchemy into t
Mike Bayer [Fri, 31 Jan 2014 22:27:55 +0000 (17:27 -0500)] 
Merge branch 'fix-convenience-import' of github.com:witsch/sqlalchemy into t

11 years ago- add a test for pullreq github:63
Mike Bayer [Fri, 31 Jan 2014 22:27:35 +0000 (17:27 -0500)] 
- add a test for pullreq github:63

11 years agoexpose `binary_type` in `util` module
Andreas Zeidler [Fri, 31 Jan 2014 16:31:27 +0000 (17:31 +0100)] 
expose `binary_type` in `util` module

it is used in `sql/compiler.py(849)render_literal_value()`

11 years ago- add a test for [ticket:2927], which is an 0.9 issue but only because 0.8
Mike Bayer [Wed, 29 Jan 2014 22:09:50 +0000 (17:09 -0500)] 
- add a test for [ticket:2927], which is an 0.9 issue but only because 0.8
isn't annotating correctly

11 years ago- repair the fixture/test here to make sure state isn't left over causing other tests...
Mike Bayer [Mon, 27 Jan 2014 18:34:33 +0000 (13:34 -0500)] 
- repair the fixture/test here to make sure state isn't left over causing other tests to fail

11 years agodocs
Mike Bayer [Mon, 27 Jan 2014 01:01:57 +0000 (20:01 -0500)] 
docs

11 years agoupdates
Mike Bayer [Sun, 26 Jan 2014 06:04:46 +0000 (01:04 -0500)] 
updates

11 years agotweak text
Mike Bayer [Sat, 25 Jan 2014 21:55:27 +0000 (16:55 -0500)] 
tweak text

11 years agoseealsos in the tutorial
Mike Bayer [Sat, 25 Jan 2014 21:37:30 +0000 (16:37 -0500)] 
seealsos in the tutorial

Conflicts:
lib/sqlalchemy/sql/selectable.py

11 years agoimports
Mike Bayer [Sat, 25 Jan 2014 21:37:49 +0000 (16:37 -0500)] 
imports

11 years agocase
Mike Bayer [Sat, 25 Jan 2014 21:20:54 +0000 (16:20 -0500)] 
case

11 years ago- start building out very comprehensive docstrings for core functions
Mike Bayer [Sat, 25 Jan 2014 20:36:09 +0000 (15:36 -0500)] 
- start building out very comprehensive docstrings for core functions

11 years agodocuemnt join
Mike Bayer [Sat, 25 Jan 2014 03:51:31 +0000 (22:51 -0500)] 
docuemnt join

11 years ago- doc updates, include links to create_engine from tutorials, cleanup
Mike Bayer [Fri, 24 Jan 2014 00:38:46 +0000 (19:38 -0500)] 
- doc updates, include links to create_engine from tutorials, cleanup
and modernize the engines chapter a bit

Conflicts:
doc/build/changelog/changelog_09.rst
doc/build/orm/tutorial.rst

11 years ago- add tests for [ticket:2918], confirm this is an 0.9 regression
Mike Bayer [Thu, 23 Jan 2014 19:30:34 +0000 (14:30 -0500)] 
- add tests for [ticket:2918], confirm this is an 0.9 regression

11 years agoRemove uneeded import from code example
Wichert Akkerman [Mon, 20 Jan 2014 09:59:20 +0000 (10:59 +0100)] 
Remove uneeded import from code example

This had me reread the code twice to see if I missed why the import was
present.

11 years agofix typo
Mike Bayer [Sun, 19 Jan 2014 22:51:21 +0000 (17:51 -0500)] 
fix typo

11 years agoFix a typo in the relationship docs
Wichert Akkerman [Thu, 16 Jan 2014 10:23:05 +0000 (11:23 +0100)] 
Fix a typo in the relationship docs

The text refers to ``boston_addresses``, while the code sample uses
``addresses``.

11 years agoattic
Mike Bayer [Sun, 19 Jan 2014 01:58:46 +0000 (20:58 -0500)] 
attic

11 years agoakiban-> foundationdb
Mike Bayer [Sun, 19 Jan 2014 01:56:56 +0000 (20:56 -0500)] 
akiban-> foundationdb

Conflicts:
doc/build/dialects/index.rst

11 years ago- changelog + test for pullreq github 58
Mike Bayer [Wed, 15 Jan 2014 01:22:11 +0000 (20:22 -0500)] 
- changelog + test for pullreq github 58

11 years agoFix TypeError for class_mapper called w/ iterable
Kyle Stark [Mon, 13 Jan 2014 16:52:31 +0000 (08:52 -0800)] 
Fix TypeError for class_mapper called w/ iterable

When the class_ passed is not a mapped class but is actually an iterable, the string formatting operation fails with a TypeError, and the expected ArgumentError is not raised. Calling code which is using reflection and expects this error will fail (e.g. the sadisplay module).
Conflicts:
lib/sqlalchemy/orm/base.py

11 years agopyo
Mike Bayer [Sat, 11 Jan 2014 18:15:23 +0000 (13:15 -0500)] 
pyo

11 years ago- add paramlinks and external changelog ext to 0.8
Mike Bayer [Mon, 30 Dec 2013 17:23:05 +0000 (12:23 -0500)] 
- add paramlinks and external changelog ext to 0.8

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 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 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 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 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 agofix 2.5-ism
Mike Bayer [Fri, 27 Dec 2013 21:19:54 +0000 (16:19 -0500)] 
fix 2.5-ism

11 years agotest hanging on 0.8, suspecting the test framework. this feature is tested on 0.9...
Mike Bayer [Fri, 27 Dec 2013 18:47:31 +0000 (13:47 -0500)] 
test hanging on 0.8, suspecting the test framework. this feature is tested on 0.9 successfully

11 years ago- add an exclusion for "floats to four decimals", backported from 0.9 and applies to
Mike Bayer [Fri, 27 Dec 2013 18:45:07 +0000 (13:45 -0500)] 
- add an exclusion for "floats to four decimals", backported from 0.9 and applies to
firebird

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

Conflicts:
test/requirements.py

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 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 agoRemove terminated connections from the pool.
John Anderson [Mon, 16 Dec 2013 20:50:10 +0000 (12:50 -0800)] 
Remove terminated connections from the pool.

In pymssql, if you terminate a long running query manually
it will give you a connection reset by peer message, but this
connection remains in the pool and will be re-used.

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 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 agoautoincrement here
Mike Bayer [Tue, 17 Dec 2013 21:28:43 +0000 (16:28 -0500)] 
autoincrement here

11 years ago- for [ticket:2651], leaving CheckConstraint alone, preferring to keep
Mike Bayer [Tue, 17 Dec 2013 00:32:10 +0000 (19:32 -0500)] 
- for [ticket:2651], leaving CheckConstraint alone, preferring to keep
backwards compatibility.  A note about backslashing escapes is added.
Because the Text() construct now supports bind params better, the example
given in the code raises an exception now, so that should cover us.
The exception itself has been enhanced to include the key name of the
bound param.  We're backporting this to 0.8 but 0.8 doesn't have the
text->bind behavior that raises.

Conflicts:
lib/sqlalchemy/sql/schema.py

11 years ago- An adjustment to the :func:`.subqueryload` strategy which ensures that
Mike Bayer [Tue, 17 Dec 2013 00:17:41 +0000 (19:17 -0500)] 
- An adjustment to the :func:`.subqueryload` strategy which ensures that
the query runs after the loading process has begun; this is so that
the subqueryload takes precedence over other loaders that may be
hitting the same attribute due to other eager/noload situations
at the wrong time. [ticket:2887]

11 years ago- fix up the FAQ regarding the "foo_id" issue
Mike Bayer [Mon, 16 Dec 2013 23:52:52 +0000 (18:52 -0500)] 
- fix up the FAQ regarding the "foo_id" issue
- add session object states to the glossary

Conflicts:
doc/build/glossary.rst

11 years ago- Fixed bug when using joined table inheritance from a table to a
Mike Bayer [Mon, 16 Dec 2013 20:25:48 +0000 (15:25 -0500)] 
- Fixed bug when using joined table inheritance from a table to a
select/alias on the base, where the PK columns were also not same
named; the persistence system would fail to copy primary key values
from the base table to the inherited table upon INSERT.
[ticket:2885]

11 years agowrong method name...
Mike Bayer [Mon, 16 Dec 2013 19:36:30 +0000 (14:36 -0500)] 
wrong method name...

11 years agoload_on_pending is different from enable_relationship_loading and should
Mike Bayer [Mon, 16 Dec 2013 01:06:27 +0000 (20:06 -0500)] 
load_on_pending is different from enable_relationship_loading and should
not be superseded.  both have a potential use.

Conflicts:
lib/sqlalchemy/orm/relationships.py

11 years agomake the error message for [ticket:2889] more accurate, as we support
Mike Bayer [Thu, 12 Dec 2013 18:36:25 +0000 (13:36 -0500)] 
make the error message for [ticket:2889] more accurate, as we support
composites to many-to-ones now also

11 years ago- :func:`.composite` will raise an informative error message when the
Mike Bayer [Thu, 12 Dec 2013 18:30:16 +0000 (13:30 -0500)] 
- :func:`.composite` will raise an informative error message when the
columns/attribute (names) passed don't resolve to a Column or mapped
attribute (such as an erroneous tuple); previously raised an unbound
local. [ticket:2889]

Conflicts:
test/orm/test_composites.py

11 years ago- Error message when a string arg sent to :func:`.relationship` which
Mike Bayer [Thu, 12 Dec 2013 17:49:57 +0000 (12:49 -0500)] 
- Error message when a string arg sent to :func:`.relationship` which
doesn't resolve to a class or mapper has been corrected to work
the same way as when a non-string arg is received, which indicates
the name of the relationship which had the configurational error.
[ticket:2888]

Conflicts:
lib/sqlalchemy/orm/relationships.py

11 years agosqlany dialect moves to github
Mike Bayer [Tue, 10 Dec 2013 01:56:10 +0000 (20:56 -0500)] 
sqlany dialect moves to github

Conflicts:
doc/build/dialects/index.rst

11 years agoMerge branch 'rel_0_8' of /Users/classic/dev/sqlalchemy into rel_0_8 rel_0_8_4
Mike Bayer [Sun, 8 Dec 2013 20:01:39 +0000 (15:01 -0500)] 
Merge branch 'rel_0_8' of /Users/classic/dev/sqlalchemy into rel_0_8

11 years agoforgot authors!!
Mike Bayer [Sun, 8 Dec 2013 20:00:12 +0000 (15:00 -0500)] 
forgot authors!!

11 years ago0.8.4 prep
Mike Bayer [Sun, 8 Dec 2013 19:56:30 +0000 (14:56 -0500)] 
0.8.4 prep

11 years agopython2.5 fix
Mike Bayer [Sun, 8 Dec 2013 17:54:44 +0000 (12:54 -0500)] 
python2.5 fix

11 years ago- documentation cleanup in ORM including [ticket:2816]
Mike Bayer [Sat, 7 Dec 2013 23:00:34 +0000 (18:00 -0500)] 
- documentation cleanup in ORM including [ticket:2816]

Conflicts:
lib/sqlalchemy/orm/mapper.py

11 years agospecify run as module here
Mike Bayer [Sat, 7 Dec 2013 22:37:36 +0000 (17:37 -0500)] 
specify run as module here

11 years ago- remove verbiage about "namespaces" from the dogpile example, [ticket:2862]
Mike Bayer [Sat, 7 Dec 2013 22:33:13 +0000 (17:33 -0500)] 
- remove verbiage about "namespaces" from the dogpile example, [ticket:2862]
- fix broken py2k/py3k isms

11 years ago- A DBAPI that raises an error on ``connect()`` which is not a subclass
Mike Bayer [Sat, 7 Dec 2013 22:20:05 +0000 (17:20 -0500)] 
- A DBAPI that raises an error on ``connect()`` which is not a subclass
of dbapi.Error (such as ``TypeError``, ``NotImplementedError``, etc.)
will propagate the exception unchanged.  Previously,
the error handling specific to the ``connect()`` routine would both
inappropriately run the exception through the dialect's
:meth:`.Dialect.is_disconnect` routine as well as wrap it in
a :class:`sqlalchemy.exc.DBAPIError`.  It is now propagated unchanged
in the same way as occurs within the execute process. [ticket:2881]
- add tests for this in test_parseconnect, but also add tests in test_execute
to ensure the execute() behavior as well

11 years ago- restore having the connection closed before decrementing the overflow counter
Mike Bayer [Sat, 7 Dec 2013 04:01:08 +0000 (23:01 -0500)] 
- restore having the connection closed before decrementing the overflow counter

11 years ago- The :class:`.QueuePool` has been enhanced to not block new connection
Mike Bayer [Sat, 7 Dec 2013 00:57:19 +0000 (19:57 -0500)] 
- The :class:`.QueuePool` has been enhanced to not block new connection
attempts when an existing connection attempt is blocking.  Previously,
the production of new connections was serialized within the block
that monitored overflow; the overflow counter is now altered within
it's own critical section outside of the connection process itself.
[ticket:2880]

11 years ago- Made a slight adjustment to the logic which waits for a pooled
Mike Bayer [Fri, 6 Dec 2013 20:53:59 +0000 (15:53 -0500)] 
- Made a slight adjustment to the logic which waits for a pooled
connection to be available, such that for a connection pool
with no timeout specified, it will every half a second break out of
the wait to check for the so-called "abort" flag, which allows the
waiter to break out in case the whole connection pool was dumped;
normally the waiter should break out due to a notify_all() but it's
possible this notify_all() is missed in very slim cases.
This is an extension of logic first introduced in 0.8.0, and the
issue has only been observed occasionally in stress tests.

11 years ago- changelog + test for pullreq #7, MSSQL dialect for DROP INDEX
Mike Bayer [Thu, 5 Dec 2013 23:36:59 +0000 (18:36 -0500)] 
- changelog + test for pullreq #7, MSSQL dialect for DROP INDEX

11 years agoFix MSSQL dialects visit_drop_index to use the correct DDL
donkopotamus [Thu, 5 Dec 2013 03:49:13 +0000 (16:49 +1300)] 
Fix MSSQL dialects visit_drop_index to use the correct DDL