]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
12 years agoMerge pull request #23 from yoloseem/master
mike bayer [Sun, 25 Aug 2013 16:08:00 +0000 (09:08 -0700)] 
Merge pull request #23 from yoloseem/master

Fixed two typos.

12 years agofix typos
Hyunjun Kim [Sat, 24 Aug 2013 16:59:47 +0000 (01:59 +0900)] 
fix typos

12 years ago- The :class:`.CreateColumn` construct can be appled to a custom
Mike Bayer [Sat, 24 Aug 2013 17:55:14 +0000 (13:55 -0400)] 
- The :class:`.CreateColumn` construct can be appled to a custom
compilation rule which allows skipping of columns, by producing
a rule that returns ``None``.  Also in 0.8.3.

12 years ago- "primary mapper entity" is now an attribute on Query,
Mike Bayer [Sat, 24 Aug 2013 15:27:44 +0000 (11:27 -0400)] 
- "primary mapper entity" is now an attribute on Query,
making _MapperEntity slightly less dependent on a particular parent
Query (in theory more shareable by multiple Query objects in different contexts)
- remove some comments that have been misunderstanding what _mapper_entities
does, or perhaps forgot to get removed
- simplify _mapper_entities

12 years agoformatting
Mike Bayer [Fri, 23 Aug 2013 22:58:09 +0000 (18:58 -0400)] 
formatting

12 years ago- update the test times, include pypy, clean up the script
Mike Bayer [Wed, 21 Aug 2013 23:18:18 +0000 (19:18 -0400)] 
- update the test times, include pypy, clean up the script

12 years agoadd FAQ entry on large inserts
Mike Bayer [Wed, 21 Aug 2013 23:09:01 +0000 (19:09 -0400)] 
add FAQ entry on large inserts

12 years agofix link
Mike Bayer [Wed, 21 Aug 2013 22:57:00 +0000 (18:57 -0400)] 
fix link

12 years agomove FAQ to the docs, [ticket:2133]
Mike Bayer [Wed, 21 Aug 2013 22:48:34 +0000 (18:48 -0400)] 
move FAQ to the docs, [ticket:2133]

12 years agoyikes return the modname if no lookup found...
Mike Bayer [Wed, 21 Aug 2013 21:14:04 +0000 (17:14 -0400)] 
yikes return the modname if no lookup found...

12 years agoFixed bug where list instrumentation would fail to represent a
Mike Bayer [Tue, 20 Aug 2013 17:27:27 +0000 (13:27 -0400)] 
Fixed bug where list instrumentation would fail to represent a
setslice of ``[0:0]`` correctly, which in particular could occur
when using ``insert(0, item)`` with the association proxy.  Due
to some quirk in Python collections, the issue was much more likely
with Python 3 rather than 2.  Also in 0.8.3, 0.7.11.
[ticket:2807]

12 years agotoo small!
Mike Bayer [Mon, 19 Aug 2013 01:29:49 +0000 (21:29 -0400)] 
too small!

12 years agoadd some height
Mike Bayer [Mon, 19 Aug 2013 00:49:07 +0000 (20:49 -0400)] 
add some height

12 years agoadditoinal
Mike Bayer [Sun, 18 Aug 2013 22:16:40 +0000 (18:16 -0400)] 
additoinal

12 years ago- reorganize docs so expression, schema are broken out into subfiles, they're too big
Mike Bayer [Sun, 18 Aug 2013 22:01:27 +0000 (18:01 -0400)] 
- reorganize docs so expression, schema are broken out into subfiles, they're too big
- fix the targeting of module names moved around by using custom handlers for "Bases", etc.

12 years agoand we don't need weakset
Mike Bayer [Sun, 18 Aug 2013 20:16:25 +0000 (16:16 -0400)] 
and we don't need weakset

12 years ago0.9 needs 0.8's changelog also.....
Mike Bayer [Sun, 18 Aug 2013 20:11:15 +0000 (16:11 -0400)] 
0.9 needs 0.8's changelog also.....

