]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Use preloaded for sql.util import in exc
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 7 Oct 2020 01:46:03 +0000 (21:46 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 7 Oct 2020 02:26:38 +0000 (22:26 -0400)
commit4ea9f4ba745ebea8bd4d8a7bc01403dfe50589af
treecbe9d121d9a61054f5c60aa5554677862e5da09f
parentf229c410970316677e430c10cf36e4166c879767
Use preloaded for sql.util import in exc

Repaired a function-level import that was not using SQLAlchemy's standard
late-import system within the sqlalchemy.exc module.

Moves 1.3 dependencies() to sqlalchemy.util.preloaded so that it
does not depend on langhelpers which depends on exc.

Fixes: #5632
Change-Id: I61b7ce9cd461071ce543714739f67aa5aeb47fd6
(cherry picked with major changes from commit 2f28ba5513fc7da4efb315e1a03d50ebe40ca566)
doc/build/changelog/unreleased_13/5632.rst [new file with mode: 0644]
lib/sqlalchemy/exc.py
lib/sqlalchemy/util/__init__.py
lib/sqlalchemy/util/_preloaded.py [new file with mode: 0644]
lib/sqlalchemy/util/langhelpers.py