[EMAIL PROTECTED] wrote:
>     skip> Yes, but an int is both much smaller than a function and can't be
>     skip> involved in cyclic garbage.
> 
> I also forgot to mention that inexperienced users will probably find it
> easier to hang onto an int than create a closure

a) functools.partial isn't that hard to use
b) we could create it automatically in atexit.register and return it

Cheers,
Nick.

-- 
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to