]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
11 years ago- workaround removal of nested() in py3k
Mike Bayer [Wed, 30 Jul 2014 16:50:38 +0000 (12:50 -0400)] 
- workaround removal of nested() in py3k

11 years ago- ensure all tests are named test_*
Mike Bayer [Wed, 30 Jul 2014 16:18:33 +0000 (12:18 -0400)] 
- ensure all tests are named test_*

11 years ago- fix unit test affected by #3075
Mike Bayer [Tue, 29 Jul 2014 23:09:48 +0000 (19:09 -0400)] 
- fix unit test affected by #3075

11 years agopep8 cleanup
Mike Bayer [Tue, 29 Jul 2014 18:17:29 +0000 (14:17 -0400)] 
pep8 cleanup

11 years ago- The exception wrapping system for DBAPI errors can now accommodate
Mike Bayer [Tue, 29 Jul 2014 18:06:43 +0000 (14:06 -0400)] 
- The exception wrapping system for DBAPI errors can now accommodate
non-standard DBAPI exceptions, such as the psycopg2
TransactionRollbackError.  These exceptions will now be raised
using the closest available subclass in ``sqlalchemy.exc``, in the
case of TransactionRollbackError, ``sqlalchemy.exc.OperationalError``.
fixes #3075

11 years ago- Fixed 0.9.7 regression caused by :ticket:`3067` in conjunction with
Mike Bayer [Tue, 29 Jul 2014 17:32:05 +0000 (13:32 -0400)] 
- Fixed 0.9.7 regression caused by :ticket:`3067` in conjunction with
a mis-named unit test such that so-called "schema" types like
:class:`.Boolean` and :class:`.Enum` could no longer be pickled.
fixes #3144

11 years ago- find the remaining not cleaning up correctly test
Mike Bayer [Mon, 28 Jul 2014 17:11:04 +0000 (13:11 -0400)] 
- find the remaining not cleaning up correctly test

11 years agofix test ordering issues
Mike Bayer [Mon, 28 Jul 2014 02:42:42 +0000 (22:42 -0400)] 
fix test ordering issues

11 years ago- rework the exclusions system to have much better support for compound
Mike Bayer [Sat, 26 Jul 2014 22:26:22 +0000 (18:26 -0400)] 
- rework the exclusions system to have much better support for compound
rules, better message formatting

11 years ago- fix whitespace
Mike Bayer [Sat, 26 Jul 2014 00:23:10 +0000 (20:23 -0400)] 
- fix whitespace

11 years ago- restore non_updating_cascade to test_manytomany_nonpassive, but also
Mike Bayer [Fri, 25 Jul 2014 22:51:44 +0000 (18:51 -0400)] 
- restore non_updating_cascade to test_manytomany_nonpassive, but also
add sane_multi_rowcount requirement, as pg8000 doesn't do "multi" row count.

11 years ago- more pg8000 tests passing
Mike Bayer [Fri, 25 Jul 2014 20:39:44 +0000 (16:39 -0400)] 
- more pg8000 tests passing

11 years agoPEP8 tidy of test/orm/test_dynamic.py
Tony Locke [Sat, 19 Jul 2014 19:19:27 +0000 (20:19 +0100)] 
PEP8 tidy of test/orm/test_dynamic.py

11 years agoFixes for pg8000 for test/orm/test_dynamic.py
Tony Locke [Sat, 19 Jul 2014 18:59:41 +0000 (19:59 +0100)] 
Fixes for pg8000 for test/orm/test_dynamic.py

11 years agoPEP8 tidy of test/orm/test_froms.py
Tony Locke [Sat, 19 Jul 2014 18:39:38 +0000 (19:39 +0100)] 
PEP8 tidy of test/orm/test_froms.py

11 years agoOpened test_self_referential for pg8000
Tony Locke [Sat, 19 Jul 2014 15:26:09 +0000 (16:26 +0100)] 
Opened test_self_referential for pg8000

The test orm/test_froms.py test_self_referential works with pg8000 now,
so I've opened it up.

