This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zzzeek
Recipients brett.cannon, hroncok, lukasz.langa, ncoghlan, pablogsal, serhiy.storchaka, steve.dower, vstinner, zzzeek
Date 2019-05-17.02:31:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558060275.39.0.724301798869.issue36751@roundup.psfhosted.org>
In-reply-to
Content
Just did some benchmarks, and while Signature has apparently had a big speedup in Python 3.6, it is still much less performant than either the Python 2.7 or Python 3.3 implementations, anywhere from 6-18 times slower approximately depending on the function.   For those of us that need a getargspec that is only used on selected, internal functions where we don't need the newer language features, it's likely worth it to vendor the Python 3.3 getfullargspec() implementation which is very simple:

https://gist.github.com/zzzeek/0eb0636fa3917f36ffd887d9f765c208
History
Date User Action Args
2019-05-17 02:31:15zzzeeksetrecipients: + zzzeek, brett.cannon, ncoghlan, vstinner, lukasz.langa, serhiy.storchaka, steve.dower, hroncok, pablogsal
2019-05-17 02:31:15zzzeeksetmessageid: <1558060275.39.0.724301798869.issue36751@roundup.psfhosted.org>
2019-05-17 02:31:15zzzeeklinkissue36751 messages
2019-05-17 02:31:15zzzeekcreate