Re: [Ironpython-users] Restrict referencing of assemblies in hosted environment

2012-10-18 Thread Markus Schaber
Hi, Jeff, > Von: Jeff Hardy [mailto:jdha...@gmail.com] > On Wed, Oct 17, 2012 at 3:08 AM, Markus Schaber software.com> wrote: > > We're using IronPython as a hosted script engine in our application. > > > Now, we want to restrict the assemblies a user can reference from its > > python script, >

Re: [Ironpython-users] Restrict referencing of assemblies in hosted environment

2012-10-18 Thread Markus Schaber
Hi, Keith, Von: Keith Rome [mailto:r...@wintellect.com] > Take a look at the PlatformAdaptationLayer class. You can create your own and > plug it in to the runtime. This might provide the hooks you are looking for. > In particular, you should be able to override the LoadAssembly() and > LoadAs

[Ironpython-users] IronPython, Daily Digest 10/17/2012

2012-10-18 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] bool value conversion malfunctions with Iron python libraries -- ISSUES 1. [New comment] bool value conversion malfunctions wit

Re: [Ironpython-users] Restrict referencing of assemblies in hosted environment

2012-10-18 Thread Jeff Hardy
On Thu, Oct 18, 2012 at 12:53 AM, Markus Schaber wrote: > Hi, Keith, > > Von: Keith Rome [mailto:r...@wintellect.com] >> Take a look at the PlatformAdaptationLayer class. You can create your own >> and plug it in to the runtime. This might provide the hooks you are looking >> for. > >> In partic

[Ironpython-users] Commercial Support / Bugfixes for Ironpython

2012-10-18 Thread Markus Schaber
Hi, Is it possible to hire some of the IronPython Core developers for bugfixes, or is there commercial support available? Especially http://ironpython.codeplex.com/workitem/31764 is a major issue for some of our users, they fight with Out of Memory exceptions during automated test runs which f

Re: [Ironpython-users] Commercial Support / Bugfixes for Ironpython

2012-10-18 Thread Curt Hagenlocher
This doesn't directly address your question, but as I recall, DefineDynamicAssembly is only used under very particular circumstances. It can be avoided most of the time in non-debug usage of IronPython. The only way to release some of the memory usage forced by DefineDynamicAssembly is to tear down

Re: [Ironpython-users] Commercial Support / Bugfixes for Ironpython

2012-10-18 Thread Markus Schaber
Hi, Curt, Thank you for your answer. Maybe it is possible to utlilise the Collectible Assemblies introduced with .NET 4.0 (http://msdn.microsoft.com/en-us/library/dd554932%28v=vs.100%29.aspx) - they should be fully GC-able... We can also live with an explicit "Dispose()"-Method to clean up art

Re: [Ironpython-users] Commercial Support / Bugfixes for Ironpython

2012-10-18 Thread Curt Hagenlocher
I don't want to make it sound like I know more than I do; the discussion on work item 20399 makes it clear that I don't accurately remember all of the specifics around this issue. But I do recall that we looked at using collectible assemblies and decided against it. We were still committed to suppo