I've opened a bug on CodePlex (bug 775 
http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=775)
 to implement PEP-302 which seems to be the new version of ihooks (it says no 
one was satisfied w/ ihooks).  I've opened it as a post-1.0 bug.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Jacobs
Sent: Tuesday, July 04, 2006 10:22 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Importing embedded .py files

Nathan R. Ernst wrote:
> Out of curiosity, is there any sort of hook into the engine that would
> allow you search for a module on your own?  e.g. a search of sys.path
> did not find

I'm not sure how well this is going to work with IronPython, but in CPython 
you're advised to use ihooks (http://pydoc.org/2.4.1/ihooks.html), which is a 
pure Python module in the stdlib, to write your own import hooks.

--
Jonathan

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to