py3k concerns. An example

Hrvoje Niksic hniksic at xemacs.org
Tue May 13 02:48:15 EDT 2008


Paul McGuire <ptmcg at austin.rr.com> writes:

> I see that there is some movement to "get rid of bound methods," but
> I don't fully understand how this will be done, nor how I will
> adjust my code to compensate.

Isn't it supposed to get rid of *un*bound methods?  That is,
Class.method will simply return the function object used to define
'method', rather than a specialized "unbound method" object.
object.method will continue to return bound method objects, which are
required for method calls to work.



More information about the Python-list mailing list