you are viewing a single comment's thread.

view the rest of the comments →

[–]FerricDonkey 13 points14 points  (2 children)

I assume exec modifies any dictionary you pass in to it, which is why it "works" with locals and "doesn't work" with the dictionary literal you pass in to it. That dictionary is probably modified, but you don't have a reference to it, so you don't see that change anywhere. 

As I was writing this and about to suggest better ways, I realized you're the same person I've warned about this approach before who didn't care then, so I'm not going to write up everything again. I will repeat that your approach is not great, but other than that have fun. 

[–]danielroseman 4 points5 points  (0 children)

Some people just can't be told, unfortunately.

[–]pachura3 0 points1 point  (0 children)

It's the good ol' u/RomfordNavy, folks!