← Back to team overview

ffc team mailing list archive

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

 

On Friday 24 April 2009 10:02:43 Johan Hake wrote:
> 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.

Well, it turned out that I already had fixed it ;)

Johan

> Johan
>
> > Martin
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev




References