[Python-3000] Bound and unbound methods

tomer filiba tomerfiliba at gmail.com
Mon Aug 14 01:03:06 CEST 2006


[Josiah]
> I'm -1 for instantiating all methods (for the infinite cost reasons),
> and -1 for int, long, list, tuple, dict, float (method access is
> generally limited for these objects).  I'm +0 for offering a suitable
> metaclass and/or decorator, but believe it would be better suited for
> the Python cookbook, as performance improvements when function calls are
> taken into consideration is significantly less.

http://sebulba.wikispaces.com/receip+prebound

i'm sorry, i just love descriptors too much. it kept me out of bed,
until i wrote it down :)



-tomer


More information about the Python-3000 mailing list