DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead
Issue #99
resolved
With Python 3, one gets the deprecation warning
DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead
Note that inspect.signature()
is not there for Python 2, so perhaps this will require a try
-except
block.
Comments (4)
-
-
reporter You probably don't see the warning because you have
DeprecationWarning
s disabled -- that's the default.Try
import warnings warnings.simplefilter('always') import ufl
-
reporter This is still an issue btw.
-
- changed status to resolved
Fixed in d0bc236.
- Log in to comment
Most of the devs have used python 3 for a while now and do not get this. You'll need to provide an example to reproduce it.