[Python-3000] pep-0362? (original) (raw)

Joel Bender jjb5 at cornell.edu
Thu Sep 6 21:40:57 CEST 2007


http://www.python.org/dev/peps/pep-0362/

This would be helpful for boost::python.

Speaking of helpful...

 class X:
     def f(self): pass

 class Y(X): pass

...I would like a mechanism to indicate that Y.f is inherited, and I was hoping that perhaps that information could be found in its signature. I see that it's not, would it be another PEP to add it? (It was a bit of an eye opener when I first found out that Y.f.im_class wasn't X.)

Joel



More information about the Python-3000 mailing list