new.instancemethod as a form of partial()

bonono at gmail.com bonono at gmail.com
Sun Jan 22 17:30:22 CET 2006


Alex Martelli wrote:
> Guido has mused about abolishing "unbound methods" (in 3.0, I guess), so
> there's hope for the future.  But a more complete 'partial' is likely to
> be acceptable sooner than any fix to bound/unbound methods: I suspect
> the only ingredient that's missing is a generous helping of irrefutable
> use cases.
So long the new partial() has this case covered, it is fine. As it
seems that this recipe
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52549 also
forgot this special case(down to the bottom, the current curry code).




More information about the Python-list mailing list