You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In fixing #919 and writing more comprehensive tests for Spyder's save_dictionary and load_dictionary session spydata save/load functions, I discovered that saving one's session will delete all arrays that are not top-level, i.e. those inside lists, dictionaries, etc from the user's active session, during the process of removing them to be serialized separately. The fix is a simple one (just deepcopying the data passed to the save_dictionary function and a PR should be up shortly, but I thought I'd open this issue to document the problem.
What steps will reproduce the problem?
Create a list or dictionary with a numpy array inside of it
Save the session
View the list/dictionary again
What is the expected output? What do you see instead?
Expected: Array is not removed. Actual: Array is.
Package Versions
Spyder: 3.2.7
Python: 3.6.4
Qt: 5.6.2
PyQt: 5.6
Operating System: Win 8.1 Pro x64
The text was updated successfully, but these errors were encountered:
Problem Description
In fixing #919 and writing more comprehensive tests for Spyder's
save_dictionary
andload_dictionary
session spydata save/load functions, I discovered that saving one's session will delete all arrays that are not top-level, i.e. those inside lists, dictionaries, etc from the user's active session, during the process of removing them to be serialized separately. The fix is a simple one (just deepcopying the data passed to the save_dictionary function and a PR should be up shortly, but I thought I'd open this issue to document the problem.What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected: Array is not removed. Actual: Array is.
Package Versions
The text was updated successfully, but these errors were encountered: