]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
17 years ago- column_property() and synonym() both accept comparator_factory argument, allowing
Mike Bayer [Thu, 21 Aug 2008 18:10:35 +0000 (18:10 +0000)] 
- column_property() and synonym() both accept comparator_factory argument, allowing
custom comparison functionality
- made the mapper's checks for user-based descriptors when defining synonym or comparable property
stronger, such that a synonym can be used with declarative without having a user-based descriptor

17 years ago- Another old-style mixin fix and an explicit mapper() test for it.
Jason Kirtland [Thu, 21 Aug 2008 14:24:45 +0000 (14:24 +0000)] 
- Another old-style mixin fix and an explicit mapper() test for it.

17 years ago- Fix occurences of Class.c.column_name
Gaëtan de Menten [Thu, 21 Aug 2008 09:12:54 +0000 (09:12 +0000)] 
- Fix occurences of Class.c.column_name
- Fix a few typos/mistakes
- removed trailing whitespaces
- tried to achieve a more consistent syntax for spaces in properties
  declaration

17 years ago- fixed a bug in declarative test which was looking for old version of history
Mike Bayer [Tue, 19 Aug 2008 21:27:34 +0000 (21:27 +0000)] 
- fixed a bug in declarative test which was looking for old version of history
- Added "sorted_tables" accessor to MetaData, which returns
Table objects sorted in order of dependency as a list.
This deprecates the MetaData.table_iterator() method.
The "reverse=False" keyword argument has also been
removed from util.sort_tables(); use the Python
'reversed' function to reverse the results.
[ticket:1033]

17 years agocatch AttributeError in case thread local storage was not configured
Mike Bayer [Tue, 19 Aug 2008 16:33:01 +0000 (16:33 +0000)] 
catch AttributeError in case thread local storage was not configured

17 years agoattributes.get_history now reports some zero-length slots as the empty tuple rather...
Jason Kirtland [Mon, 18 Aug 2008 18:57:05 +0000 (18:57 +0000)] 
attributes.get_history now reports some zero-length slots as the empty tuple rather than an empty list. nice speed boost and memory reduction.

17 years agohack tweak: exc.NO_STATE is a tuple.
Jason Kirtland [Mon, 18 Aug 2008 18:19:52 +0000 (18:19 +0000)] 
hack tweak: exc.NO_STATE is a tuple.

17 years agomore ORM @decorator fliparoo
Jason Kirtland [Mon, 18 Aug 2008 18:09:27 +0000 (18:09 +0000)] 
more ORM @decorator fliparoo

17 years ago- The before_flush() hook on SessionExtension takes place
Mike Bayer [Sun, 17 Aug 2008 22:21:23 +0000 (22:21 +0000)] 
- The before_flush() hook on SessionExtension takes place
before the list of new/dirty/deleted is calculated for the
final time, allowing routines within before_flush() to
further change the state of the Session before the flush
proceeds.   [ticket:1128]

- Reentrant calls to flush() raise an error.  This also
serves as a rudimentary, but not foolproof, check against
concurrent calls to Session.flush().

17 years agotemporary check for unmapped class, until [ticket:1142] is resolved
Mike Bayer [Sun, 17 Aug 2008 21:55:00 +0000 (21:55 +0000)] 
temporary check for unmapped class, until [ticket:1142] is resolved

17 years ago- fixed primary key update for many-to-many collections
Mike Bayer [Sat, 16 Aug 2008 23:10:56 +0000 (23:10 +0000)] 
- fixed primary key update for many-to-many collections
where the collection had not been loaded yet
[ticket:1127]

17 years ago- class.someprop.in_() raises NotImplementedError pending
Mike Bayer [Sat, 16 Aug 2008 22:41:57 +0000 (22:41 +0000)] 
- class.someprop.in_() raises NotImplementedError pending
the implementation of "in_" for relation [ticket:1140]

17 years agoApplied .append(x, **kw) removal patch from [ticket:1124] and general cleanup.
Jason Kirtland [Fri, 15 Aug 2008 23:33:43 +0000 (23:33 +0000)] 
Applied .append(x, **kw) removal patch from [ticket:1124] and general cleanup.

