blockpy-edu / blockpy

Blockly that's more Python than JavaScript, powered with Skulpt
Apache License 2.0
391 stars 130 forks source link

Name mangling occurs in dictionary storing #65

Closed acbart closed 4 years ago

acbart commented 4 years ago

When we store the students' data in the student.data dictionary, name mangling occurs. This means that you can't get a key named "name" out of the dictionary later. I believe this is just happening when we set it, so we should just need to make sure that it's not getting mangled, I suppose.

acbart commented 4 years ago

Yep, just needed to Sk.unfixReserved before we set it in the dictionary.