Demonware / jose

Python implementation of the Javascript Object Signing and Encryption (JOSE) framework (https://datatracker.ietf.org/wg/jose/charter/)
BSD 3-Clause "New" or "Revised" License
95 stars 34 forks source link

inspect.getargspec() is deprecated #17

Open davaya opened 8 years ago

davaya commented 8 years ago

In the python3 branch of jose.py, inspect.getargspec() is used twice in _cli() (lines 574/579). This function has been deprecated since 3.0 and will be removed in 3.6. The replacement inspect.signature() was not backported to 2.7 so a clean version-independent solution is not obvious. Just a heads up - see https://github.com/praw-dev/praw/issues/541 for details.

nmurtagh commented 8 years ago

Thanks for the heads up! I'll fix that before I merge the branch.