17 years ago- Mock engines take on the .name of their dialect. [ticket:1123]
Jason Kirtland [Fri, 15 Aug 2008 23:17:24 +0000 (23:17 +0000)] 
- Mock engines take on the .name of their dialect. [ticket:1123]

  Slightly backward incompatible: the .name is a read-only property.
  The test suite was assigning .name = 'mock'; this no longer works.

17 years ago- Don't choke when instrumenting a class with an old-style mixin. [ticket:1078]
Jason Kirtland [Fri, 15 Aug 2008 22:59:13 +0000 (22:59 +0000)] 
- Don't choke when instrumenting a class with an old-style mixin. [ticket:1078]

17 years agoremoving this example until further notice (append_result() not an easy road to travel)
Mike Bayer [Fri, 15 Aug 2008 22:57:14 +0000 (22:57 +0000)] 
removing this example until further notice (append_result() not an easy road to travel)

17 years ago- Ignore old-style classes when building inheritance graphs. [ticket:1078]
Jason Kirtland [Fri, 15 Aug 2008 22:54:35 +0000 (22:54 +0000)] 
- Ignore old-style classes when building inheritance graphs. [ticket:1078]

17 years agoRe-use func_defaults when generating wrapper functions. [ticket:1139]
Jason Kirtland [Fri, 15 Aug 2008 22:28:55 +0000 (22:28 +0000)] 
Re-use func_defaults when generating wrapper functions. [ticket:1139]

17 years ago- Renamed on_reconstitute to @reconstructor and reconstruct_instance
Jason Kirtland [Fri, 15 Aug 2008 22:03:42 +0000 (22:03 +0000)] 
- Renamed on_reconstitute to @reconstructor and reconstruct_instance
- Moved @reconstructor hooking to mapper
- Expanded reconstructor tests, docs

17 years agoTidy.
Jason Kirtland [Fri, 15 Aug 2008 18:02:30 +0000 (18:02 +0000)] 
Tidy.

17 years agoIgnore egg stuff.
Jason Kirtland [Fri, 15 Aug 2008 17:55:30 +0000 (17:55 +0000)] 
Ignore egg stuff.

17 years agoadjust counts for 2.4 based on buildbot observation, remove 2.3 counts
Mike Bayer [Wed, 13 Aug 2008 22:51:27 +0000 (22:51 +0000)] 
adjust counts for 2.4 based on buildbot observation, remove 2.3 counts

17 years agodont rely upon AttributeError to test for None
Mike Bayer [Wed, 13 Aug 2008 22:49:38 +0000 (22:49 +0000)] 
dont rely upon AttributeError to test for None

17 years ago- with 2.3 support dropped,
Mike Bayer [Wed, 13 Aug 2008 22:41:17 +0000 (22:41 +0000)] 
- with 2.3 support dropped,
all usage of thread.get_ident() is removed, and replaced
with threading.local() usage.  this allows potentially
faster and safer thread local access.

17 years agoadded import for interfaces, otherwise tsa.interfaces is undef if the test is run...
Mike Bayer [Wed, 13 Aug 2008 21:11:42 +0000 (21:11 +0000)] 
added import for interfaces, otherwise tsa.interfaces is undef if the test is run standalone

17 years ago- joins along a relation() from a mapped
Mike Bayer [Tue, 12 Aug 2008 20:31:14 +0000 (20:31 +0000)] 
- joins along a relation() from a mapped
class to a mapped subclass, where the mapped
subclass is configured with single table
inheritance, will include an
IN clause which limits the subtypes of the
joined class to those requsted, within the
ON clause of the join.  This takes effect for
eager load joins as well as query.join().
Note that in some scenarios the IN clause will
appear in the WHERE clause of the query
as well since this discrimination has multiple
trigger points.

17 years ago- Improved the behavior of query.join()
Mike Bayer [Tue, 12 Aug 2008 15:19:09 +0000 (15:19 +0000)] 
- Improved the behavior of query.join()
when joining to joined-table inheritance
subclasses, using explicit join criteria
(i.e. not on a relation).

17 years agoadded info on named tuples
Mike Bayer [Tue, 12 Aug 2008 14:55:38 +0000 (14:55 +0000)] 
added info on named tuples

