diff options
author | Sean McGinnis <sean.mcginnis@huawei.com> | 2017-11-22 10:25:06 -0600 |
---|---|---|
committer | Sean McGinnis <sean.mcginnis@huawei.com> | 2017-11-27 14:56:07 -0600 |
commit | 7a9172658848e58f33872a6224f21e24461ca783 (patch) | |
tree | 13ff60b1f7a197fa3e3a1476bfa36f7ba49188d4 /.testr.conf | |
parent | c682bfad389e60a8deb175abf9acc0b0f2472dcb (diff) | |
download | oslo-db-7a9172658848e58f33872a6224f21e24461ca783.tar.gz |
Handle deprecation of inspect.getargspec
getargspec has been deprecated in py3 with plans to remove it in py3.6.
The recommendation is to move to inspect.signature, but the results
of that call are different than the existing one.
There is also getfullargspec available under py3 that was originally
deprecated, but for the sake of handling 2/3 code, it has been
un-deprecated. This call uses signature internally, but returns a mostly
compatible result with what getargspec did. This handles getargspec
deprecation by just using getfullargspec instead if it is available.
Change-Id: I32dd29bde99f9d59c2b0e14dd6782162963b43ae
Diffstat (limited to '.testr.conf')
0 files changed, 0 insertions, 0 deletions