]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
delete exception traceback in _expect_raises
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 3 Jun 2021 03:07:28 +0000 (23:07 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 3 Jun 2021 03:07:28 +0000 (23:07 -0400)
commitdcdc9442ed94f0857a62de40e17e588250f0576e
treec05d872d6d16f066bd04ba27aeeec6b9d1887d16
parentcf8c76b9fcfcd1e79da4b089e7a86d6300d737e1
delete exception traceback in _expect_raises

a new segfault is observed in python 3.10.0b2 in conjunction
with asyncio and possibly greenlet.   Ensuring the
traceback object is deleted from scope here, which is a
good idea anyway, apparently seems to resolve the issue.

Change-Id: Ia83bafb088ef19853044f1d436db259cbfd1e5f4
References: https://github.com/python-greenlet/greenlet/issues/242
lib/sqlalchemy/testing/assertions.py