11 years agoPEP8 tidy for test/orm/test_naturalpks.py
Tony Locke [Sat, 19 Jul 2014 15:16:09 +0000 (16:16 +0100)] 
PEP8 tidy for test/orm/test_naturalpks.py

11 years agoRemove requirement for manytomany_nonpassive
Tony Locke [Sat, 19 Jul 2014 14:26:43 +0000 (15:26 +0100)] 
Remove requirement for manytomany_nonpassive

Removed the non_updating_cascade requirement from
test_manytomany_nonpassive. This is because setting
passive_updates=False in a relationship should work on *all* dialects.

11 years agoPEP8 tidy of test/orm/test_query.py
Tony Locke [Mon, 14 Jul 2014 21:35:03 +0000 (22:35 +0100)] 
PEP8 tidy of test/orm/test_query.py

Conflicts:
test/orm/test_query.py

11 years agopg8000 passing test/orm/test_query.py
Tony Locke [Mon, 14 Jul 2014 19:28:18 +0000 (20:28 +0100)] 
pg8000 passing test/orm/test_query.py

Conflicts:
test/orm/test_query.py

11 years agoPEP8 tidy for test/orm/test_transaction.py
Tony Locke [Mon, 14 Jul 2014 18:15:21 +0000 (19:15 +0100)] 
PEP8 tidy for test/orm/test_transaction.py

11 years agoFix support for two phase commit in pg8000 dialect
Tony Locke [Sun, 13 Jul 2014 21:38:39 +0000 (22:38 +0100)] 
Fix support for two phase commit in pg8000 dialect

The postgresql base dialect has problems with two-phase commit because
there isn't a standard way of handling autocommit in DBAPI. This commit
modifies the pg8000 dialect to use the DBAPI tpc extension, which is
supported by pg8000 as of version 1.9.11.

11 years agoPEP8 tidy for test/orm/test_versioning.py
Tony Locke [Wed, 9 Jul 2014 20:47:04 +0000 (21:47 +0100)] 
PEP8 tidy for test/orm/test_versioning.py

11 years agoFix argument to array() in array._bind_param()
Andrew [Thu, 24 Jul 2014 05:56:50 +0000 (15:56 +1000)] 
Fix argument to array() in array._bind_param()

array.__init__() expects a list as its sole parameter but inside _bind_param(), instead of sending a list it's sending each item in the list as a separate argument which is incorrect.

11 years ago- Fixed bug in :class:`.postgresql.array` object where comparison
Mike Bayer [Fri, 25 Jul 2014 20:08:21 +0000 (16:08 -0400)] 
- Fixed bug in :class:`.postgresql.array` object where comparison
to a plain Python list would fail to use the correct array constructor.
Pull request courtesy Andrew.  fixes #3141

11 years ago- flake8 all of test/dialect/postgresql
Mike Bayer [Fri, 25 Jul 2014 20:04:35 +0000 (16:04 -0400)] 
- flake8 all of test/dialect/postgresql
- add __backend__ to most tests so that pg8000 can start coming in

11 years ago- use a variant with expected collation here for mysql
Mike Bayer [Fri, 25 Jul 2014 16:02:05 +0000 (12:02 -0400)] 
- use a variant with expected collation here for mysql

11 years ago- Added a supported :meth:`.FunctionElement.alias` method to functions,
Mike Bayer [Thu, 24 Jul 2014 18:33:50 +0000 (14:33 -0400)] 
- Added a supported :meth:`.FunctionElement.alias` method to functions,
e.g. the ``func`` construct.  Previously, behavior for this method
was undefined.  The current behavior mimics that of pre-0.9.4,
which is that the function is turned into a single-column FROM
clause with the given alias name, where the column itself is
anonymously named.
fixes #3137

11 years ago- start 0.9.8
Mike Bayer [Thu, 24 Jul 2014 18:06:57 +0000 (14:06 -0400)] 
- start 0.9.8

11 years ago0.9.7 rel_0_9_7
Mike Bayer [Tue, 22 Jul 2014 20:56:22 +0000 (16:56 -0400)] 
0.9.7

