]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Use fully vendored getfullargspec
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 29 May 2019 21:27:19 +0000 (17:27 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 29 May 2019 21:27:19 +0000 (17:27 -0400)
commitdf99e1ef5f334ce7f4c8118c3e0bdf2949f54de3
tree1e5bd4a26e446b28de87e4aef564cc998221dcb6
parent152c08fe59ed0899d037c26882463ee2b374c014
Use fully vendored getfullargspec

Replaced the Python compatbility routines for ``getfullargspec()`` with a
fully vendored version from Python 3.3.  Originally, Python was emitting
deprecation warnings for this function in Python 3.8 alphas.  While this
change was reverted, it was observed that Python 3 implementations for
``getfullargspec()`` are an order of magnitude slower as of the 3.4 series
where it was rewritten against ``Signature``.  While Python plans to
improve upon this situation, SQLAlchemy projects for now are using a simple
replacement to avoid any future issues.

Fixes: #4674
Change-Id: I1ab8729c4072634db80c79bb7bc44197dc5e7114
doc/build/changelog/unreleased_13/4674.rst [new file with mode: 0644]
lib/sqlalchemy/util/compat.py