Commit Graph

10240 Commits

Author SHA1 Message Date
Mike Bayer 6b79d2ea79 - The precision used when coercing a returned floating point value to
Python ``Decimal`` via string is now configurable.  The
flag ``decimal_return_scale`` is now supported by all :class:`.Numeric`
and :class:`.Float` types, which will ensure this many digits are taken
from the native floating point value when it is converted to string.
If not present, the type will make use of the value of ``.scale``, if
the type supports this setting and it is non-None.  Otherwise the original
default length of 10 is used. [ticket:2867]
2013-11-22 20:04:19 -05:00
Mike Bayer f112dc1d53 - Fixed bug where SQL statement would be improperly ASCII-encoded
when a pre-DBAPI :class:`.StatementError` were raised within
:meth:`.Connection.execute`, causing encoding errors for
non-ASCII statements.  The stringification now remains within
Python unicode thus avoiding encoding errors. [ticket:2871]
2013-11-22 18:35:36 -05:00
Mike Bayer 467784e89c Fixed bug where Oracle `VARCHAR` types given with no length
(e.g. for a ``CAST`` or similar) would incorrectly render ``None CHAR``
or similar. [ticket:2870]
2013-11-22 17:56:35 -05:00
Mike Bayer 6661cba88d - cleanup 2013-11-22 17:48:55 -05:00
Mike Bayer fcbaf666a9 something changed the name here, probably one of those doc pullreqs 2013-11-21 17:24:51 -05:00
Mike Bayer 9499b88f85 fix [ticket:2868] some more 2013-11-21 15:39:05 -05:00
Mike Bayer 5cdb5f1403 adjustment to work on py3k as well 2013-11-21 13:38:45 -05:00
Mike Bayer 2aa00c49d7 - Fixed bug which prevented the `serializer` extension from working
correctly with table or column names that contain non-ASCII
characters. [ticket:2869]
2013-11-21 13:30:32 -05:00
Mike Bayer 42fd77a4bf - Fixed a regression caused by 🎫2812 where the repr() for
table and column names would fail if the name contained non-ascii
characters. [ticket:2868]
2013-11-21 13:16:49 -05:00
Mike Bayer 13b6ddc823 break up behavioral changes into ORM and Core 2013-11-19 19:42:21 -05:00
Mike Bayer 02f21ffcf3 - The :class:.RowProxy object is now sortable in Python as a regular
tuple is; this is accomplished via ensuring tuple() conversion on
both sides within the ``__eq__()`` method as well as
the addition of a ``__lt__()`` method. [ticket:2848]
2013-11-19 19:29:18 -05:00
Mike Bayer 63508b82cd - The `viewonly flag on :func:.relationship` will now prevent
attribute history from being written on behalf of the target attribute.
This has the effect of the object not being written to the
Session.dirty list if it is mutated.  Previously, the object would
be present in Session.dirty, but no change would take place on behalf
of the modified attribute during flush.   The attribute still emits
events such as backref events and user-defined events and will still
receive mutations from backrefs. [ticket:2833]
2013-11-19 19:16:26 -05:00
Mike Bayer 452ce0c2e7 Added support for new :attr:.Session.info attribute to
:class:`.scoped_session`.
2013-11-19 14:21:20 -05:00
Vraj Mohan c8c88213a7 Fix cross references 2013-11-17 17:37:55 -05:00
Vraj Mohan 90d1f98f43 Generate API and resolve cross references 2013-11-17 17:37:55 -05:00
Vraj Mohan a62afc6229 Fix cross references 2013-11-17 17:37:55 -05:00
Vraj Mohan 4bc2869b24 Add API generation to resolve cross references 2013-11-17 17:37:55 -05:00
Vraj Mohan bf735f83b0 Add module documentation to resolve references 2013-11-17 17:37:55 -05:00
Vraj Mohan 539922f00c Remove reference to defunct class
We should probably reword this entirely as, IMHO, this should be in the
changelog and not in the doc proper (which should only describe the
current state of affairs).
2013-11-17 17:37:55 -05:00
Mike Bayer 1a809b300e - apply a timeout to all join() calls for test_pool
- use thread.join() for waiters_handled test
2013-11-17 14:35:11 -05:00
Mike Bayer c33ae55f5a Merge branch 'master' into rel_0_9 2013-11-17 13:50:52 -05:00
Mike Bayer 756f22182a name it with a dash 2013-11-17 13:50:42 -05:00
Mike Bayer a40fcdd31f Merge branch 'master' into rel_0_9 2013-11-17 13:45:57 -05:00
Mike Bayer 59ca4633ac - remove informix dialect, moved out to https://bitbucket.org/zzzeek/sqlalchemy_informixdb
- remove informix, maxdb, access symbols from tests etc.
2013-11-17 13:45:23 -05:00
Timur 216413d38f Fix sessionmaker.__repr__
A comma separating 'class_' from the other args. It's still there even when kw is empty, which is syntactically correct.
2013-11-16 03:45:59 +03:00
Mike Bayer 24d2cd0f59 Merge branch 'master' into rel_0_9 2013-11-14 22:11:58 -05:00
Mike Bayer d6545f7db7 sync up some changes for #2604 and #2607 from 0.7.10, 0.8.0b2 2013-11-14 22:11:22 -05:00
Mike Bayer 519efc9443 Merge branch 'master' into rel_0_9 2013-11-14 21:22:37 -05:00
Mike Bayer 7a3d3c050b Merge branch 'master' of github.com:vrajmohan/sqlalchemy into mm 2013-11-14 21:19:59 -05:00
Mike Bayer 1ef29ef752 Merge branch 'master' into rel_0_9 2013-11-14 21:19:20 -05:00
Mike Bayer 02a58b5112 do the wheel thing 2013-11-14 21:18:44 -05:00
Vraj Mohan 1a6dd8b393 Fix cross references 2013-11-14 17:42:55 -05:00
Vraj Mohan e7ee4ce162 Add undocumented members to resolve cross references 2013-11-14 15:34:05 -05:00
Vraj Mohan 218a3162f9 Fix method name 2013-11-14 14:31:38 -05:00
Vraj Mohan 2ebf91b63b Ensure API generation 2013-11-14 14:31:38 -05:00
Vraj Mohan f839c85c20 Remove references to (previously removed) AbstractType 2013-11-14 14:31:38 -05:00
Vraj Mohan a26af7d823 Import CTE so that API doc can be generated 2013-11-14 14:31:38 -05:00
Vraj Mohan caea88b37b Change CompileException references to ConpileError 2013-11-14 14:31:38 -05:00
Vraj Mohan fc64812bad Fix references to exceptions 2013-11-14 14:31:37 -05:00
Vraj Mohan d55193ce49 Ensure API generation of inherited members to resolve references 2013-11-14 14:31:37 -05:00
Vraj Mohan 24a4649930 Fix cross reference 2013-11-14 14:31:37 -05:00
Mario Lassnig 741da87384 added ORM support 2013-11-14 20:18:52 +01:00
Vraj Mohan 868e81a3f9 Ensure API generation 2013-11-14 10:02:28 -05:00
Vraj Mohan 63d628bbe4 Remove extra indentation 2013-11-14 09:18:15 -05:00
Vraj Mohan bb0531e86e Ensure API generation and fix cross references 2013-11-13 17:28:09 -05:00
Vraj Mohan 782a42abcb Fix cross-references in changelogs 2013-11-13 14:38:30 -05:00
Mike Bayer 61ca96e957 Merge branch 'master' into rel_0_9 2013-11-13 11:56:09 -05:00
Mike Bayer fefa2f5d57 Fixed bug where usage of new :class:.Bundle object would cause
the :attr:`.Query.column_descriptions` attribute to fail.
2013-11-13 11:55:54 -05:00
Vraj Mohan 6dc72a1355 Ensure API doc for make_url and resolve references 2013-11-13 09:40:17 -05:00
Vraj Mohan be303fe03f Suppress warnings about files not being included in any toctree 2013-11-13 08:46:19 -05:00