Re: openhook

2009-06-06 Thread Nick Craig-Wood
Gaudha  wrote:
>  Can anybody tell me what is meant by 'openhook' ?

http://docs.python.org/library/fileinput.html?highlight=openhook

Maybe ;-)

-- 
Nick Craig-Wood  -- http://www.craig-wood.com/nick
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: openhook

2009-06-06 Thread Emile van Sebille

On 6/6/2009 6:47 AM Scott David Daniels said...

Gaudha wrote:

Can anybody tell me what is meant by 'openhook' ?

Certainly someone can.



OK -- kidding aside, the only python related reference I find is in a 
proposal and patch [1] made by Anthony Roy for changes to the fileinput 
module.  It's an argument passed into FileInput class initialization and 
apparently allows for a custom file open routine to be used to open the 
target file -- ergo openhook - a hook for opening.


Emile



[1] http://bugs.python.org/issue1613500

--
http://mail.python.org/mailman/listinfo/python-list


Re: openhook

2009-06-06 Thread Martin P. Hellwig

Steven D'Aprano wrote:

On Sat, 06 Jun 2009 06:47:34 -0700, Scott David Daniels wrote:


Gaudha wrote:

Can anybody tell me what is meant by 'openhook' ?

Certainly someone can.


It's just like closehook, only different.




Just like the flipflophook, the quantumhook and captain hook.

--
MPH
http://blog.dcuktec.com
'If consumed, best digested with added seasoning to own preference.'
--
http://mail.python.org/mailman/listinfo/python-list


Re: openhook

2009-06-06 Thread Steven D'Aprano
On Sat, 06 Jun 2009 06:47:34 -0700, Scott David Daniels wrote:

> Gaudha wrote:
>> Can anybody tell me what is meant by 'openhook' ?
> Certainly someone can.

It's just like closehook, only different.


-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: openhook

2009-06-06 Thread Scott David Daniels

Gaudha wrote:

Can anybody tell me what is meant by 'openhook' ?

Certainly someone can.
--
http://mail.python.org/mailman/listinfo/python-list