{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/10087","repository_url":"https://api.github.com/repos/spyder-ide/spyder","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/10087/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/10087/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/10087/events","html_url":"https://github.com/spyder-ide/spyder/pull/10087","id":485340346,"node_id":"MDExOlB1bGxSZXF1ZXN0MzExMDAxNDIy","number":10087,"title":"PR: Separate pdb input from regular input","user":{"login":"impact27","id":6740194,"node_id":"MDQ6VXNlcjY3NDAxOTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6740194?v=4","gravatar_id":"","url":"https://api.github.com/users/impact27","html_url":"https://github.com/impact27","followers_url":"https://api.github.com/users/impact27/followers","following_url":"https://api.github.com/users/impact27/following{/other_user}","gists_url":"https://api.github.com/users/impact27/gists{/gist_id}","starred_url":"https://api.github.com/users/impact27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/impact27/subscriptions","organizations_url":"https://api.github.com/users/impact27/orgs","repos_url":"https://api.github.com/users/impact27/repos","events_url":"https://api.github.com/users/impact27/events{/privacy}","received_events_url":"https://api.github.com/users/impact27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/spyder-ide/spyder/milestones/68","html_url":"https://github.com/spyder-ide/spyder/milestone/68","labels_url":"https://api.github.com/repos/spyder-ide/spyder/milestones/68/labels","id":4478339,"node_id":"MDk6TWlsZXN0b25lNDQ3ODMzOQ==","number":68,"title":"v4.0beta5","description":"","creator":{"login":"ccordoba12","id":365293,"node_id":"MDQ6VXNlcjM2NTI5Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/365293?v=4","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":45,"closed_issues":61,"state":"open","created_at":"2019-07-09T18:05:02Z","updated_at":"2019-08-28T02:28:26Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2019-08-26T17:07:32Z","updated_at":"2019-08-28T16:44:15Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/spyder-ide/spyder/pulls/10087","html_url":"https://github.com/spyder-ide/spyder/pull/10087","diff_url":"https://github.com/spyder-ide/spyder/pull/10087.diff","patch_url":"https://github.com/spyder-ide/spyder/pull/10087.patch"},"body":"<!--- Make sure to read the Contributing Guidelines:                   --->\r\n<!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md --->\r\n<!--- and follow PEP 8, PEP 257 and Spyder's code style:               --->\r\n<!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style      --->\r\n\r\n## Description of Changes\r\nA few part of the code now use the pdb command line to send messages to pdb while debugging. (For example, to ask pdb to check for incoming comm messages.) These change allow the frontend to separate between `input` calls that are done during debugging, and that should not recieve these messages, and pdb input. The detection is done by comparing the prompt to 'ipdb> '. \r\n\r\nAll the direct calls to `input` or `write_to_stdin` are replaced by a new function `pdb_execute`, as this is what these calls are used for.\r\n\r\n* [x] Wrote at least one-line docstrings (for any new functions)\r\n* [x] Added unit test(s) covering the changes (if testable)\r\n<!--- Remember that an image/animation is worth a thousand words! --->\r\n* [ ] Included a screenshot or animation (if affecting the UI, see [Licecap](https://www.cockos.com/licecap/))\r\n\r\n\r\n<!--- Explain what you've done and why --->\r\n\r\n\r\n\r\n\r\n### Issue(s) Resolved\r\n\r\n<!--- List the issue(s) below, in the form \"Fixes #1234\"; one per line --->\r\n\r\nFixes #\r\n\r\n\r\n### Affirmation\r\n\r\nBy submitting this Pull Request or typing my (user)name below,\r\nI affirm the [Developer Certificate of Origin](https://developercertificate.org)\r\nwith respect to all commits and content included in this PR,\r\nand understand I am releasing the same under Spyder's MIT (Expat) license.\r\n\r\n<!--- TYPE YOUR USER/NAME AFTER THE FOLLOWING: --->\r\nI certify the above statement is true and correct:\r\n\r\n<!--- Thanks for your help making Spyder better for everyone! --->\r\n"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/525827296","html_url":"https://github.com/spyder-ide/spyder/pull/10087#issuecomment-525827296","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/10087","id":525827296,"node_id":"MDEyOklzc3VlQ29tbWVudDUyNTgyNzI5Ng==","user":{"login":"impact27","id":6740194,"node_id":"MDQ6VXNlcjY3NDAxOTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6740194?v=4","gravatar_id":"","url":"https://api.github.com/users/impact27","html_url":"https://github.com/impact27","followers_url":"https://api.github.com/users/impact27/followers","following_url":"https://api.github.com/users/impact27/following{/other_user}","gists_url":"https://api.github.com/users/impact27/gists{/gist_id}","starred_url":"https://api.github.com/users/impact27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/impact27/subscriptions","organizations_url":"https://api.github.com/users/impact27/orgs","repos_url":"https://api.github.com/users/impact27/repos","events_url":"https://api.github.com/users/impact27/events{/privacy}","received_events_url":"https://api.github.com/users/impact27/received_events","type":"User","site_admin":false},"created_at":"2019-08-28T16:44:15Z","updated_at":"2019-08-28T16:44:15Z","author_association":"CONTRIBUTOR","body":"This will pass the tests when https://github.com/jupyter/qtconsole/pull/371 is merged."}}
{"actor":{"display_login":"impact27"}}