"Amir Michail" <[EMAIL PROTECTED]> writes:
> But dosomestuff can get rid of its reference before it returns (perhaps
> it has a lot more to do before it returns and so you would want to
> garbage collect the parameter object as soon as possible).
That would be so rare and weird that your best bet
On Fri, 14 Oct 2005 17:40:48 -0700, Amir Michail wrote:
> Hi,
>
> I think it would be useful to delete a name of a parameter object as
> the object is passed to a function:
>
> dosomestuff(del a)
That's a horrible syntax. It would require Python to be completely
re-designed to allow statements
Paul Rubin wrote:
> "Amir Michail" <[EMAIL PROTECTED]> writes:
> > The idea is to garbage collect the object as soon as possible, and this
> > may be sooner than when dosomestuff returns.
>
> If it's a parameter to dosomestuff, then there's still a reference
> until dosomestuff returns. Simply ge
"Amir Michail" <[EMAIL PROTECTED]> writes:
> The idea is to garbage collect the object as soon as possible, and this
> may be sooner than when dosomestuff returns.
If it's a parameter to dosomestuff, then there's still a reference
until dosomestuff returns. Simply getting rid of the name only fr
Hi,
I think it would be useful to delete a name of a parameter object as
the object is passed to a function:
dosomestuff(del a)
instead of
dosomestuff(a)
del a
The idea is to garbage collect the object as soon as possible, and this
may be sooner than when dosomestuff returns.
Amir
--
http:/