-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix project persistency implementation #4
Comments
Pickle-like serializers dump whole environment definition and expect the environment to remain somewhat the same and this can't be guaranteed. This approach will be replaced by using JSON to cache only the required attributes. A good side effect is that since class definitions won't be cached, reusing the same cache with different hdlcc versions should be easier. |
Results using JSON seem OK, need more throughout testing. |
Fixing this issue should fix issue #2 as well. |
Using Pickle to dump/load project objects to a file causes issues when the object is dumped in a Python shell and loaded from another shell that doesn't have access to the objects the original shell had.
For example, building a project within Vim then trying to build it via command line gives the following exception
The text was updated successfully, but these errors were encountered: