{"action":"created","issue":{"url":"https://api.github.com/repos/cython/cython/issues/2701","repository_url":"https://api.github.com/repos/cython/cython","labels_url":"https://api.github.com/repos/cython/cython/issues/2701/labels{/name}","comments_url":"https://api.github.com/repos/cython/cython/issues/2701/comments","events_url":"https://api.github.com/repos/cython/cython/issues/2701/events","html_url":"https://github.com/cython/cython/pull/2701","id":377646913,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4NTQxMzQ2","number":2701,"title":"ENH: add no-capture option to runtests to allow debugging srctree tests","user":{"login":"mattip","id":823911,"node_id":"MDQ6VXNlcjgyMzkxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/823911?v=4","gravatar_id":"","url":"https://api.github.com/users/mattip","html_url":"https://github.com/mattip","followers_url":"https://api.github.com/users/mattip/followers","following_url":"https://api.github.com/users/mattip/following{/other_user}","gists_url":"https://api.github.com/users/mattip/gists{/gist_id}","starred_url":"https://api.github.com/users/mattip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattip/subscriptions","organizations_url":"https://api.github.com/users/mattip/orgs","repos_url":"https://api.github.com/users/mattip/repos","events_url":"https://api.github.com/users/mattip/events{/privacy}","received_events_url":"https://api.github.com/users/mattip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-06T00:50:14Z","updated_at":"2018-11-06T18:41:00Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/cython/cython/pulls/2701","html_url":"https://github.com/cython/cython/pull/2701","diff_url":"https://github.com/cython/cython/pull/2701.diff","patch_url":"https://github.com/cython/cython/pull/2701.patch"},"body":"When running srctree tests, they run under a separate process. It is sometimes convenient to add a `import pdb;pdb.set_trace()` breakpoint inside one of these tests to debug what is going on, but the test runner captures stdout and stderr so the interactive prompt is swallowed. Add a `no-capture` option to `runtests` to allow the subtree tests to run without capturing stdout, stderr.\r\n\r\nIf capturing is off, also increase the `time_stamper_thread` interval to prevent printing logging messages while debugging."},"comment":{"url":"https://api.github.com/repos/cython/cython/issues/comments/436362017","html_url":"https://github.com/cython/cython/pull/2701#issuecomment-436362017","issue_url":"https://api.github.com/repos/cython/cython/issues/2701","id":436362017,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjM2MjAxNw==","user":{"login":"mattip","id":823911,"node_id":"MDQ6VXNlcjgyMzkxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/823911?v=4","gravatar_id":"","url":"https://api.github.com/users/mattip","html_url":"https://github.com/mattip","followers_url":"https://api.github.com/users/mattip/followers","following_url":"https://api.github.com/users/mattip/following{/other_user}","gists_url":"https://api.github.com/users/mattip/gists{/gist_id}","starred_url":"https://api.github.com/users/mattip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattip/subscriptions","organizations_url":"https://api.github.com/users/mattip/orgs","repos_url":"https://api.github.com/users/mattip/repos","events_url":"https://api.github.com/users/mattip/events{/privacy}","received_events_url":"https://api.github.com/users/mattip/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T18:41:00Z","updated_at":"2018-11-06T18:41:00Z","author_association":"CONTRIBUTOR","body":"also added to `CHANGES.rst`"}}
{"actor":{"display_login":"mattip"}}