17 years ago- When generating __init__, use a copy of the func_defaults, not a repr of them.
Jason Kirtland [Mon, 11 Aug 2008 18:27:25 +0000 (18:27 +0000)] 
- When generating __init__, use a copy of the func_defaults, not a repr of them.

17 years agoadded col with no name example
Mike Bayer [Mon, 11 Aug 2008 18:00:10 +0000 (18:00 +0000)] 
added col with no name example

17 years ago- The composite() property type now supports
Mike Bayer [Mon, 11 Aug 2008 17:18:10 +0000 (17:18 +0000)] 
- The composite() property type now supports
a __set_composite_values__() method on the composite
class which is required if the class represents
state using attribute names other than the
column's keynames; default-generated values now
get populated properly upon flush.  Also,
composites with attributes set to None compare
correctly.  [ticket:1132]

17 years agomerged r5018 from 0.4 branch, but using contextual_connect() (will fix in 0.4 too)
Mike Bayer [Sun, 10 Aug 2008 05:26:16 +0000 (05:26 +0000)] 
merged r5018 from 0.4 branch, but using contextual_connect() (will fix in 0.4 too)

17 years agocomment
Mike Bayer [Fri, 8 Aug 2008 15:50:36 +0000 (15:50 +0000)] 
comment

17 years ago- cleaned up the attributes scan for reconstitute hooks
Mike Bayer [Fri, 8 Aug 2008 15:37:41 +0000 (15:37 +0000)] 
- cleaned up the attributes scan for reconstitute hooks
- added more careful check for "_should_exclude", guard against possible heisenbug activity

17 years agoadded unit tests for [ticket:1024]
Mike Bayer [Fri, 8 Aug 2008 14:56:53 +0000 (14:56 +0000)] 
added unit tests for [ticket:1024]

17 years agoadded missing **kwargs
Mike Bayer [Fri, 8 Aug 2008 14:31:09 +0000 (14:31 +0000)] 
added missing **kwargs

17 years agoeven better...
Mike Bayer [Fri, 8 Aug 2008 05:15:18 +0000 (05:15 +0000)] 
even better...

17 years ago- Fixed @on_reconsitute hook for subclasses
Mike Bayer [Fri, 8 Aug 2008 05:13:23 +0000 (05:13 +0000)] 
- Fixed @on_reconsitute hook for subclasses
which inherit from a base class.
[ticket:1129]

17 years ago- Improved the determination of the FROM clause
Mike Bayer [Wed, 6 Aug 2008 20:58:48 +0000 (20:58 +0000)] 
- Improved the determination of the FROM clause
when placing SQL expressions in the query()
list of entities.  In particular scalar subqueries
should not "leak" their inner FROM objects out
into the enclosing query.

17 years ago- Temporarily rolled back the "ORDER BY" enhancement
Mike Bayer [Wed, 6 Aug 2008 15:46:31 +0000 (15:46 +0000)] 
- Temporarily rolled back the "ORDER BY" enhancement
from [ticket:1068].  This feature is on hold
pending further development.

17 years ago- The RowTuple object returned by Query(*cols) now
Mike Bayer [Tue, 5 Aug 2008 20:15:28 +0000 (20:15 +0000)] 
- The RowTuple object returned by Query(*cols) now
features keynames which prefer mapped attribute
names over column keys, column keys over
column names, i.e.
Query(Class.foo, Class.bar) will have names
"foo" and "bar" even if those are not the names
of the underlying Column objects.  Direct
Column objects such as Query(table.c.col) will
return the "key" attribute of the Column.

17 years agoslightly more user-friendly repr method for CascadeOptions
Gaëtan de Menten [Tue, 5 Aug 2008 09:15:31 +0000 (09:15 +0000)] 
slightly more user-friendly repr method for CascadeOptions

17 years agoCorrected problem in docstring. rel_0_5beta3
Michael Trier [Mon, 4 Aug 2008 19:53:04 +0000 (19:53 +0000)] 
Corrected problem in docstring.

