← Back to team overview

ffc team mailing list archive

Re: [DOLFIN-dev] python2.6 deprecation warnings

 

On Thu, Apr 23, 2009 at 2:04 PM, Ilmar Wilbers <ilmarw@xxxxxxxxx> wrote:
> 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):

<snip ffc thing>

> /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)

> DeprecationWarning: object.__new__() takes no parameters
>  return object.__new__(Function_factory("DiscreteFunction",
> cpp.DiscreteFunction), V)

The argument V here does nothing anyway and can safely be removed.

Martin


Follow ups

References