ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #02513
python2.6 deprecation warnings
Hi list,
Updated to Jaunty today, and installed the Debian packages. No big
problems running the demos, but there are a few DeprecationWarnings that
we might want to fix sometime. Running the poisson demo (displaying only
the warnings):
/usr/lib/python2.6/dist-packages/dolfin/function.py:576:
DeprecationWarning: object.__new__() takes no parameters
return object.__new__(Function_factory("CompiledFunction", cpp_base),V)
Calling DOLFIN Function just-in-time (JIT) compiler, this may take some
time... done
/usr/lib/python2.6/dist-packages/ffc/common/exceptions.py:22:
DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
self.message = message
/usr/lib/python2.6/dist-packages/dolfin/function.py:562:
DeprecationWarning: object.__new__() takes no parameters
return object.__new__(Function_factory("DiscreteFunction",
cpp.DiscreteFunction), V)
ilmar
Follow ups