17 years ago- fixed endless loop bug which could occur
Mike Bayer [Mon, 4 Aug 2008 15:21:29 +0000 (15:21 +0000)] 
- fixed endless loop bug which could occur
within a mapper's deferred load of
inherited attributes.
- declarative initialization of Columns adjusted so that
non-renamed columns initialize in the same way as a non
declarative mapper.   This allows an inheriting mapper
to set up its same-named "id" columns in particular
such that the parent "id" column is favored over the child
column, reducing database round trips when this value
is requested.

17 years agoTypo
Lele Gaifax [Mon, 4 Aug 2008 13:17:40 +0000 (13:17 +0000)] 
Typo

17 years agosome doc stuff
Mike Bayer [Mon, 4 Aug 2008 03:05:26 +0000 (03:05 +0000)] 
some doc stuff

17 years agoremoved redundant check to _enable_transaction_accounting
Mike Bayer [Sun, 3 Aug 2008 21:35:44 +0000 (21:35 +0000)] 
removed redundant check to _enable_transaction_accounting

17 years ago- compiler visit_label() checks a flag "within_order_by" and will render its own...
Mike Bayer [Sun, 3 Aug 2008 21:19:32 +0000 (21:19 +0000)] 
- compiler visit_label() checks a flag "within_order_by" and will render its own name
and not its contained expression, if the dialect reports true for supports_simple_order_by_label.
the flag is not propagated forwards, meant to closely mimic the syntax Postgres expects which is
that only a simple name can be in the ORDER BY, not a more complex expression or function call
with the label name embedded (mysql and sqlite support more complex expressions).

This further sets the standard for propigation of **kwargs within compiler, that we can't just send
**kwargs along blindly to each XXX.process() call; whenever a **kwarg needs to propagate through,
most methods will have to be aware of it and know when they should send it on forward and when not.
This was actually already the case with result_map as well.

The supports_simple_order_by dialect flag defaults to True but is conservatively explicitly set to
False on all dialects except SQLite/MySQL/Postgres to start.

[ticket:1068]

17 years agodescriptive error message raised when string-based relation() expressions inadvertent...
Mike Bayer [Sun, 3 Aug 2008 18:39:53 +0000 (18:39 +0000)] 
descriptive error message raised when string-based relation() expressions inadvertently mistake a PropertyLoader for a ColumnLoader property

17 years ago- renamed autoexpire to expire_on_commit
Mike Bayer [Sun, 3 Aug 2008 18:03:57 +0000 (18:03 +0000)] 
- renamed autoexpire to expire_on_commit
- renamed SessionTransaction autoflush to reentrant_flush to more clearly state its purpose
- added _enable_transaction_accounting, flag for Mike Bernson which disables the whole 0.5 transaction state management; the system depends on expiry on rollback in order to function.

17 years agoa correction to the recent should_exclude change. should_exclude is a little mixed
Mike Bayer [Sun, 3 Aug 2008 16:52:31 +0000 (16:52 +0000)] 
a correction to the recent should_exclude change.  should_exclude is a little mixed
up as to when it honors "column_prefix" and when it doesn't, depending on whether or not
the prop is coming from a column name or from an inherited class.  Will need more testing
to uncover potential issues here.

17 years ago- The "entity_name" feature of SQLAlchemy mappers
Mike Bayer [Sat, 2 Aug 2008 22:21:42 +0000 (22:21 +0000)] 
- The "entity_name" feature of SQLAlchemy mappers
has been removed.  For rationale, see
http://groups.google.com/group/sqlalchemy/browse_thread/thread/9e23a0641a88b96d?hl=en

17 years ago- Refactored declarative_base() as a thin wrapper over type()
Jason Kirtland [Sat, 2 Aug 2008 17:07:33 +0000 (17:07 +0000)] 
- Refactored declarative_base() as a thin wrapper over type()
- The supplied __init__ is now optional
- The name of the generated class can be specified
- Accepts multiple bases

17 years ago- declarative.declarative_base():
Jason Kirtland [Sat, 2 Aug 2008 16:32:02 +0000 (16:32 +0000)] 
- declarative.declarative_base():
  takes a 'metaclass' arg, defaulting to DeclarativeMeta
  renamed 'engine' arg to 'bind', backward compat
  documented

