[Python-Dev] Let's get rid of unbound methods
Phillip J. Eby
pje at telecommunity.com
Wed Jan 5 19:04:35 CET 2005
At 12:29 PM 1/5/05 -0500, Barry Warsaw wrote:
>On Wed, 2005-01-05 at 10:41, Glyph Lefkowitz wrote:
>
> > I think it would be reasonable to assign im_class only to functions
> > defined in class scope. The only serialization that would break in that
> > case is if your example had a 'del f' at the end.
>
>+1. If you're doing something funkier, then you can set that attribute
>yourself.
>
>-Barry
Um, isn't all this stuff going to be more complicated and spread out over
more of the code than just leaving unbound methods in place?
More information about the Python-Dev
mailing list