{"action":"created","issue":{"url":"https://api.github.com/repos/uqfoundation/dill/issues/101","labels_url":"https://api.github.com/repos/uqfoundation/dill/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/uqfoundation/dill/issues/101/comments","events_url":"https://api.github.com/repos/uqfoundation/dill/issues/101/events","html_url":"https://github.com/uqfoundation/dill/pull/101","id":82015414,"number":101,"title":"dump_session: add split_imports","user":{"login":"abrasive","id":648691,"avatar_url":"https://avatars.githubusercontent.com/u/648691?v=3","gravatar_id":"","url":"https://api.github.com/users/abrasive","html_url":"https://github.com/abrasive","followers_url":"https://api.github.com/users/abrasive/followers","following_url":"https://api.github.com/users/abrasive/following{/other_user}","gists_url":"https://api.github.com/users/abrasive/gists{/gist_id}","starred_url":"https://api.github.com/users/abrasive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrasive/subscriptions","organizations_url":"https://api.github.com/users/abrasive/orgs","repos_url":"https://api.github.com/users/abrasive/repos","events_url":"https://api.github.com/users/abrasive/events{/privacy}","received_events_url":"https://api.github.com/users/abrasive/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/uqfoundation/dill/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-05-28T16:30:13Z","updated_at":"2015-05-31T01:26:56Z","closed_at":"2015-05-31T01:26:31Z","pull_request":{"url":"https://api.github.com/repos/uqfoundation/dill/pulls/101","html_url":"https://github.com/uqfoundation/dill/pull/101","diff_url":"https://github.com/uqfoundation/dill/pull/101.diff","patch_url":"https://github.com/uqfoundation/dill/pull/101.patch"},"body":"Setting split_imports=True will preprocess the module by groveling\r\nthrough its top-level objects for things that are identical to those in\r\nthe other available modules. If it finds matches, it records the source\r\nmodule and object names and then discards the objects during pickling.\r\nOn load, it then recovers the objects by \"import x as y\" using the\r\nstored x, y.\r\nThis fixes issues with nasty unpickleable things in the depths of\r\nlibraries, as well as making the sessions smaller.\r\n\r\nFixes #79 and most of #78 - my pylab sessions start up with some dynamic GObject horribles in `__main__`."},"comment":{"url":"https://api.github.com/repos/uqfoundation/dill/issues/comments/107105214","html_url":"https://github.com/uqfoundation/dill/pull/101#issuecomment-107105214","issue_url":"https://api.github.com/repos/uqfoundation/dill/issues/101","id":107105214,"user":{"login":"mmckerns","id":321534,"avatar_url":"https://avatars.githubusercontent.com/u/321534?v=3","gravatar_id":"","url":"https://api.github.com/users/mmckerns","html_url":"https://github.com/mmckerns","followers_url":"https://api.github.com/users/mmckerns/followers","following_url":"https://api.github.com/users/mmckerns/following{/other_user}","gists_url":"https://api.github.com/users/mmckerns/gists{/gist_id}","starred_url":"https://api.github.com/users/mmckerns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmckerns/subscriptions","organizations_url":"https://api.github.com/users/mmckerns/orgs","repos_url":"https://api.github.com/users/mmckerns/repos","events_url":"https://api.github.com/users/mmckerns/events{/privacy}","received_events_url":"https://api.github.com/users/mmckerns/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T01:26:56Z","updated_at":"2015-05-31T01:26:56Z","body":"brilliant."}}