diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-03-08 21:30:22 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-03-08 21:30:22 -0500 |
commit | 2406689ebade93e59b562f7188e641b4e774568c (patch) | |
tree | b1a7774d0c33366a873370b3e107d731bd5a535a /lib/sqlalchemy/engine/result.py | |
parent | 63bb4ec5ab75ffdbec0502f82752328948f6fef5 (diff) | |
download | sqlalchemy-pr/77.tar.gz |
Moved speedups to a separate module. To include the speedups, require sqlalchemy[speedups].pr/77
Diffstat (limited to 'lib/sqlalchemy/engine/result.py')
-rw-r--r-- | lib/sqlalchemy/engine/result.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/engine/result.py b/lib/sqlalchemy/engine/result.py index 6c98dae18..c6c124dbb 100644 --- a/lib/sqlalchemy/engine/result.py +++ b/lib/sqlalchemy/engine/result.py @@ -20,7 +20,7 @@ try: # We need a different reconstructor on the C extension so that we can # add extra checks that fields have correctly been initialized by # __setstate__. - from sqlalchemy.cresultproxy import safe_rowproxy_reconstructor + from sqlalchemy_speedups.cresultproxy import safe_rowproxy_reconstructor # The extra function embedding is needed so that the # reconstructor function has the same signature whether or not @@ -34,7 +34,7 @@ except ImportError: return obj try: - from sqlalchemy.cresultproxy import BaseRowProxy + from sqlalchemy_speedups.cresultproxy import BaseRowProxy except ImportError: class BaseRowProxy(object): __slots__ = ('_parent', '_row', '_processors', '_keymap') |