{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/3279","repository_url":"https://api.github.com/repos/spyder-ide/spyder","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/3279/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/3279/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/3279/events","html_url":"https://github.com/spyder-ide/spyder/issues/3279","id":163898268,"number":3279,"title":"Support IPython.embed in IPython console","user":{"login":"nevion","id":2229688,"avatar_url":"https://avatars.githubusercontent.com/u/2229688?v=3","gravatar_id":"","url":"https://api.github.com/users/nevion","html_url":"https://github.com/nevion","followers_url":"https://api.github.com/users/nevion/followers","following_url":"https://api.github.com/users/nevion/following{/other_user}","gists_url":"https://api.github.com/users/nevion/gists{/gist_id}","starred_url":"https://api.github.com/users/nevion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nevion/subscriptions","organizations_url":"https://api.github.com/users/nevion/orgs","repos_url":"https://api.github.com/users/nevion/repos","events_url":"https://api.github.com/users/nevion/events{/privacy}","received_events_url":"https://api.github.com/users/nevion/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Comp-Console-IPython","name":"Comp-Console-IPython","color":"d4c5f9"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Type-Enhancement","name":"Type-Enhancement","color":"e99695"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/spyder-ide/spyder/milestones/24","html_url":"https://github.com/spyder-ide/spyder/milestones/wishlist","labels_url":"https://api.github.com/repos/spyder-ide/spyder/milestones/24/labels","id":1206424,"number":24,"title":"wishlist","description":"Used to tag enhancement requests without a specific milestone in mind. This will prevent moving issues among milestones, but tagging them anyway.","creator":{"login":"ccordoba12","id":365293,"avatar_url":"https://avatars.githubusercontent.com/u/365293?v=3","gravatar_id":"","url":"https://api.github.com/users/ccordoba12","html_url":"https://github.com/ccordoba12","followers_url":"https://api.github.com/users/ccordoba12/followers","following_url":"https://api.github.com/users/ccordoba12/following{/other_user}","gists_url":"https://api.github.com/users/ccordoba12/gists{/gist_id}","starred_url":"https://api.github.com/users/ccordoba12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccordoba12/subscriptions","organizations_url":"https://api.github.com/users/ccordoba12/orgs","repos_url":"https://api.github.com/users/ccordoba12/repos","events_url":"https://api.github.com/users/ccordoba12/events{/privacy}","received_events_url":"https://api.github.com/users/ccordoba12/received_events","type":"User","site_admin":false},"open_issues":89,"closed_issues":0,"state":"open","created_at":"2015-07-14T06:21:08Z","updated_at":"2016-07-05T21:40:04Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-07-05T16:59:13Z","updated_at":"2016-07-05T22:46:15Z","closed_at":null,"body":"## Description of your problem\r\n\r\n**What steps will reproduce the problem?**\r\n\r\n1. Put \"from IPython import embed; embed()\"\r\n2. observe through interactive command line usage, the shell is half-broken: history, pretty printing of last results, tab completion and more are not working.\r\n3. \r\n\r\n**What is the expected output? What do you see instead?**\r\nA shell configuration (tab-completion, history, pretty printing of last result) comparable to starting IPython in the command line, running the same script, where configuration is applied correctly.\r\n\r\n**Please provide any additional information below**\r\n\r\n\r\n## Versions and main components\r\n\r\n* Spyder Version:3\r\n* Python Version: 3.5.1\r\n* Operating system: windows/linux\r\n\r\n\r\n## Dependencies\r\nIPython\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/230624828","html_url":"https://github.com/spyder-ide/spyder/issues/3279#issuecomment-230624828","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/3279","id":230624828,"user":{"login":"nevion","id":2229688,"avatar_url":"https://avatars.githubusercontent.com/u/2229688?v=3","gravatar_id":"","url":"https://api.github.com/users/nevion","html_url":"https://github.com/nevion","followers_url":"https://api.github.com/users/nevion/followers","following_url":"https://api.github.com/users/nevion/following{/other_user}","gists_url":"https://api.github.com/users/nevion/gists{/gist_id}","starred_url":"https://api.github.com/users/nevion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nevion/subscriptions","organizations_url":"https://api.github.com/users/nevion/orgs","repos_url":"https://api.github.com/users/nevion/repos","events_url":"https://api.github.com/users/nevion/events{/privacy}","received_events_url":"https://api.github.com/users/nevion/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T22:46:15Z","updated_at":"2016-07-05T22:46:15Z","body":"I disagree Pdb is the right solution - it doesn't have the power of analysis of environment that IPython does.  The embed call works anywhere and setting up persistent conditional breakpoints is very easy - which always helps me diagnose troublesome code faster/better.  Believe me, I've had years to think and practice this through and IPython is superior as a debugging shell to all the others (esp the ones who didn't work at all for me) .  I really don't see why it shouldn't be, despite it not being the focus of the shell.  It's just so good/complete, it passed up the special purpose debuggers, too.\r\n\r\nRegarding your point 2 above, yes that happened/started working as a side effect of my fixes.  I'll have to sit down and see if anything stands out.\r\n\r\nCan you list the paths to files of interest, maybe some line ranges too?"}}
{"actor":{"display_login":"nevion"}}