jeremygray/psychopy — comment on commit 75d9b40617d311b9cc46b02eb48eb27aea916552
File:  line 0
By kastman:

That's a great idea. Much more elegant than mine.

Should I throw it in, or do you want to do the honors?

On Feb 24, 2012, at 2:56 PM, Jeremy R. Gray wrote:

> to me, timeout seems mainly useful for unit tests. would you use this at a
> real scan session? not sure I would. is it to bail out of a thread that's
> having difficulties somehow?
>
> how about having timeout=None by default and having logic to make None
> equivalent to "wait forever". if timeout is numeric, then assume its in
> seconds. if its nonnumeric, maybe just log a warning and default to None?
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/jeremygray/psychopy/commit/75d9b40617d311b9cc46b02eb48eb27aea916552#commitcomment-1009212