← Back to team overview

dolfin team mailing list archive

Re: python2.6 deprecation warnings

 

On Thu, Apr 23, 2009 at 02:09:51PM +0200, 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>

This should be fixed now.

-- 
Anders


> > /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
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev

Attachment: signature.asc
Description: Digital signature


References