[Python-Dev] Let's get rid of unbound methods (original) (raw)
Barry Warsaw barry at python.org
Wed Jan 5 18:29:01 CET 2005
- Previous message: [Python-Dev] Let's get rid of unbound methods
- Next message: [Python-Dev] Let's get rid of unbound methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 2005-01-05 at 10:41, Glyph Lefkowitz wrote:
I think it would be reasonable to assign imclass 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
- Previous message: [Python-Dev] Let's get rid of unbound methods
- Next message: [Python-Dev] Let's get rid of unbound methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]