summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-04-07 00:11:13 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-04-07 00:11:13 +0000
commit91df1bc17be81bb8b2122ee2f19b77a137b7b839 (patch)
tree1edf73db759cb7b87f8a0a14a838f15427909d74 /lib/sqlalchemy/sql.py
parent2a171e818c2e7cfadcd286399a3740147ff0df45 (diff)
downloadsqlalchemy-91df1bc17be81bb8b2122ee2f19b77a137b7b839.tar.gz
a little spring cleaning for the util package, etc
Diffstat (limited to 'lib/sqlalchemy/sql.py')
-rw-r--r--lib/sqlalchemy/sql.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py
index 2bc025e9f..7129781a7 100644
--- a/lib/sqlalchemy/sql.py
+++ b/lib/sqlalchemy/sql.py
@@ -247,6 +247,7 @@ def is_column(col):
return isinstance(col, ColumnElement)
class AbstractEngine(object):
+ """represents a 'thing that can produce Compiler objects an execute them'."""
def execute_compiled(self, compiled, parameters, echo=None, **kwargs):
raise NotImplementedError()
def compiler(self, statement, parameters, **kwargs):
@@ -343,7 +344,7 @@ class Compiled(ClauseVisitor):
self.after_compile()
def execute(self, *multiparams, **params):
- """executes this compiled object using the underlying SQLEngine"""
+ """executes this compiled object using the AbstractEngine it is bound to."""
if len(multiparams):
params = multiparams
@@ -1350,8 +1351,6 @@ class Select(SelectBaseMixin, FromClause):
else:
setattr(self, attribute, condition)
- _hash_recursion = util.RecursionStack()
-
def clear_from(self, from_obj):
self._froms[from_obj] = FromClause(from_name = None)