11 years ago- missing 0.8 change forwards port
Mike Bayer [Tue, 22 Jul 2014 20:52:32 +0000 (16:52 -0400)] 
- missing 0.8 change forwards port

11 years agospelling
Mike Bayer [Tue, 22 Jul 2014 20:36:59 +0000 (16:36 -0400)] 
spelling

11 years ago- ticket inline
Mike Bayer [Tue, 22 Jul 2014 20:25:58 +0000 (16:25 -0400)] 
- ticket inline

11 years ago- update some SQL server tests, support
Mike Bayer [Tue, 22 Jul 2014 17:41:47 +0000 (13:41 -0400)] 
- update some SQL server tests, support
- add support for IDENTITY INSERT setting for INSERT with inline VALUES

11 years ago- allow 10 stray connections that need a gc
Mike Bayer [Tue, 22 Jul 2014 16:54:39 +0000 (12:54 -0400)] 
- allow 10 stray connections that need a gc
- be specific as to what occurred when we collect stray gc

11 years ago- fix missing release date
Mike Bayer [Mon, 21 Jul 2014 21:24:51 +0000 (17:24 -0400)] 
- fix missing release date

11 years agoput a greater variance into this test to prevent sporadic failures
Mike Bayer [Mon, 21 Jul 2014 16:09:12 +0000 (12:09 -0400)] 
put a greater variance into this test to prevent sporadic failures

11 years ago- Fixed bug introduced in 0.9.5 by new pg8000 isolation level feature
Mike Bayer [Mon, 21 Jul 2014 15:58:44 +0000 (11:58 -0400)] 
- Fixed bug introduced in 0.9.5 by new pg8000 isolation level feature
where engine-level isolation level parameter would raise an error
on connect. fixes #3134

11 years agoFix doc gen on Windows platform
Bog [Sun, 20 Jul 2014 22:52:58 +0000 (00:52 +0200)] 
Fix doc gen on Windows platform

- replaced hardcoded ":" path separator with OS dependent one.

11 years ago- support args
Mike Bayer [Sun, 20 Jul 2014 19:34:08 +0000 (15:34 -0400)] 
- support args

11 years ago- apply pep8 formatting to sqlalchemy/sql, sqlalchemy/util, sqlalchemy/dialects,
Brian Jarrett [Sun, 20 Jul 2014 16:44:40 +0000 (12:44 -0400)] 
- apply pep8 formatting to sqlalchemy/sql, sqlalchemy/util, sqlalchemy/dialects,
sqlalchemy/orm, sqlalchemy/event, sqlalchemy/testing

Conflicts:
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/mysql/mysqldb.py
lib/sqlalchemy/dialects/oracle/base.py
lib/sqlalchemy/dialects/sybase/base.py
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/evaluator.py
lib/sqlalchemy/orm/identity.py
lib/sqlalchemy/orm/instrumentation.py
lib/sqlalchemy/orm/loading.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/orm/sync.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/selectable.py
lib/sqlalchemy/testing/requirements.py
lib/sqlalchemy/testing/suite/test_select.py

11 years ago- add E721
Mike Bayer [Fri, 18 Jul 2014 21:46:41 +0000 (17:46 -0400)] 
- add E721

11 years agoreformat test_types
Mike Bayer [Fri, 18 Jul 2014 21:46:19 +0000 (17:46 -0400)] 
reformat test_types

11 years ago- update the flake8 rules again
Mike Bayer [Fri, 18 Jul 2014 21:40:58 +0000 (17:40 -0400)] 
- update the flake8 rules again
- apply autopep8 + manual fixes to most of test/sql/

11 years ago- Fixed bug in oracle dialect test suite where in one test,
Mike Bayer [Fri, 18 Jul 2014 18:27:59 +0000 (14:27 -0400)] 
- Fixed bug in oracle dialect test suite where in one test,
'username' was assumed to be in the database URL, even though
this might not be the case.  Fixes #3128

11 years ago- also add the alternate approach, name column distinctly from attribute name,
Mike Bayer [Wed, 16 Jul 2014 19:24:32 +0000 (15:24 -0400)] 
- also add the alternate approach, name column distinctly from attribute name,
ref #3129