12 years ago- use newly fixed WeakSequence (#2794) to not have to rely on class name for sorting...
Mike Bayer [Sun, 18 Aug 2013 20:09:17 +0000 (16:09 -0400)] 
- use newly fixed WeakSequence (#2794) to not have to rely on class name for sorting in #2779

12 years ago- add WeakSequence.append()
Mike Bayer [Sun, 18 Aug 2013 20:05:38 +0000 (16:05 -0400)] 
- add WeakSequence.append()
- fix and test weakref cleanout for WeakSequence, [ticket:2794]

12 years agoformatting
Mike Bayer [Sun, 18 Aug 2013 19:53:16 +0000 (15:53 -0400)] 
formatting

12 years agoFixed a potential issue in an ordered sequence implementation used
Mike Bayer [Sun, 18 Aug 2013 19:34:23 +0000 (15:34 -0400)] 
Fixed a potential issue in an ordered sequence implementation used
by the ORM to iterate mapper hierarchies; under the Jython interpreter
this implementation wasn't ordered, even though cPython and Pypy
maintained ordering.  Also in 0.8.3.
[ticket:2794]

12 years ago- also do delete, add seealsos, formatting, etc. [ticket:2798]
Mike Bayer [Sun, 18 Aug 2013 19:15:38 +0000 (15:15 -0400)] 
- also do delete, add seealsos, formatting, etc. [ticket:2798]

12 years ago- add better notes to query.update(), most notably how to deal with a joined table
Mike Bayer [Sun, 18 Aug 2013 19:01:59 +0000 (15:01 -0400)] 
- add better notes to query.update(), most notably how to deal with a joined table
update, [ticket:2798]

12 years agoFixed regression dating back to 0.7.9 whereby the name of a CTE might
Mike Bayer [Sun, 18 Aug 2013 18:46:04 +0000 (14:46 -0400)] 
Fixed regression dating back to 0.7.9 whereby the name of a CTE might
not be properly quoted if it was referred to in multiple FROM clauses.
Also in 0.8.3, 0.7.11. [ticket:2801]

12 years agomore tests regarding expiry, deferral
Mike Bayer [Sat, 17 Aug 2013 19:26:45 +0000 (15:26 -0400)] 
more tests regarding expiry, deferral

12 years agosome tests regarding how newly inserted rows are treated as far as fetch on access
Mike Bayer [Sat, 17 Aug 2013 18:58:02 +0000 (14:58 -0400)] 
some tests regarding how newly inserted rows are treated as far as fetch on access

12 years ago- spot checking of imports, obsolete functions
Mike Bayer [Sat, 17 Aug 2013 16:14:58 +0000 (12:14 -0400)] 
- spot checking of imports, obsolete functions

12 years agoImproved support for the cymysql driver, supporting version 0.6.5,
Mike Bayer [Sat, 17 Aug 2013 04:31:57 +0000 (00:31 -0400)] 
Improved support for the cymysql driver, supporting version 0.6.5,
courtesy Hajime Nakagami.

12 years ago0.8 changelog
Mike Bayer [Sat, 17 Aug 2013 04:23:37 +0000 (00:23 -0400)] 
0.8 changelog

12 years ago- changelog
Mike Bayer [Sat, 17 Aug 2013 04:20:46 +0000 (00:20 -0400)] 
- changelog
- clean up these tests to not use globals so much, close out the session

12 years agoMerged in prschmid/sqlalchemy (pull request #4)
Mike Bayer [Sat, 17 Aug 2013 04:12:59 +0000 (00:12 -0400)] 
Merged in prschmid/sqlalchemy (pull request #4)

Made primary_key autoincrement=False in versioning example.

12 years agoMerged in bacher09/sqlalchemy (pull request #5)
Mike Bayer [Sat, 17 Aug 2013 04:05:19 +0000 (00:05 -0400)] 
Merged in bacher09/sqlalchemy (pull request #5)

Fix typo in comparator_factory example

12 years agomerge error here, though also hedge between explaining about the expressions here vs.
Mike Bayer [Fri, 16 Aug 2013 14:03:05 +0000 (10:03 -0400)] 
merge error here, though also hedge between explaining about the expressions here vs.
hoping they read the class-level docstring

12 years ago- apply an import refactoring to the ORM as well
Mike Bayer [Wed, 14 Aug 2013 23:58:34 +0000 (19:58 -0400)] 
- apply an import refactoring to the ORM as well
- rework the event system so that event modules load after their
targets, dependencies are reversed
- create an improved strategy lookup system for the ORM
- rework the ORM to have very few import cycles
- move out "importlater" to just util.dependency
- other tricks to cross-populate modules in as clear a way as possible

12 years agofix missing savepoint structures
Mike Bayer [Mon, 12 Aug 2013 23:39:26 +0000 (19:39 -0400)] 
fix missing savepoint structures

12 years ago- header comments
Mike Bayer [Mon, 12 Aug 2013 21:56:11 +0000 (17:56 -0400)] 
- header comments

12 years ago- A large refactoring of the ``sqlalchemy.sql`` package has reorganized
Mike Bayer [Mon, 12 Aug 2013 21:50:37 +0000 (17:50 -0400)] 
- A large refactoring of the ``sqlalchemy.sql`` package has reorganized
the import structure of many core modules.
``sqlalchemy.schema`` and ``sqlalchemy.types``
remain in the top-level package, but are now just lists of names
that pull from within ``sqlalchemy.sql``.  Their implementations
are now broken out among ``sqlalchemy.sql.type_api``, ``sqlalchemy.sql.sqltypes``,
``sqlalchemy.sql.schema`` and ``sqlalchemy.sql.ddl``, the last of which was
moved from ``sqlalchemy.engine``.  ``sqlalchemy.sql.expression`` is also
a namespace now which pulls implementations mostly from ``sqlalchemy.sql.elements``,
``sqlalchemy.sql.selectable``, and ``sqlalchemy.sql.dml``.
Most of the "factory" functions
used to create SQL expression objects have been moved to classmethods
or constructors, which are exposed in ``sqlalchemy.sql.expression``
using a programmatic system.  Care has been taken such that all the
original import namespaces remain intact and there should be no impact
on any existing applications.   The rationale here was to break out these
very large modules into smaller ones, provide more manageable lists
of function names, to greatly reduce "import cycles" and clarify the
up-front importing of names, and to remove the need for redundant
functions and documentation throughout the expression package.

12 years agoadd some more detail about concurrency
Mike Bayer [Mon, 12 Aug 2013 18:20:01 +0000 (14:20 -0400)] 
add some more detail about concurrency

12 years ago- more "when do i create the session" docs, get specific
Mike Bayer [Mon, 12 Aug 2013 15:33:17 +0000 (11:33 -0400)] 
- more "when do i create the session" docs, get specific
- more glossary terms
- turn the session FAQ into rst sections at last

12 years agoadd more docs to index, even though this seems to be a little redundant
Mike Bayer [Sun, 11 Aug 2013 06:22:36 +0000 (02:22 -0400)] 
add more docs to index, even though this seems to be a little redundant

12 years agoFix typo in comparator_factory example
Slava Bacherikov [Fri, 9 Aug 2013 14:16:59 +0000 (17:16 +0300)] 
Fix typo in comparator_factory example

12 years agoMerge pull request #21 from svrin/patch-1
mike bayer [Thu, 8 Aug 2013 20:39:23 +0000 (13:39 -0700)] 
Merge pull request #21 from svrin/patch-1

Typo in engines.rst

12 years agoTypo
Severin Orth [Thu, 8 Aug 2013 00:09:42 +0000 (10:09 +1000)] 
Typo

12 years ago- The :meth:`.Operators.notin_` operator added in 0.8 now properly
Mike Bayer [Wed, 7 Aug 2013 18:28:45 +0000 (13:28 -0500)] 
- The :meth:`.Operators.notin_` operator added in 0.8 now properly
produces the negation of the expression "IN" returns
when used against an empty collection.  Also in 0.8.3.

12 years agook forget it, that approach didn't really cover every base, so
Mike Bayer [Sun, 4 Aug 2013 20:21:37 +0000 (16:21 -0400)] 
ok forget it, that approach didn't really cover every base, so
we are pretty much back to the beginning, nothing to see here

12 years agofind some more inline imports and move them out
Mike Bayer [Sun, 4 Aug 2013 19:28:40 +0000 (15:28 -0400)] 
find some more inline imports and move them out

12 years ago- add predictable_gc to a few more tests showing up on pypy
Mike Bayer [Sun, 4 Aug 2013 19:11:17 +0000 (15:11 -0400)] 
- add predictable_gc to a few more tests showing up on pypy

12 years ago- don't need resolve, don't need import for this. just look in sys.modules,
Mike Bayer [Sun, 4 Aug 2013 19:03:50 +0000 (15:03 -0400)] 
- don't need resolve, don't need import for this.  just look in sys.modules,
since we are dealing with cycles in any case.

12 years agotweaks
Mike Bayer [Fri, 2 Aug 2013 22:29:25 +0000 (18:29 -0400)] 
tweaks

12 years ago- after discussions with the original project folks working with zope security
Mike Bayer [Fri, 2 Aug 2013 22:21:02 +0000 (18:21 -0400)] 
- after discussions with the original project folks working with zope security
proxies, they aren't overriding getattr() or setattr() at all.  so all the
hardcoded getattr()/setattr() is removed from collections.py.   Lots of these
getattr/setattr were against the attributeimpl and decorated functions
and don't seem like they'd ever be needed; for a user that needs special access
to a collection, we can evaulate that use case and add a single point of
"unwrapping", and probably add a hook for it via
InstrumentationManager so that the collection implementation isn't complicated
by it.

12 years agorework the test here to suit 0.8/0.9 mostly, include time tests
Mike Bayer [Fri, 2 Aug 2013 21:37:59 +0000 (17:37 -0400)] 
rework the test here to suit 0.8/0.9 mostly, include time tests

12 years agoa missing cursor.close() here caused a *huge* amount of weird locking issues with...
Mike Bayer [Fri, 2 Aug 2013 17:27:30 +0000 (13:27 -0400)] 
a missing cursor.close()  here caused a *huge* amount of weird locking issues with pypy,
what is strange is how it only occurred in some very specific places under very
particular conditions, perhaps it has to do with whether or not this cursor gets
gc'ed or not.

12 years ago- add a clear() to SetIsh here so that the control/direct gets cleared
Mike Bayer [Fri, 2 Aug 2013 17:01:32 +0000 (13:01 -0400)] 
- add a clear() to SetIsh here so that the control/direct gets cleared
before we do the pop() test.
- make clear()/pop() test unconditional

12 years agoAdded a new attribute :attr:`.Session.info` to :class:`.Session`;
Mike Bayer [Fri, 2 Aug 2013 16:39:29 +0000 (12:39 -0400)] 
Added a new attribute :attr:`.Session.info` to :class:`.Session`;
this is a dictionary where applications can store arbitrary
data local to a :class:`.Session`.
The contents of :attr:`.Session.info` can be also be initialized
using the ``info`` argument of :class:`.Session` or
:class:`.sessionmaker`.

12 years ago- assorted fixes raised by pypy 2.1beta2, but all of which are good
Mike Bayer [Fri, 2 Aug 2013 00:25:56 +0000 (20:25 -0400)] 
- assorted fixes raised by pypy 2.1beta2, but all of which are good
ideas in general:
  - pypy2.1 w/ sqlite3 is the first DBAPI we're seeing returning
    unicode in cursor.description without being py3k.  add a new on-connect
    check for this, if we get back a u"", just don't do description decoding,
    should be OK for now.
  - the set tests in test_collection were assuming the two sets would be ordered
    the same when it tested pop(), can't really assume that.
  - test_serializer gets worse and worse, pickle is just not really viable here,
    ding out pypy
  - pypy2.1b2 seems to allow cursor.lastrowid to work (or we changed something?)
  - pool._threadconns.current() is a weakref, it can be None
  - another one of those logging.handlers imports

12 years agoUpdates to MySQL reserved words for versions 5.5, 5.6, courtesy
Mike Bayer [Thu, 1 Aug 2013 01:05:33 +0000 (21:05 -0400)] 
Updates to MySQL reserved words for versions 5.5, 5.6, courtesy
Hanno Schlichting.  Also in 0.8.3, 0.7.11.
[ticket:2791]

12 years agofix missing comma
Mike Bayer [Wed, 31 Jul 2013 23:07:13 +0000 (19:07 -0400)] 
fix missing comma

12 years ago- update ORM event docs to include that you can listen on an unmapped base,
Mike Bayer [Wed, 31 Jul 2013 23:05:58 +0000 (19:05 -0400)] 
- update ORM event docs to include that you can listen on an unmapped base,
[ticket:2777]

12 years agofix changelog
Mike Bayer [Wed, 31 Jul 2013 22:50:16 +0000 (18:50 -0400)] 
fix changelog

12 years ago- Fixed bug in common table expression system where if the CTE were
Mike Bayer [Wed, 31 Jul 2013 22:42:58 +0000 (18:42 -0400)] 
- Fixed bug in common table expression system where if the CTE were
used only as an ``alias()`` construct, it would not render using the
WITH keyword.  Also in 0.8.3, 0.7.11.
[ticket:2783]

12 years agoMade primary_key autoincrement=False in versioning example.
Patrick R. Schmid [Wed, 31 Jul 2013 21:12:40 +0000 (17:12 -0400)] 
Made primary_key autoincrement=False in versioning example.

12 years agomodernize this a bit
Mike Bayer [Sat, 27 Jul 2013 23:12:40 +0000 (19:12 -0400)] 
modernize this a bit

12 years ago- this collection can be None on cleanup, so check for that
Mike Bayer [Sat, 27 Jul 2013 22:41:34 +0000 (18:41 -0400)] 
- this collection can be None on cleanup, so check for that

12 years agolast updated
Mike Bayer [Sat, 27 Jul 2013 22:38:40 +0000 (18:38 -0400)] 
last updated

12 years agotry seeing if just clearing this ahead of time helps
Mike Bayer [Sat, 27 Jul 2013 22:30:48 +0000 (18:30 -0400)] 
try seeing if just clearing this ahead of time helps

12 years ago- fix issue in join rewriting whereby we need to ensure the .key and .name
Mike Bayer [Sat, 27 Jul 2013 21:05:01 +0000 (17:05 -0400)] 
- fix issue in join rewriting whereby we need to ensure the .key and .name
are transferred correctly for when .key is present; tests have been enhanced
to test this condition for render, result map construction, statement
execution.  [ticket:2790]

12 years ago- The C extensions are ported to Python 3 and will build under
Mike Bayer [Sat, 27 Jul 2013 00:50:18 +0000 (20:50 -0400)] 
- The C extensions are ported to Python 3 and will build under
any supported CPython 2 or 3 environment. [ticket:2161]

12 years ago- add event.contains() function to the event package, returns True
Mike Bayer [Fri, 26 Jul 2013 23:11:33 +0000 (19:11 -0400)] 
- add event.contains() function to the event package, returns True
if the given target/event/fn is set up to listen.
- repair mutable package which is doing some conditional event listening

12 years ago- Removal of event listeners is now implemented. The feature is
Mike Bayer [Fri, 26 Jul 2013 18:21:58 +0000 (14:21 -0400)] 
- Removal of event listeners is now implemented.    The feature is
provided via the :func:`.event.remove` function.
[ticket:2268]
- reorganization of event.py module into a package; with the addition of the
docstring work as well as the new registry for removal, there's a lot more code now.
the package separates concerns and provides a top-level doc for each subsection
of functionality
- the remove feature works by providing the EventKey object which associates
the user-provided arguments to listen() with a global, weak-referencing registry.
This registry stores a collection of _ListenerCollection and _DispatchDescriptor
objects associated with each set of arguments, as well as the wrapped function
which was applied to that collection.  The EventKey can then be recreated for
a removal, all the _ListenerCollection and _DispatchDescriptor objects are located,
and the correct wrapped function is removed from each one.

12 years ago- The mechanism by which attribute events pass along an
Mike Bayer [Fri, 26 Jul 2013 04:01:04 +0000 (00:01 -0400)] 
- The mechanism by which attribute events pass along an
:class:`.AttributeImpl` as an "initiator" token has been changed;
the object is now an event-specific object called :class:`.attributes.Event`.
Additionally, the attribute system no longer halts events based
on a matching "initiator" token; this logic has been moved to be
specific to ORM backref event handlers, which are the typical source
of the re-propagation of an attribute event onto subsequent append/set/remove
operations.  End user code which emulates the behavior of backrefs
must now ensure that recursive event propagation schemes are halted,
if the scheme does not use the backref handlers.   Using this new system,
backref handlers can now peform a
"two-hop" operation when an object is appended to a collection,
associated with a new many-to-one, de-associated with the previous
many-to-one, and then removed from a previous collection.   Before this
change, the last step of removal from the previous collection would
not occur.
[ticket:2789]

12 years agotpo
Mike Bayer [Sat, 20 Jul 2013 04:41:10 +0000 (00:41 -0400)] 
tpo

12 years ago- Improved the examples in ``examples/generic_associations``, including
Mike Bayer [Sat, 20 Jul 2013 02:56:34 +0000 (22:56 -0400)] 
- Improved the examples in ``examples/generic_associations``, including
that ``discriminator_on_association.py`` makes use of single table
inheritance do the work with the "discriminator".  Also
added a true "generic foreign key" example, which works similarly
to other popular frameworks in that it uses an open-ended integer
to point to any other table, foregoing traditional referential
integrity.  While we don't recommend this pattern, information wants
to be free.  Also in 0.8.3.

- Added a convenience class decorator :func:`.as_declarative`, is
a wrapper for :func:`.declarative_base` which allows an existing base
class to be applied using a nifty class-decorated approach.  Also
in 0.8.3.

12 years agoMerge pull request #18 from davidjb/patch-1
mike bayer [Fri, 19 Jul 2013 15:37:27 +0000 (08:37 -0700)] 
Merge pull request #18 from davidjb/patch-1

Minor hybrid extension documentation update

12 years agoMinor hybrid extension documentation update
David Beitey [Fri, 19 Jul 2013 04:40:41 +0000 (14:40 +1000)] 
Minor hybrid extension documentation update

12 years agoFixed bug in ORM-level event registration where the "raw" or
Mike Bayer [Fri, 19 Jul 2013 03:17:33 +0000 (23:17 -0400)] 
Fixed bug in ORM-level event registration where the "raw" or
"propagate" flags could potentially be mis-configured in some
"unmapped base class" configurations.  Also in 0.8.3.
[ticket:2786]

12 years agoFixed bug in :class:`.CheckConstraint` DDL where the "quote" flag from a
Mike Bayer [Wed, 17 Jul 2013 15:18:59 +0000 (11:18 -0400)] 
Fixed bug in :class:`.CheckConstraint` DDL where the "quote" flag from a
:class:`.Column` object would not be propagated.  Also in 0.8.3, 0.7.11.
[ticket:2784]

12 years agoMerge pull request #17 from iElectric/docs/wording_yield_per
mike bayer [Sun, 14 Jul 2013 16:58:43 +0000 (09:58 -0700)] 
Merge pull request #17 from iElectric/docs/wording_yield_per

wording about supported dialects for Query.yield_per

12 years agowording about supported dialects for Query.yield_per
Domen Kožar [Sun, 14 Jul 2013 16:18:16 +0000 (18:18 +0200)] 
wording about supported dialects for Query.yield_per

12 years agotypo
Mike Bayer [Sat, 13 Jul 2013 22:24:25 +0000 (18:24 -0400)] 
typo

12 years agofurther tweaking
Mike Bayer [Sat, 13 Jul 2013 20:41:16 +0000 (16:41 -0400)] 
further tweaking

12 years agofix the scoping here
Mike Bayer [Sat, 13 Jul 2013 20:36:54 +0000 (16:36 -0400)] 
fix the scoping here

12 years agochangelog for 0.9
Mike Bayer [Sat, 13 Jul 2013 20:29:23 +0000 (16:29 -0400)] 
changelog for 0.9

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.  Also in 0.8.3.
[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 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.  Also in 0.8.3.
[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.  Also in 0.8.3. [ticket:2776]

12 years ago- we dont actually need this unicode cast, on py3k + linux it seems the
Mike Bayer [Tue, 9 Jul 2013 15:52:31 +0000 (11:52 -0400)] 
- we dont actually need this unicode cast, on py3k + linux it seems the
has_table issues are OK.  On OSX forget it.
- still some issues with PY3k + pyodbc + decimal values it doesn't expect, not sure

12 years agochangelog for 2355
Mike Bayer [Tue, 9 Jul 2013 15:33:55 +0000 (11:33 -0400)] 
changelog for 2355

12 years agocallcounts
Mike Bayer [Mon, 8 Jul 2013 18:02:46 +0000 (14:02 -0400)] 
callcounts

12 years ago- create a new system where we can decorate an event method
Mike Bayer [Mon, 8 Jul 2013 17:39:56 +0000 (13:39 -0400)] 
- create a new system where we can decorate an event method
with @_legacy_signature, will inspect incoming listener functions
to see if they match an older signature, will wrap into a newer sig
- add an event listen argument named=True, will send all args as
kw args so that event listeners can be written with **kw, any combination
of names
- add a doc system to events that writes out the various calling styles
for a given event, produces deprecation messages automatically.
a little concerned that it's a bit verbose but will look at it up
on RTD for awhile to get a feel.
- change the calling signature for bulk update/delete events - we have
the BulkUD object right there, and there's at least six or seven things
people might want to see, so just send the whole BulkUD in
[ticket:2775]

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:18 +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.  Also in 0.8.3.

12 years ago0.9 changelog
Mike Bayer [Fri, 5 Jul 2013 00:03:18 +0000 (20:03 -0400)] 
0.9 changelog

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 agoFixed bug where :class:`.QueuePool` would lose the correct
Mike Bayer [Thu, 4 Jul 2013 17:18:00 +0000 (13:18 -0400)] 
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.  Also in 0.8.3.
[ticket:2772]