[issue25514] Improve IDLE's "subprocess didn't make connection" message
Terry J. Reedy
report at bugs.python.org
Tue Jun 13 20:37:56 EDT 2017
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', 8888))
URL was tested with cut-and-paste from run.py.
This should be turned into an htest (human view test). I did not do so now because I wanted get this into 3.6.2, and there is no indication of when the grace-period delay will end.
Message boxes do not allow copy to clipboard. A nice refinement would be a [View URL] button. I believe the code to do so is somewhere in IDLE. Or the F1 Python Docs code, which opens the Windows help version, should be adjustable to open to a specific topic.
----------
versions: +Python 3.7 -Python 2.7, Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25514>
_______________________________________
More information about the Python-bugs-list
mailing list