daviis / PyDucker

A static ducking tool for python 3 source code
2 stars 2 forks source link

Super class Fix #105

Closed JakeAlbee closed 9 years ago

JakeAlbee commented 9 years ago

This should make super classes work. Hooray!

I basically have it checking to see if there is a super class (a base) and then pulling it from the namespace and grabbing the functions and comparing. the self.dataMembers. If the parent class has a method that the child class does not, it adds it to the child class. If the child class already has the method it passes so as to not break overriding.

daviis commented 9 years ago

You didn't change the Bean.py NameSpaceBean.checkImplicitTypeConversion function to look for super classes....

I updated the testast file to have all of the correct tests in it.

JakeAlbee commented 9 years ago

Should be working now, test it out. @daviis