11 years ago- add a documentation section for naming conflicts, fixes #3129
Mike Bayer [Wed, 16 Jul 2014 19:17:25 +0000 (15:17 -0400)] 
- add a documentation section for naming conflicts, fixes #3129

11 years ago- reinstate E123, E125, E128
Mike Bayer [Wed, 16 Jul 2014 18:30:35 +0000 (14:30 -0400)] 
- reinstate E123, E125, E128
- edit strategies.py to conform

11 years ago- forwards-port changelog for ref #3093
Mike Bayer [Wed, 16 Jul 2014 17:43:57 +0000 (13:43 -0400)] 
- forwards-port changelog for ref #3093

11 years ago- use an odict here to ensure ordering of properties
Mike Bayer [Tue, 15 Jul 2014 22:59:44 +0000 (18:59 -0400)] 
- use an odict here to ensure ordering of properties

11 years ago- add a full env for pypy, name it funny to avoid hidden/undocumented
Mike Bayer [Tue, 15 Jul 2014 19:55:12 +0000 (15:55 -0400)] 
- add a full env for pypy, name it funny to avoid hidden/undocumented
tox behavior

11 years ago- fully flake8 this file
Mike Bayer [Tue, 15 Jul 2014 17:34:55 +0000 (13:34 -0400)] 
- fully flake8 this file

11 years ago- Fixed a regression caused by :ticket:`2976` released in 0.9.4 where
Mike Bayer [Tue, 15 Jul 2014 17:20:55 +0000 (13:20 -0400)] 
- Fixed a regression caused by :ticket:`2976` released in 0.9.4 where
the "outer join" propagation along a chain of joined eager loads
would incorrectly convert an "inner join" along a sibling join path
into an outer join as well, when only descendant paths should be
receiving the "outer join" propagation; additionally, fixed related
issue where "nested" join propagation would take place inappropriately
between two sibling join paths.

this is accomplished by re-introducing the removed flag "allow_innerjoin",
now inverted and named "chained_from_outerjoin".  Propagating this flag
allows us to know when we have encountered an outerjoin along a load
path, without confusing it for state obtained from a sibling path.

fixes #3131
ref #2976

11 years ago- Fixed a SQLite join rewriting issue where a subquery that is embedded
Mike Bayer [Tue, 15 Jul 2014 16:25:38 +0000 (12:25 -0400)] 
- Fixed a SQLite join rewriting issue where a subquery that is embedded
as a scalar subquery such as within an IN would receive inappropriate
substitutions from the enclosing query, if the same table were present
inside the subquery as were in the enclosing query such as in a
joined inheritance scenario.
fixes #3130

11 years ago- wrestle with conv() and tests some more
Mike Bayer [Tue, 15 Jul 2014 02:44:33 +0000 (22:44 -0400)] 
- wrestle with conv() and tests some more

11 years ago- allow the compilation rule that gets the formatted name
Mike Bayer [Tue, 15 Jul 2014 01:11:16 +0000 (21:11 -0400)] 
- allow the compilation rule that gets the formatted name
to again have the chance to veto rendering, as the naming convention
can make the decision that the name is "none" or not now.

11 years ago- Fix bug in naming convention feature where using a check
Mike Bayer [Tue, 15 Jul 2014 00:26:38 +0000 (20:26 -0400)] 
- Fix bug in naming convention feature where using a check
constraint convention that includes ``constraint_name`` would
then force all :class:`.Boolean` and :class:`.Enum` types to
require names as well, as these implicitly create a
constraint, even if the ultimate target backend were one that does
not require generation of the constraint such as Postgresql.
The mechanics of naming conventions for these particular
constraints has been reorganized such that the naming
determination is done at DDL compile time, rather than at
constraint/table construction time.
fixes #3067

11 years ago- Fixed a regression from 0.9.5 caused by :ticket:`3025` where the
Mike Bayer [Mon, 14 Jul 2014 23:16:11 +0000 (19:16 -0400)] 
- Fixed a regression from 0.9.5 caused by :ticket:`3025` where the
query used to determine "default schema" is invalid in SQL Server 2000.
For SQL Server 2000 we go back to defaulting to the "schema name"
parameter of the dialect, which is configurable but defaults
to 'dbo'. fixes #3025

