{"action":"opened","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/4721","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/4721/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/4721/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/4721/events","html_url":"https://github.com/godotengine/godot/issues/4721","id":155822974,"number":4721,"title":"get all local variables as dictionary using a function like in python","user":{"login":"curly-brace","id":1852811,"avatar_url":"https://avatars.githubusercontent.com/u/1852811?v=3","gravatar_id":"","url":"https://api.github.com/users/curly-brace","html_url":"https://github.com/curly-brace","followers_url":"https://api.github.com/users/curly-brace/followers","following_url":"https://api.github.com/users/curly-brace/following{/other_user}","gists_url":"https://api.github.com/users/curly-brace/gists{/gist_id}","starred_url":"https://api.github.com/users/curly-brace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curly-brace/subscriptions","organizations_url":"https://api.github.com/users/curly-brace/orgs","repos_url":"https://api.github.com/users/curly-brace/repos","events_url":"https://api.github.com/users/curly-brace/events{/privacy}","received_events_url":"https://api.github.com/users/curly-brace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-19T20:05:42Z","updated_at":"2016-05-19T20:05:42Z","closed_at":null,"body":"i'm now reading the tutorial about saving games and i'm curious why variables aren't stored in dictionaries like python does.\r\n\r\nit would be much easier to get all local variables with 'locals()' and may be even assign loaded from json dictionary to the locals dictionary."}}