rileyshahar / aga

aga grades assignments
MIT License
8 stars 2 forks source link

Pickling a problem removes its context #13

Closed rileyshahar closed 3 years ago

rileyshahar commented 3 years ago

Found by Jim when testing. This prevents it from capturing its scope, in particular, stops it from accessing any builtins. This is caused because for some reason I thought we needed to unpickle __dict__ as {}; after testing, it seems this is not necessary, so this should be an easy fix.