Here is a stripped down script that tests a part of Spyce's code to "export" variables from an active tag to the main spyceProcess scope. Even without knowing the background, though, you should be able to figure out: What error will running this code produce?
class spyceImpl:
def spyceProcess(self):
___tagexports={'y': 1, 'item': 0}
for ___tagkey in ___tagexports:
exec("%s = ___tagexports['%s']"%(___tagkey,___tagkey))
test = spyceImpl()
test.spyceProcess()
Comments
Can someone please explain this more? Name mangling? Does that mean the double underscores?