Re: [Ironpython-users] LightweightScopes and scopes in general

2012-02-12 Thread Keith Rome
.org Subject: Re: [Ironpython-users] LightweightScopes and scopes in general On Sun, Feb 12, 2012 at 6:44 PM, Keith Rome mailto:r...@wintellect.com>> wrote: I am fairly sure it is no different than when using disposable objects in any .NET application. If you don’t call IDisposable.Dispose(

Re: [Ironpython-users] LightweightScopes and scopes in general

2012-02-12 Thread Igor Brejc
me=wintellect@python.org [mailto: > ironpython-users-bounces+rome=wintellect....@python.org] *On Behalf Of *Igor > Brejc > *Sent:* Saturday, February 11, 2012 10:11 AM > *To:* Dino Viehland > *Cc:* Ironpython-users@python.org > > *Subject:* Re: [Ironpython-users] LightweightSc

Re: [Ironpython-users] LightweightScopes and scopes in general

2012-02-12 Thread Keith Rome
e=wintellect@python.org [mailto:ironpython-users-bounces+rome=wintellect@python.org] On Behalf Of Igor Brejc Sent: Saturday, February 11, 2012 10:11 AM To: Dino Viehland Cc: Ironpython-users@python.org Subject: Re: [Ironpython-users] LightweightScopes and scopes in general I'm thinking of this

Re: [Ironpython-users] LightweightScopes and scopes in general

2012-02-11 Thread Igor Brejc
rdy; Ironpython-users@python.org > *Subject:* Re: [Ironpython-users] LightweightScopes and scopes in general* > *** > > ** ** > > ** ** > > On Fri, Feb 10, 2012 at 7:46 PM, Dino Viehland > wrote: > > > > Jeff wrote: > > I'm taking a stab off the

Re: [Ironpython-users] LightweightScopes and scopes in general

2012-02-10 Thread Dino Viehland
[mailto:igor.br...@gmail.com] Sent: Friday, February 10, 2012 10:51 AM To: Dino Viehland Cc: Jeff Hardy; Ironpython-users@python.org Subject: Re: [Ironpython-users] LightweightScopes and scopes in general On Fri, Feb 10, 2012 at 7:46 PM, Dino Viehland mailto:di...@microsoft.com>> wrote: Jeff wrote:

Re: [Ironpython-users] LightweightScopes and scopes in general

2012-02-10 Thread Dino Viehland
Jeff wrote: > I'm taking a stab off the top of my head based on my limited knowledge of the > internals, but I do know that debug code is not collectable. > It's possible that the code itself may be holding references that keep objects > alive longer than expected. > > I believe if you run the c

Re: [Ironpython-users] LightweightScopes and scopes in general

2012-02-10 Thread Igor Brejc
On Fri, Feb 10, 2012 at 7:46 PM, Dino Viehland wrote: > > > Jeff wrote: > > I'm taking a stab off the top of my head based on my limited knowledge > of the > > internals, but I do know that debug code is not collectable. > > It's possible that the code itself may be holding references that keep >

Re: [Ironpython-users] LightweightScopes and scopes in general

2012-02-10 Thread Igor Brejc
On Fri, Feb 10, 2012 at 7:15 PM, Jeff Hardy wrote: > > I believe if you run the code in a separate AppDomain you can unload > the AppDomain and the code will be collected, which should take > everything else with it. > > > Yes, I've seen the http://stackoverflow.com/questions/1664567/embedded-iro

Re: [Ironpython-users] LightweightScopes and scopes in general

2012-02-10 Thread Jeff Hardy
On Fri, Feb 10, 2012 at 10:04 AM, Igor Brejc wrote: > Hi, > > I'm running embedded IronPython scripts (2.6, .NET 3.5) and I was wondering > what happens with the stuff allocated within the script after the script has > finished? For testing purposes I've been executing the following script > > s =

[Ironpython-users] LightweightScopes and scopes in general

2012-02-10 Thread Igor Brejc
Hi, I'm running embedded IronPython scripts (2.6, .NET 3.5) and I was wondering what happens with the stuff allocated within the script after the script has finished? For testing purposes I've been executing the following script s = set() for i in range(0, 100): s.add(i) ...and then watc