I wonder if it would be easier if you just took what you like, and then I will rebase against what you end up with? I can go through block by block tomorrow if that is what you prefer.

/ david

On Sep 13, 2013, at 9:45 PM, Loic Jaquemet <notifications@github.com> wrote:

> In ctypeslib/codegen/codegenerator.py:
> 
> > @@ -682,9 +682,12 @@ def FundamentalType(self, item):
> >      ########
> >  
> >      def generate(self, item):
> > -        if item in self.done:
> > -            return
> > -        #print item, item.__dict__
> > +        try:
> > +            if item in self.done:
> > +                return
> > +        except TypeError:
> > +            import code
> > +            code.interact(local=locals())
> drop that
> 
> —
> Reply to this email directly or view it on GitHub.
> 
>