17 years agomake ProxyImpl a top-level class (this makes it importable by FormAlchemy, making...
Jonathan Ellis [Fri, 1 Aug 2008 23:02:02 +0000 (23:02 +0000)] 
make ProxyImpl a top-level class (this makes it importable by FormAlchemy, making reverse-engineering synonyms a bit easier)

17 years agofurther refinement to the inheritance "descriptor" detection such that
Mike Bayer [Fri, 1 Aug 2008 17:13:31 +0000 (17:13 +0000)] 
further refinement to the inheritance "descriptor" detection such that
local columns will still override superclass descriptors.

17 years agotest case to disprove [ticket:1126]
Mike Bayer [Fri, 1 Aug 2008 15:10:36 +0000 (15:10 +0000)] 
test case to disprove [ticket:1126]

17 years agoadded MutableType, Concatenable to __all__
Mike Bayer [Thu, 31 Jul 2008 16:48:32 +0000 (16:48 +0000)] 
added MutableType, Concatenable to __all__

17 years ago- Fixed bug whereby the "unsaved, pending instance"
Mike Bayer [Thu, 31 Jul 2008 16:41:41 +0000 (16:41 +0000)] 
- Fixed bug whereby the "unsaved, pending instance"
FlushError raised for a pending orphan would not take
superclass mappers into account when generating
the list of relations responsible for the error.

17 years agorelation.order_by requires _literal_as_column conversion as well
Mike Bayer [Tue, 29 Jul 2008 19:49:46 +0000 (19:49 +0000)] 
relation.order_by requires _literal_as_column conversion as well

17 years agotypo
Gaëtan de Menten [Tue, 29 Jul 2008 08:43:30 +0000 (08:43 +0000)] 
typo

17 years agoCorrects reflecttable in firebird database. Closes #1119.
Michael Trier [Tue, 29 Jul 2008 03:17:02 +0000 (03:17 +0000)] 
Corrects reflecttable in firebird database. Closes #1119.

17 years agoRaised an error when sqlite version does not support default values. Addresses ...
Michael Trier [Tue, 29 Jul 2008 03:08:38 +0000 (03:08 +0000)] 
Raised an error when sqlite version does not support default values.  Addresses #909 in a purposeful way.

17 years agoadded dummy column to correct results on sqlite
Mike Bayer [Sat, 26 Jul 2008 21:40:36 +0000 (21:40 +0000)] 
added dummy column to correct results on sqlite

17 years ago- func.count() with no argument emits COUNT(*)
Jason Kirtland [Thu, 24 Jul 2008 21:36:16 +0000 (21:36 +0000)] 
- func.count() with no argument emits COUNT(*)

17 years agoCorrected problem with detecting closed connections. Fixed issues in reflecttable...
Michael Trier [Wed, 23 Jul 2008 05:10:04 +0000 (05:10 +0000)] 
Corrected problem with detecting closed connections.  Fixed issues in reflecttable for reflecting the mssql tables. Removed unicode reflection test from mssql. Need to investigate this further.

17 years agoallow SQLA-defaults on table columns that are excluded in the mapper
Mike Bayer [Tue, 22 Jul 2008 13:45:29 +0000 (13:45 +0000)] 
allow SQLA-defaults on table columns that are excluded in the mapper

17 years ago- more accurate changelog message
Mike Bayer [Sun, 20 Jul 2008 18:36:44 +0000 (18:36 +0000)] 
- more accurate changelog message
- generalized the descriptor detection to any object with a __get__ attribute

17 years ago- An inheriting class can now override an attribute
Mike Bayer [Sun, 20 Jul 2008 18:23:44 +0000 (18:23 +0000)] 
- An inheriting class can now override an attribute
inherited from the base class with a plain descriptor,
or exclude an inherited attribute via the
include_properties/exclude_properties collections.

17 years ago- A critical fix to dynamic relations allows the
Mike Bayer [Sat, 19 Jul 2008 21:33:58 +0000 (21:33 +0000)] 
- A critical fix to dynamic relations allows the
"modified" history to be properly cleared after
a flush().

17 years ago- Some improvements to the _CompileOnAttr mechanism which
Mike Bayer [Sat, 19 Jul 2008 19:23:37 +0000 (19:23 +0000)] 
- Some improvements to the _CompileOnAttr mechanism which
should reduce the probability of "Attribute x was
not replaced during compile" warnings. (this generally
applies to SQLA hackers, like Elixir devs).

