Glyph Lefkowitz added the comment: > Wouldn't it be better to check for the actual problem, that is use subprocess > to start a small Tcl script that creates a window and check if that crashes?
Yes, this sounds great. Doing it with Tcl means that we're not invoking any of the problematic code in question. It sounds like this check could be done on other platforms as well, in lieu of looking for e.g. $DISPLAY. If a tcl script can make tk windows, so should a Python script be able to. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17496> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com