{"action":"created","issue":{"url":"https://api.github.com/repos/torch/trepl/issues/28","labels_url":"https://api.github.com/repos/torch/trepl/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/torch/trepl/issues/28/comments","events_url":"https://api.github.com/repos/torch/trepl/issues/28/events","html_url":"https://github.com/torch/trepl/issues/28","id":101503007,"number":28,"title":"option to ignore local?","user":{"login":"jonberliner","id":3977741,"avatar_url":"https://avatars.githubusercontent.com/u/3977741?v=3","gravatar_id":"","url":"https://api.github.com/users/jonberliner","html_url":"https://github.com/jonberliner","followers_url":"https://api.github.com/users/jonberliner/followers","following_url":"https://api.github.com/users/jonberliner/following{/other_user}","gists_url":"https://api.github.com/users/jonberliner/gists{/gist_id}","starred_url":"https://api.github.com/users/jonberliner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonberliner/subscriptions","organizations_url":"https://api.github.com/users/jonberliner/orgs","repos_url":"https://api.github.com/users/jonberliner/repos","events_url":"https://api.github.com/users/jonberliner/events{/privacy}","received_events_url":"https://api.github.com/users/jonberliner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-17T20:27:36Z","updated_at":"2015-09-14T05:09:50Z","closed_at":null,"body":"when debugging a script, often I want to copy blocks of code and run interactively in the trepl.  However, I can't run in the repl via copy+paste, because things declared local in a script cannot see each other when run in the repl.  Is there, or is there any interest, in adding a flag to ignore local so script blocks can be tested in the repl?"},"comment":{"url":"https://api.github.com/repos/torch/trepl/issues/comments/139962282","html_url":"https://github.com/torch/trepl/issues/28#issuecomment-139962282","issue_url":"https://api.github.com/repos/torch/trepl/issues/28","id":139962282,"user":{"login":"soumith","id":1310570,"avatar_url":"https://avatars.githubusercontent.com/u/1310570?v=3","gravatar_id":"","url":"https://api.github.com/users/soumith","html_url":"https://github.com/soumith","followers_url":"https://api.github.com/users/soumith/followers","following_url":"https://api.github.com/users/soumith/following{/other_user}","gists_url":"https://api.github.com/users/soumith/gists{/gist_id}","starred_url":"https://api.github.com/users/soumith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumith/subscriptions","organizations_url":"https://api.github.com/users/soumith/orgs","repos_url":"https://api.github.com/users/soumith/repos","events_url":"https://api.github.com/users/soumith/events{/privacy}","received_events_url":"https://api.github.com/users/soumith/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T05:09:50Z","updated_at":"2015-09-14T05:09:50Z","body":"it's an interesting proposition, and i've definitely had to remove local when copy-pasting code in the interpreter. if facilitated via a separate flag, seems like a useful addition."}}