11 years ago- Added statement encoding to the "SET IDENTITY_INSERT"
Mike Bayer [Mon, 14 Jul 2014 23:02:20 +0000 (19:02 -0400)] 
- Added statement encoding to the "SET IDENTITY_INSERT"
statements which operate when an explicit INSERT is being
interjected into an IDENTITY column, to support non-ascii table
identifiers on drivers such as pyodbc + unix + py2k that don't
support unicode statements.
ref #3091 as this fix is also in that issue's patch, but is
a different issue.

11 years ago- In the SQL Server pyodbc dialect, repaired the implementation
Mike Bayer [Mon, 14 Jul 2014 22:54:23 +0000 (18:54 -0400)] 
- In the SQL Server pyodbc dialect, repaired the implementation
for the ``description_encoding`` dialect parameter, which when
not explicitly set was preventing  cursor.description from
being parsed correctly in the case of result sets that
contained names in alternate encodings.  This parameter
shouldn't be needed going forward.
fixes #3091

11 years ago- Fixed a regression from 0.9.0 due to :ticket:`2736` where the
Mike Bayer [Mon, 14 Jul 2014 22:49:06 +0000 (18:49 -0400)] 
- Fixed a regression from 0.9.0 due to :ticket:`2736` where the
:meth:`.Query.select_from` method no longer set up the "from
entity" of the :class:`.Query` object correctly, so that
subsequent :meth:`.Query.filter_by` or :meth:`.Query.join`
calls would fail to check the appropriate "from" entity when
searching for attributes by string name.
fixes #3083

11 years ago -Fixed bug in common table expressions whereby positional bound
Mike Bayer [Mon, 14 Jul 2014 22:34:32 +0000 (18:34 -0400)] 
 -Fixed bug in common table expressions whereby positional bound
parameters could be expressed in the wrong final order
when CTEs were nested in certain ways.
fixes #3090

11 years ago- Fixed bug where multi-valued :class:`.Insert` construct would fail
Mike Bayer [Mon, 14 Jul 2014 22:28:07 +0000 (18:28 -0400)] 
- Fixed bug where multi-valued :class:`.Insert` construct would fail
to check subsequent values entries beyond the first one given
for literal SQL expressions.
fixes #3069

11 years agoneed a 1.0.0 here
Mike Bayer [Mon, 14 Jul 2014 22:10:34 +0000 (18:10 -0400)] 
need a 1.0.0 here

11 years ago- Added a "str()" step to the dialect_kwargs iteration for
Mike Bayer [Mon, 14 Jul 2014 22:09:54 +0000 (18:09 -0400)] 
- Added a "str()" step to the dialect_kwargs iteration for
Python version < 2.6.5, working around the
"no unicode keyword arg" bug as these args are passed along as
keyword args within some reflection processes.
fixes #3123

11 years ago- add some order bys
Mike Bayer [Mon, 14 Jul 2014 20:31:16 +0000 (16:31 -0400)] 
- add some order bys

11 years ago- ensure usedevelop is present so that C exts are in the tests
Mike Bayer [Mon, 14 Jul 2014 15:33:27 +0000 (11:33 -0400)] 
- ensure usedevelop is present so that C exts are in the tests

11 years ago- adjust this to work on PG also
Mike Bayer [Mon, 14 Jul 2014 03:59:12 +0000 (23:59 -0400)] 
- adjust this to work on PG also

11 years agoPEP8 style fixes
Brian Jarrett [Thu, 10 Jul 2014 22:28:49 +0000 (16:28 -0600)] 
PEP8 style fixes

11 years ago- Fixed bug in :class:`.Enum` and other :class:`.SchemaType`
Mike Bayer [Sun, 13 Jul 2014 22:55:18 +0000 (18:55 -0400)] 
- Fixed bug in :class:`.Enum` and other :class:`.SchemaType`
subclasses where direct association of the type with a
:class:`.MetaData` would lead to a hang when events
(like create events) were emitted on the :class:`.MetaData`.
fixes #3124