17 years ago- Class-bound attributes sent as arguments to
Mike Bayer [Sat, 19 Jul 2008 18:55:11 +0000 (18:55 +0000)] 
- Class-bound attributes sent as arguments to
relation()'s remote_side and foreign_keys parameters
are now accepted, allowing them to be used with declarative.

17 years ago- reverted r4955, that was wrong. The backref responsible for the operation is the...
Mike Bayer [Sat, 19 Jul 2008 18:18:50 +0000 (18:18 +0000)] 
- reverted r4955, that was wrong.  The backref responsible for the operation is the one where the "cascade" option should take effect.
- can use None as a value for cascade.
- documented cascade options in docstring, [ticket:1064]

17 years agoCorrected a couple of lingering transactional=True statements in the docs.
Michael Trier [Sat, 19 Jul 2008 17:52:31 +0000 (17:52 +0000)] 
Corrected a couple of lingering transactional=True statements in the docs.

17 years agozoomarks have gone up as a result of r4936, possibly others. not clear why
Mike Bayer [Fri, 18 Jul 2008 22:28:16 +0000 (22:28 +0000)] 
zoomarks have gone up as a result of r4936, possibly others.  not clear why

17 years ago- save-update and delete-orphan cascade event handler
Mike Bayer [Fri, 18 Jul 2008 22:11:22 +0000 (22:11 +0000)] 
- save-update and delete-orphan cascade event handler
now considers the cascade rules of the event initiator only, not the local
attribute.  This way the cascade of the initiator controls the behavior
regardless of backref events.

17 years ago- Fixed a series of potential race conditions in
Mike Bayer [Fri, 18 Jul 2008 17:42:11 +0000 (17:42 +0000)] 
- Fixed a series of potential race conditions in
Session whereby asynchronous GC could remove unmodified,
no longer referenced items from the session as they were
present in a list of items to be processed, typically
during session.expunge_all() and dependent methods.

17 years ago- MapperProperty gets its .key attribute assigned early, in _compile_property.
Mike Bayer [Wed, 16 Jul 2008 21:56:23 +0000 (21:56 +0000)] 
- MapperProperty gets its .key attribute assigned early, in _compile_property.
MapperProperty compilation is detected using a "_compiled" flag.
- A mapper which inherits from another, when inheriting
the columns of its inherited mapper, will use any
reassigned property names specified in that inheriting
mapper.  Previously, if "Base" had reassigned "base_id"
to the name "id", "SubBase(Base)" would still get
an attribute called "base_id".   This could be worked
around by explicitly stating the column in each
submapper as well but this is fairly unworkable
and also impossible when using declarative [ticket:1111].

17 years agoadded a new test illustrating a particular inheritance bug. will add ticket
Mike Bayer [Wed, 16 Jul 2008 21:23:17 +0000 (21:23 +0000)] 
added a new test illustrating a particular inheritance bug.  will add ticket

17 years ago- mysql.MSEnum value literals now automatically quoted when used in a CREATE.
Jason Kirtland [Wed, 16 Jul 2008 18:24:20 +0000 (18:24 +0000)] 
- mysql.MSEnum value literals now automatically quoted when used in a CREATE.
  The change is backward compatible. Slight expansion of patch from catlee.
  Thanks! [ticket:1110]

17 years ago- Spiffed up the deprecated decorators & @flipped 'em up top
Jason Kirtland [Wed, 16 Jul 2008 17:34:41 +0000 (17:34 +0000)] 
- Spiffed up the deprecated decorators & @flipped 'em up top

17 years agoRemoved deprecated get_version_info, use server_version_info
Jason Kirtland [Wed, 16 Jul 2008 15:25:33 +0000 (15:25 +0000)] 
Removed deprecated get_version_info, use server_version_info

17 years ago- Overhauled _generative and starargs decorators and flipped to 2.4 @syntax
Jason Kirtland [Wed, 16 Jul 2008 06:47:22 +0000 (06:47 +0000)] 
- Overhauled _generative and starargs decorators and flipped to 2.4 @syntax

