diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-09-21 16:56:14 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-09-21 16:56:14 -0400 |
| commit | 2aa80d40d2c9a00bb87a145bba1f01c327b6000b (patch) | |
| tree | b27660b881d695c3cba82b93d2020c566c4fa6c0 /lib/sqlalchemy/__init__.py | |
| parent | 36e2b2d8750ca5bcf0345733973f5ed097d2949a (diff) | |
| download | sqlalchemy-2aa80d40d2c9a00bb87a145bba1f01c327b6000b.tar.gz | |
- Adjusted the "importlater" mechanism, which is
used internally to resolve import cycles,
such that the usage of __import__ is completed
when the import of sqlalchemy or sqlalchemy.orm
is done, thereby avoiding any usage of __import__
after the application starts new threads,
fixes [ticket:2279]. Also in 0.6.9.
Diffstat (limited to 'lib/sqlalchemy/__init__.py')
| -rw-r--r-- | lib/sqlalchemy/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/__init__.py b/lib/sqlalchemy/__init__.py index c15cc6b69..0b9b7a00e 100644 --- a/lib/sqlalchemy/__init__.py +++ b/lib/sqlalchemy/__init__.py @@ -120,3 +120,6 @@ __all__ = sorted(name for name, obj in locals().items() __version__ = '0.7.3' del inspect, sys + +from sqlalchemy import util as _sa_util +_sa_util.importlater.resolve_all()
\ No newline at end of file |
