[Python-Dev] Let's get rid of unbound methods
Barry Warsaw
barry at python.org
Wed Jan 5 18:29:01 CET 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20050105/7f041dd9/attachment-0001.pgp
More information about the Python-Dev
mailing list