Conflicts:
test/sql/test_types.py

11 years agoupdate test runners to be module-based
Mike Bayer [Fri, 11 Jul 2014 00:41:48 +0000 (20:41 -0400)] 
update test runners to be module-based

11 years agoOK use tox
Mike Bayer [Fri, 11 Jul 2014 00:06:47 +0000 (20:06 -0400)] 
OK use tox

11 years agofixed style to conform to PEP8
Brian Jarrett [Thu, 10 Jul 2014 22:28:49 +0000 (16:28 -0600)] 
fixed style to conform to PEP8

11 years ago- determine the root cause of the mysqlconnector issue, report
Mike Bayer [Thu, 10 Jul 2014 20:10:46 +0000 (16:10 -0400)] 
- determine the root cause of the mysqlconnector issue, report
it and move on

11 years ago- mark tests failing for mysqlconnector, oursql
Mike Bayer [Thu, 10 Jul 2014 15:47:31 +0000 (11:47 -0400)] 
- mark tests failing for mysqlconnector, oursql

Conflicts:
test/dialect/mysql/test_types.py

11 years ago- The :meth:`.TypeEngine.with_variant` method will now accept a
Mike Bayer [Thu, 10 Jul 2014 15:26:13 +0000 (11:26 -0400)] 
- The :meth:`.TypeEngine.with_variant` method will now accept a
type class as an argument which is internally converted to an
instance, using the same convention long established by other
constructs such as :class:`.Column`. fixes #3122

11 years ago- break up the <authors> copyright comment as part of a pass
Mike Bayer [Wed, 9 Jul 2014 22:29:17 +0000 (18:29 -0400)] 
- break up the <authors> copyright comment as part of a pass
  to get all flake8 passing

11 years ago- support __only_on__ and __backend__ at the same time
Mike Bayer [Wed, 9 Jul 2014 22:12:32 +0000 (18:12 -0400)] 
- support __only_on__ and __backend__ at the same time

Conflicts:
test/dialect/mysql/test_types.py

11 years ago- Fixed bug where "python setup.py test" wasn't calling into
Mike Bayer [Wed, 9 Jul 2014 19:50:17 +0000 (15:50 -0400)] 
- Fixed bug where "python setup.py test" wasn't calling into
distutils appropriately, and errors would be emitted at the end
of the test suite.

Conflicts:
doc/build/changelog/changelog_09.rst

11 years ago-do an autoflake8 here
Mike Bayer [Tue, 8 Jul 2014 23:22:44 +0000 (19:22 -0400)] 
-do an autoflake8 here

11 years ago- The "evaulator" for query.update()/delete() won't work with multi-table
Mike Bayer [Tue, 8 Jul 2014 23:17:45 +0000 (19:17 -0400)] 
- The "evaulator" for query.update()/delete() won't work with multi-table
updates, and needs to be set to `synchronize_session=False` or
`synchronize_session='fetch'`; this is a warning in 0.9.7, an
exception in 1.0.

fixes #3117

