Re: [Tutor] Fwd: Re: would someone please explain this concept to me

2019-06-05 Thread Alan Gauld via Tutor
On 05/06/2019 20:47, nathan tech wrote: > so for example if I do: > > feeds[feed1]["limit"]=g.checklimit > > And later did g.checklimit=7000 > > Would it change feeds[feed1]["limit"] too? No, because the feeds value is still referencing the original value object. The issue arises when you modi

Re: [Tutor] Fwd: Re: would someone please explain this concept to me

2019-06-05 Thread nathan tech
hi there, Thanks for that, I never thought of those options, though now you mention them, I'm going, duh! I also, defined in globals, have a variable called checklimit. EG: g.checklimit. Am I ok to assign that to values? so for example if I do: feeds[feed1]["limit"]=g.checklimit And later

Re: [Tutor] Fwd: Re: would someone please explain this concept to me

2019-06-05 Thread Alan Gauld via Tutor
> That is why I was going to use g.blank-feed as the template, > assign that to d["feed 1's link"] then just update the feed part. The simplest way is just to assign a new blank dictionary. Don;t assign the same dictionary to each feed. (Incidentally your description above is much clearer than

[Tutor] Fwd: Re: would someone please explain this concept to me

2019-06-05 Thread nathan tech
Thought I addressed this to the list... Aparrently my mail client hates me. Forwarded Message Subject:Re: [Tutor] would someone please explain this concept to me Date: Wed, 5 Jun 2019 02:37:49 +0100 From: nathan tech To: Steven D'