[issue25514] Improve IDLE's "subprocess didn't make connection" message

2018-09-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Module shadowing can affect either the gui process or the run process. #34584 was the latter: debug_obj imports rpc imports socket imports selectors imports math, which was shadowed. Pyshell starts run. If run starts OK but cannot connect to pyshell, it

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 22d909f8c24bd7768df1a5bf0e52c597ea947cfb by terryjreedy in branch '3.6': [3.6]bpo-25514: Improve IDLE's connection refused message (#2177) (#2178) https://github.com/python/cpython/commit/22d909f8c24bd7768df1a5bf0e52c597ea947cfb --

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2231 ___ Python tracker ___ ___

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 188aedf8bb623d41302e10503268b0852ea91134 by terryjreedy in branch 'master': bpo-25514: Improve IDLE's connection refused message (#2177) https://github.com/python/cpython/commit/188aedf8bb623d41302e10503268b0852ea91134 --

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I tested (and tweaked) the visible box with this: from idlelib.run import show_socket_error show_socket_error(OSError(61, 'connection refused'), ('port', )) URL was tested with cut-and-paste from run.py. This should be turned into an htest (human view

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2230 ___ Python tracker ___ ___

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file40915/dia2.py ___ Python tracker ___

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the reminder to get busy on this ;-). My short notes are insufficient for anyone else to write this. -- assignee: docs@python -> terry.reedy ___ Python tracker

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-13 Thread Carol Willing
Carol Willing added the comment: Based on Terry's latest message and recommendation, I've marked this as a Documentation issue and suitable for new contributors. -- assignee: -> docs@python components: +Documentation keywords: +easy nosy: +docs@python, willingc

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2017-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: #26413 is about fixing shadowing problem. Current thought for this issue: add a section to IDLE doc listing known possible causes (message above). Reference section in message, giving web link. -- ___ Python

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2016-01-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have seen another report that is likely due to masking. I don't know why this has suddenly become seemingly much more common, but I have made fixing the problem a priority. See new issue #26143. I would like to narrow this issue to the user process, and