← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Remove a confusing **kwargs to Function.__new__

 

On Monday 21 September 2009 11:38:13 Johannes Ring wrote:
> On Mon, Sep 21, 2009 at 8:50 AM, DOLFIN <dolfin@xxxxxxxxxx> wrote:
> > One or more new changesets pushed to the primary dolfin repository.
> > A short summary of the last three changesets is included below.
> >
> > changeset:   7094:b2840ed51061
> > tag:         tip
> > user:        "Johan Hake <hake@xxxxxxxxx>"
> > date:        Mon Sep 21 08:50:40 2009 +0200
> > files:       site-packages/dolfin/function.py
> > description:
> > Remove a confusing **kwargs to Function.__new__
> 
> The buildbot now reports the following error for several Python demos
> after this change:
> 
> TypeError: __new__() got an unexpected keyword argument 'i'
> 
> See
>  http://fenics.org:8080/builders/dolfin-mac-osx/builds/794/steps/dolfin%20c
> heck/logs/demo.log for details.

Sorry for this.

Will revert the change and add a better check together with documentation of 
the kwargs feature...

Johan

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


References