{"action":"created","issue":{"url":"https://api.github.com/repos/bartvm/blocks/issues/571","labels_url":"https://api.github.com/repos/bartvm/blocks/issues/571/labels{/name}","comments_url":"https://api.github.com/repos/bartvm/blocks/issues/571/comments","events_url":"https://api.github.com/repos/bartvm/blocks/issues/571/events","html_url":"https://github.com/bartvm/blocks/issues/571","id":65642425,"number":571,"title":"Proposal: Status to Contain Only dict, list, str and to be written in JSON","user":{"login":"rizar","id":654434,"avatar_url":"https://avatars.githubusercontent.com/u/654434?v=3","gravatar_id":"","url":"https://api.github.com/users/rizar","html_url":"https://github.com/rizar","followers_url":"https://api.github.com/users/rizar/followers","following_url":"https://api.github.com/users/rizar/following{/other_user}","gists_url":"https://api.github.com/users/rizar/gists{/gist_id}","starred_url":"https://api.github.com/users/rizar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rizar/subscriptions","organizations_url":"https://api.github.com/users/rizar/orgs","repos_url":"https://api.github.com/users/rizar/repos","events_url":"https://api.github.com/users/rizar/events{/privacy}","received_events_url":"https://api.github.com/users/rizar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-01T09:22:33Z","updated_at":"2015-04-02T11:07:01Z","closed_at":null,"body":"I will briefly describe the problem I ran into: I develop my project based on Blocks and in parallel make a lot of experiments. Quite expectedly old experiment pickles become inaccessible with the latest version of the project and Blocks: this is a general issue with pickling. I could however load them with an older version if I knew what version is required, for which I have an extension that writes `git log` and `git diff` outputs to the status. \r\n\r\nBut that was all in vain, because I can not even unpickle status! I ended up with lots of pickled files lying around and no way to access them or even to see where they come from.\r\n\r\nSo what if we introduce a restriction that `log.status` can contain only simplest Python objects like dict, list, str? In this case we could save it in JSON near the main loop pickle and one could read the status file and see when the experiment was run, with which code, for how long, with which configuration, what was the best error, etc.\r\n\r\nThe downside is that status would not store arbitrary Python objects, but I am not sure how important it actually is."},"comment":{"url":"https://api.github.com/repos/bartvm/blocks/issues/comments/88866484","html_url":"https://github.com/bartvm/blocks/issues/571#issuecomment-88866484","issue_url":"https://api.github.com/repos/bartvm/blocks/issues/571","id":88866484,"user":{"login":"rizar","id":654434,"avatar_url":"https://avatars.githubusercontent.com/u/654434?v=3","gravatar_id":"","url":"https://api.github.com/users/rizar","html_url":"https://github.com/rizar","followers_url":"https://api.github.com/users/rizar/followers","following_url":"https://api.github.com/users/rizar/following{/other_user}","gists_url":"https://api.github.com/users/rizar/gists{/gist_id}","starred_url":"https://api.github.com/users/rizar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rizar/subscriptions","organizations_url":"https://api.github.com/users/rizar/orgs","repos_url":"https://api.github.com/users/rizar/repos","events_url":"https://api.github.com/users/rizar/events{/privacy}","received_events_url":"https://api.github.com/users/rizar/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T11:07:01Z","updated_at":"2015-04-02T11:07:01Z","body":"I also like the idea of robust unpickling, however my current knowledge how pickling works is insufficient to see if it is possible."}}