{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/9887","repository_url":"https://api.github.com/repos/ipython/ipython","labels_url":"https://api.github.com/repos/ipython/ipython/issues/9887/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/9887/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/9887/events","html_url":"https://github.com/ipython/ipython/issues/9887","id":172109178,"number":9887,"title":"Can't change variable values in debug mode (%debug magic)","user":{"login":"vladiibine","id":6544669,"avatar_url":"https://avatars.githubusercontent.com/u/6544669?v=3","gravatar_id":"","url":"https://api.github.com/users/vladiibine","html_url":"https://github.com/vladiibine","followers_url":"https://api.github.com/users/vladiibine/followers","following_url":"https://api.github.com/users/vladiibine/following{/other_user}","gists_url":"https://api.github.com/users/vladiibine/gists{/gist_id}","starred_url":"https://api.github.com/users/vladiibine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladiibine/subscriptions","organizations_url":"https://api.github.com/users/vladiibine/orgs","repos_url":"https://api.github.com/users/vladiibine/repos","events_url":"https://api.github.com/users/vladiibine/events{/privacy}","received_events_url":"https://api.github.com/users/vladiibine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-19T11:15:14Z","updated_at":"2016-08-20T06:38:00Z","closed_at":null,"body":"IPYthon 5.1.0\r\n\r\nTested it multiple ways - can't change the variables.\r\n\r\nHere's a log\r\n\r\n```\r\nIn [1]: def asdf(aa, bb):\r\n   ...:     if aa == bb:\r\n   ...:         pass\r\n   ...:     return aa, bb\r\n   ...: \r\n\r\nIn [2]: %%debug\r\n   ...: myval = asdf(2,3)\r\n   ...: \r\nNOTE: Enter 'c' at the ipdb>  prompt to continue execution.\r\n*** IndexError: list index out of range\r\n> <string>(2)<module>()\r\n\r\nipdb> s\r\n--Call--\r\n> <ipython-input-1-744c31b385bc>(1)asdf()\r\n----> 1 def asdf(aa, bb):\r\n      2     if aa == bb:\r\n      3         pass\r\n      4     return aa, bb\r\n\r\nipdb> s\r\n> <ipython-input-1-744c31b385bc>(2)asdf()\r\n      1 def asdf(aa, bb):\r\n----> 2     if aa == bb:\r\n      3         pass\r\n      4     return aa, bb\r\n\r\nipdb> a\r\naa = 2\r\nbb = 3\r\nipdb> aa = 5555\r\nipdb> aa\r\n2\r\nipdb> c\r\n\r\nIn [3]: myval\r\nOut[3]: (2, 3)\r\n```"},"comment":{"url":"https://api.github.com/repos/ipython/ipython/issues/comments/241183142","html_url":"https://github.com/ipython/ipython/issues/9887#issuecomment-241183142","issue_url":"https://api.github.com/repos/ipython/ipython/issues/9887","id":241183142,"user":{"login":"vladiibine","id":6544669,"avatar_url":"https://avatars.githubusercontent.com/u/6544669?v=3","gravatar_id":"","url":"https://api.github.com/users/vladiibine","html_url":"https://github.com/vladiibine","followers_url":"https://api.github.com/users/vladiibine/followers","following_url":"https://api.github.com/users/vladiibine/following{/other_user}","gists_url":"https://api.github.com/users/vladiibine/gists{/gist_id}","starred_url":"https://api.github.com/users/vladiibine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladiibine/subscriptions","organizations_url":"https://api.github.com/users/vladiibine/orgs","repos_url":"https://api.github.com/users/vladiibine/repos","events_url":"https://api.github.com/users/vladiibine/events{/privacy}","received_events_url":"https://api.github.com/users/vladiibine/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T06:38:00Z","updated_at":"2016-08-20T06:38:00Z","body":"More context: Python 2.7.6\r\n\r\nI however could reproduce this behavior in Python 3.4"}}
{"actor":{"display_login":"vladiibine"}}