Closed nicktimko closed 8 years ago
Loud deprecation warnings seem to have been turned on in Python 3.5 leading to annoyingness. I added a little shim function to get the argument names, either from inspect.getargspec or inspect.signature, as available.
inspect.getargspec
inspect.signature
https://docs.python.org/3/library/inspect.html#inspect.getargspec
:+1: Good work!
Cheers, your patch is in the new release: https://pypi.python.org/pypi/django-autofixture/0.12.1
Loud deprecation warnings seem to have been turned on in Python 3.5 leading to annoyingness. I added a little shim function to get the argument names, either from
inspect.getargspec
orinspect.signature
, as available.https://docs.python.org/3/library/inspect.html#inspect.getargspec