11 years agoPEP8 tidy of subset of test/sql/*.py
Tony Locke [Mon, 23 Jun 2014 21:34:01 +0000 (22:34 +0100)] 
PEP8 tidy of subset of test/sql/*.py

11 years agopg8000 passing test/sql
Tony Locke [Mon, 23 Jun 2014 19:45:16 +0000 (20:45 +0100)] 
pg8000 passing test/sql

11 years ago- add postgresql_regconfig argument to PG dialect for match() operator,
jonathan vanasco [Tue, 10 Jun 2014 22:56:27 +0000 (18:56 -0400)] 
- add postgresql_regconfig argument to PG dialect for match() operator,
implements PG's to_tsquery('regconfig', 'arg') pattern. fixes #3078

11 years agodocument JSONB
Mike Bayer [Mon, 7 Jul 2014 21:59:47 +0000 (17:59 -0400)] 
document JSONB

11 years agochangelog
Mike Bayer [Mon, 7 Jul 2014 14:42:19 +0000 (10:42 -0400)] 
changelog

11 years agoMerge pull request #101 from ddimmich/master
mike bayer [Mon, 7 Jul 2014 14:40:03 +0000 (10:40 -0400)] 
Merge pull request #101 from ddimmich/master

Postgres 9.4 Jsonb support

11 years agotypo: s/tranasction/transaction
Priit Laes [Sat, 28 Jun 2014 09:46:46 +0000 (12:46 +0300)] 
typo: s/tranasction/transaction

Conflicts:
test/engine/test_transaction.py

11 years agotypo: s/founds/found
Priit Laes [Sat, 28 Jun 2014 09:45:35 +0000 (12:45 +0300)] 
typo: s/founds/found

11 years agotypo: s/thbe/the
Priit Laes [Sat, 28 Jun 2014 09:47:19 +0000 (12:47 +0300)] 
typo: s/thbe/the

Conflicts:
test/engine/test_transaction.py

11 years agochangelog, fixes #3093
Mike Bayer [Sun, 6 Jul 2014 21:16:26 +0000 (17:16 -0400)] 
changelog, fixes #3093

11 years agoReturn the assigned value in MultableDict.setdefault
Thomas Herve [Tue, 24 Jun 2014 07:55:53 +0000 (09:55 +0200)] 
Return the assigned value in MultableDict.setdefault

11 years agoadd pg8000
Mike Bayer [Sun, 6 Jul 2014 21:00:38 +0000 (17:00 -0400)] 
add pg8000

11 years agopg8000 passing test/sql/test_types.py
Tony Locke [Mon, 23 Jun 2014 19:45:16 +0000 (20:45 +0100)] 
pg8000 passing test/sql/test_types.py

Opened up two tests that now pass with pg8000. Also, rewrote two tests
to use actual tables rather than having a round trip in a single select
statement. This is necessary for pg8000 because it sends strings to the
server with type 'unknown' and lets the server work out the type.

11 years ago- changelog
Mike Bayer [Sun, 6 Jul 2014 20:55:28 +0000 (16:55 -0400)] 
- changelog

11 years ago- Fixed support for multivalue inserts for MS SQL 2008 since it is actually supported.
Albert Cervin [Mon, 16 Jun 2014 09:13:18 +0000 (11:13 +0200)] 
- Fixed support for multivalue inserts for MS SQL 2008 since it is actually supported.

11 years ago- add test support for disconnect modification
Mike Bayer [Fri, 4 Jul 2014 20:49:11 +0000 (16:49 -0400)] 
- add test support for disconnect modification

11 years ago- clarify that the pg8000 backend has no impact of any kind on
Mike Bayer [Fri, 4 Jul 2014 19:49:01 +0000 (15:49 -0400)] 
- clarify that the pg8000 backend has no impact of any kind on
the pg8000 DBAPI's encoding behavior, fixes #3112.

11 years ago- rework the entire approach to #3076. As we need to catch all exceptions
Mike Bayer [Fri, 4 Jul 2014 19:40:47 +0000 (15:40 -0400)] 
- rework the entire approach to #3076. As we need to catch all exceptions
in all cases unconditionally, the number of use cases that go beyond what
dbapi_error() is expecting has gone too far for an 0.9 release.
Additionally, the number of things we'd like to track is really a lot
more than the five arguments here, and ExecutionContext is really not
suitable as totally public API for this.   So restore dbapi_error
to its old version, deprecate, and build out handle_error instead.
This is a lot more extensible and doesn't get in the way of anything
compatibility-wise.

11 years ago- Added new attributes :attr:`.ExecutionContext.exception` and
Mike Bayer [Fri, 4 Jul 2014 01:49:10 +0000 (21:49 -0400)] 
- Added new attributes :attr:`.ExecutionContext.exception` and
:attr:`.ExecutionContext.is_disconnect` which are meaningful within
the :meth:`.ConnectionEvents.dbapi_error` handler to see both the
original DBAPI error as well as whether or not it represents
a disconnect.