Re: [Tutor] Memory and functions

2011-12-18 Thread Peter Otten
Charles Becker wrote: > For functions that return values (ie the list method pop): If you don't > assign the returned value to anything does it still end up residing in > memory? Just seems like this could be a potential problem to watch out > for when memory usage is an issue (probably not most

Re: [Tutor] Memory and functions

2011-12-18 Thread Steven D'Aprano
Charles Becker wrote: I have a rather obscure question, and not sure where in the docs to find an answer like this. For functions that return values (ie the list method pop): If you don't assign the returned value to anything does it still end up residing in memory? Just seems like this coul

[Tutor] Memory and functions

2011-12-18 Thread Charles Becker
I have a rather obscure question, and not sure where in the docs to find an answer like this. For functions that return values (ie the list method pop): If you don't assign the returned value to anything does it still end up residing in memory? Just seems like this could be a potential problem