>
> This is what was also confusing as well. I assumed that python stored
> objects rather than simply assigning them.
>
On Tue, May 5, 2015 at 4:48 AM, Alan Gauld
wrote:
> On 05/05/15 05:29, Brandon D wrote:
>
>> Hello tutors,
>>
>> I'm having trou
Thanks Steven. I was just confused on the execution of when Python
destroys objects that are no long bound or referenced.
On Tue, May 5, 2015 at 2:00 PM, Steven D'Aprano wrote:
> On Tue, May 05, 2015 at 12:29:59AM -0400, Brandon D wrote:
> > Hello tutors,
> >
&g
Hello tutors,
I'm having trouble understanding, as well as visualizing, how object
references work in the following situation. For demonstration purposes I
will keep it at the most rudimentary level:
x = 10
x = x ** x
If my knowledge serves me correctly, Python destroys the value once
reassign