Commit Graph

10240 Commits

Author SHA1 Message Date
Mike Bayer a6825ff019 merge default 2013-05-01 10:10:09 -04:00
Mike Bayer 138a8ebfa2 - disable tests failing with pypy2, [ticket:2719] 2013-05-01 10:09:34 -04:00
Mike Bayer be523db4a2 merge default 2013-04-30 10:03:14 -04:00
Mike Bayer 0c4f0f8916 - Fixed a regression from 0.7 where the contextmanager feature
of :meth:`.Session.begin_nested` would fail to correctly
roll back the transaction when a flush error occurred, instead
raising its own exception while leaving the session still
pending a rollback.  [ticket:2718]
2013-04-30 10:02:49 -04:00
Mike Bayer 62eeb1bf26 missing comma 2013-04-30 00:15:36 -04:00
Mike Bayer e082ca503c merge default 2013-04-29 19:50:49 -04:00
Mike Bayer ba5ac0f2a5 bump 2013-04-29 19:49:59 -04:00
Mike Bayer eb431e4aa5 Updated mysqlconnector dialect to check for disconnect based
on the apparent string message sent in the exception; tested
against mysqlconnector 1.0.9.
2013-04-29 19:49:28 -04:00
Mike Bayer 093c322719 merge default 2013-04-29 19:28:29 -04:00
Mike Bayer 2cea98dfc5 - fix long-outdated documentation for sql_mode/ansiquotes,
closes [ticket:1552]
2013-04-29 19:21:44 -04:00
Mike Bayer 734376130f postgresql dialect tests 2013-04-28 16:27:23 -04:00
Mike Bayer 1321088644 no need for all these scripts, not worth maintaining 2013-04-28 15:02:44 -04:00
Mike Bayer a5c9907d40 don't need 2to3 2013-04-28 15:01:26 -04:00
Mike Bayer fc624dcfa4 - test_types, test_compiler, with sqlite at least 2013-04-28 14:44:21 -04:00
Mike Bayer 18370ac032 - endless isinstance(x, str)s.... 2013-04-28 14:08:28 -04:00
Mike Bayer d37431d7a5 result 2013-04-28 12:55:22 -04:00
Mike Bayer 1c647a879c cleanup 2013-04-27 21:01:54 -04:00
Mike Bayer 32e0a1624b import of "sqlalchemy" and "sqlalchemy.orm" works. 2013-04-27 20:58:13 -04:00
Mike Bayer c926f0a9d8 plugging away 2013-04-27 20:38:53 -04:00
Mike Bayer 2709ae4688 work through dialects 2013-04-27 20:02:24 -04:00
Mike Bayer 4b614b9b35 - the raw 2to3 run
- went through examples/ and cleaned out excess list() calls
2013-04-27 19:53:57 -04:00
Mike Bayer 9716a5c45e merge rel_0_8 2013-04-27 17:51:52 -04:00
Mike Bayer d9a9c250d2 Added tag rel_0_8_1 for changeset 2cf49d898d 2013-04-27 17:36:18 -04:00
Mike Bayer 2cf49d898d 0.8.1 rel_0_8_1 2013-04-27 17:27:13 -04:00
Mike Bayer c38c63fdbf merge default 2013-04-27 17:24:23 -04:00
Mike Bayer 8cdb4543bd modernize some more examples 2013-04-27 17:21:31 -04:00
Mike Bayer 5f51d409cc - add documentation note for [ticket:1841] 2013-04-27 15:35:13 -04:00
Mike Bayer 858332de0a the callcount went up here, still less than with no C extensions, not prepared
to worry about it too much
2013-04-26 19:51:25 -04:00
Mike Bayer 0a5737d9a8 oracle doesn't have TRUE/FALSE, put 1/0 here, see how that goes 2013-04-26 19:49:48 -04:00
Mike Bayer 9a1c505d32 need to test for (list, tuple) here and not hasattr("__iter__")
since Py3K strings have __iter__
2013-04-26 19:48:43 -04:00
Mike Bayer d3ca368921 fix here, was only failing in the py3k version 2013-04-26 19:45:06 -04:00
Mike Bayer 00f3fcd641 merge default 2013-04-26 15:51:45 -04:00
Mike Bayer e3a7015f89 Fixes to the `sqlalchemy.ext.serializer` extension, including
that the "id" passed from the pickler is turned into a string
to prevent against bytes being parsed on Py3K, as well as that
``relationship()`` and ``orm.join()`` constructs are now properly
serialized. [ticket:2698] and some other observed issues.
2013-04-26 15:51:29 -04:00
Mike Bayer 34dc02773b merge default 2013-04-26 15:04:54 -04:00
Mike Bayer 22c4ae0aaf changelog for [ticket:2714] 2013-04-26 15:04:42 -04:00
Mike Bayer 3e49ac5161 and a lot of tests. five fail without the change 2013-04-26 13:08:28 -04:00
Mike Bayer 8e66f41f69 - further cleanup. in particular, the left clause is never None. But we still
can have errors when we do the auto-join, these are both covered in test_joins
2013-04-25 14:44:37 -04:00
Mike Bayer e1d0356968 we can always adapt to right also. suppose if right
were an alias of a table, should add tests for that.
2013-04-25 14:29:48 -04:00
Mike Bayer 0ed0bdb2ae heh dont need that either 2013-04-25 14:16:54 -04:00
Mike Bayer 9506bbe82f dont need this 2013-04-25 14:14:23 -04:00
Mike Bayer 68b844df4f cleanup 2013-04-25 14:13:13 -04:00
Mike Bayer 6f05aa06bf everything passes with this!!!!!!! holy crap !!!!! and its the simplest of all 2013-04-25 13:54:40 -04:00
Mike Bayer 6372327097 - attempt to replace the whole idea of "join_to_left" with a more
fundamental and general purpose heuristic.   this initial approach
has about 60 tests failing but seems to have gone pretty far
2013-04-24 18:58:09 -04:00
Mike Bayer c3c9a3f701 break into multiple tests 2013-04-24 18:10:16 -04:00
Mike Bayer b25e11f6a8 formatting 2013-04-24 17:49:24 -04:00
Mike Bayer 7a26ad2ef1 - merge exists() patch + changelog 2013-04-23 20:06:04 -04:00
Mike Bayer 0f26f54919 merge default 2013-04-23 13:24:02 -04:00
Mike Bayer 77e0a5dffe Added a conditional to the unpickling process for ORM
mapped objects, such that if the reference to the object
were lost when the object was pickled, we don't
erroneously try to set up _sa_instance_state - fixes
a NoneType error.
2013-04-23 13:23:48 -04:00
Mike Bayer 7c8f977fc5 merge default 2013-04-23 13:07:50 -04:00
Mike Bayer 177ad548c4 - only search in the exception before the first newline, to avoid
false positives for SQL statements containing certain text
2013-04-23 13:07:36 -04:00