On Mon, Jun 18, 2012 at 9:49 AM, Jez <jezreel@...> wrote:
> I was trying to fix some bugs in itertools -- in particular, ifilterfalse()
> (called with no args) is not throwing a TypeError. Upon some investigation
> it seems that __init__() is not being called at all, regardless of the
> number of arguments passed in. Any idea why this might be the case? I have
> compared it with the code in to zipimport.zipimporter(), which uses a Java
> implementation of __init__ as well, and have not been able to find any
> significant differences.
Oops, this one is my bad - I failed to include the new classes in the
src/template/*.derived area and in the CoreExposed.includes file.
Without these entries these "new style" core classes don't act like
Python classes. I'll fix this shortly -- I'll post a diff here
pre-codegen to show how this is done for future reference.