[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Indexable functions
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 23 Oct 2012 08:13:28 +0200
On Tue, Oct 23, 2012 at 8:08 AM, Rena <hyperhacker@gmail.com> wrote:
> designed around this capability, so e.g. print would have a local
> variable for you to change if you want to send its output somewhere
Well, print() can always be defined as a callable object, and then
things like print.file = io.stderr become very easy.
(Less transparent on the C side of course, and I also worry about
mutable globals)