17 years ago- Fixed some over-long ReST lines & general formatting touchups
Jason Kirtland [Tue, 15 Jul 2008 22:01:15 +0000 (22:01 +0000)] 
- Fixed some over-long ReST lines & general formatting touchups

17 years agoCompleted engine_descriptors() removal (started in r4900)
Jason Kirtland [Tue, 15 Jul 2008 21:50:48 +0000 (21:50 +0000)] 
Completed engine_descriptors() removal (started in r4900)

17 years ago- Moved to 2.4+ import syntax (w/ some experimental merge-friendly formatting)
Jason Kirtland [Tue, 15 Jul 2008 21:43:02 +0000 (21:43 +0000)] 
- Moved to 2.4+ import syntax (w/ some experimental merge-friendly formatting)

17 years agoWhitespace tweaks suggested by pep8.py
Jason Kirtland [Tue, 15 Jul 2008 20:20:41 +0000 (20:20 +0000)] 
Whitespace tweaks suggested by pep8.py

17 years ago- Removed the last of the 2.3 dict compat & some formatting tweaks.
Jason Kirtland [Tue, 15 Jul 2008 20:06:56 +0000 (20:06 +0000)] 
- Removed the last of the 2.3 dict compat & some formatting tweaks.

17 years ago- Always use native threading.local (or the native dummy version)
Jason Kirtland [Tue, 15 Jul 2008 19:56:30 +0000 (19:56 +0000)] 
- Always use native threading.local (or the native dummy version)

17 years ago- Always use native itemgetter & attrgetter
Jason Kirtland [Tue, 15 Jul 2008 19:53:17 +0000 (19:53 +0000)] 
- Always use native itemgetter & attrgetter

17 years ago- Always use native deque
Jason Kirtland [Tue, 15 Jul 2008 19:46:24 +0000 (19:46 +0000)] 
- Always use native deque

17 years ago- Removed 2.3 Decimal compat
Jason Kirtland [Tue, 15 Jul 2008 19:40:08 +0000 (19:40 +0000)] 
- Removed 2.3 Decimal compat

17 years ago- Dropped `reversed` emulation
Jason Kirtland [Tue, 15 Jul 2008 19:29:41 +0000 (19:29 +0000)] 
- Dropped `reversed` emulation

17 years ago- Removed 2.3 set emulations/enhancements.
Jason Kirtland [Tue, 15 Jul 2008 19:23:52 +0000 (19:23 +0000)] 
- Removed 2.3 set emulations/enhancements.
  (sets.Set-based collections & DB-API returns still work.)

17 years agoAnd thus ends support for Python 2.3.
Jason Kirtland [Tue, 15 Jul 2008 18:21:24 +0000 (18:21 +0000)] 
And thus ends support for Python 2.3.

17 years ago- Fixed a couple lingering exceptions->exc usages
Jason Kirtland [Tue, 15 Jul 2008 16:39:27 +0000 (16:39 +0000)] 
- Fixed a couple lingering exceptions->exc usages
- Some import tidying

17 years ago- Fixed bug when calling select([literal('foo')])
Mike Bayer [Tue, 15 Jul 2008 15:04:43 +0000 (15:04 +0000)] 
- Fixed bug when calling select([literal('foo')])
or select([bindparam('foo')]).

17 years ago- Added a new SessionExtension hook called after_attach().
Mike Bayer [Tue, 15 Jul 2008 14:54:37 +0000 (14:54 +0000)] 
- Added a new SessionExtension hook called after_attach().
This is called at the point of attachment for objects
via add(), add_all(), delete(), and merge().

17 years agoFix reflection where the table name has a duplicate name in a different schema
Paul Johnston [Tue, 15 Jul 2008 09:15:59 +0000 (09:15 +0000)] 
Fix reflection where the table name has a duplicate name in a different schema

17 years ago- The "allow_column_override" flag from mapper() has rel_0_5beta2
Mike Bayer [Mon, 14 Jul 2008 20:04:35 +0000 (20:04 +0000)] 
- The "allow_column_override" flag from mapper() has
been removed.  This flag is virtually always misunderstood.
Its specific functionality is available via the
include_properties/exclude_properties mapper arguments.