Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New comment] Importing .NET types causes ImportExceptions (zipimport 
handler)

----------------------------------------------

ISSUES

1. [New comment] Importing .NET types causes ImportExceptions (zipimport 
handler)
http://ironpython.codeplex.com/workitem/34602
User sopelt has commented on the issue:

"<p>Hi, sorry for the late reply. I see the issue with the constructor logic 
... <br>For your question on &quot;only happens on the first import&quot;: I am 
no expert on the importer system, path_hooks ... and am not sure on some of the 
constraints and states of that system. For the same Engine/PythonContext it 
looks like only the first .NET import causes the exceptions (see attached 
source file) while subsequent imports seem to work without exceptions.</p><p>As 
far as I understand once instantiated the `zipimport` is kept around and does 
not need to be constructed again? Might it be possible to construct/warm up 
zipimport in a controlled fashion to avoid the construction using a path that 
cannot be handled (i.e. is not a zip file) to avoid having to break zip 
importing all together?</p><p>Could you give me a hint on how to remove only 
the zipimport from path_hooks?</p>"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on 
CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue 
Tracker. You can unsubscribe or change your issue notification settings on 
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
[email protected]
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to