summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/compiler.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2021-05-07 13:01:40 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2021-05-10 15:19:17 -0400
commitfc6b30473a89642c2c2a1f09101351e276448eb6 (patch)
tree4cf123af29e107ad9876d8e27ccd1e3c015ccfe0 /lib/sqlalchemy/sql/compiler.py
parent9220bc9d4cd3adc3c03d0b4499bc2ffbdbeee058 (diff)
downloadsqlalchemy-fc6b30473a89642c2c2a1f09101351e276448eb6.tar.gz
calculate warnings stacklevels dynamically
A new approach has been applied to the warnings system in SQLAlchemy to accurately predict the appropriate stack level for each warning dynamically. This allows evaluating the source of SQLAlchemy-generated warnings and deprecation warnings to be more straightforward as the warning will indicate the source line within end-user code, rather than from an arbitrary level within SQLAlchemy's own source code. Fixes: #6241 Change-Id: I9ecf3b3ea77424d15e8d4c0aa47350602c0568d7
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions