dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #13175
Re: python2.6 deprecation warnings
On Thursday 23 April 2009 14:09:51 Martin Sandve Alnæs wrote:
> 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 has allready pointed this out previously and I will fix it.
Johan
> Martin
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
Follow ups
References