[issue18604] Consolidate gui available checks in test.support

2014-11-01 Thread Zachary Ware
Zachary Ware added the comment: Thanks for tracking it down, Ned! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue18604] Consolidate gui available checks in test.support

2014-11-01 Thread Ned Deily
Ned Deily added the comment: The previous segfaults on OS X have been isolated to a problem in Cocoa Tk and an issue has been opened about it on the Tk issue tracker. See Issue22770 for details. Changesets applied to _is_gui_available() in that issue should prevent the segfaults by ensuring

[issue18604] Consolidate gui available checks in test.support

2014-07-01 Thread Zachary Ware
Changes by Zachary Ware : -- assignee: zach.ware -> ned.deily resolution: fixed -> ___ Python tracker ___ ___ Python-bugs-list mailin

[issue18604] Consolidate gui available checks in test.support

2014-05-23 Thread Ned Deily
Ned Deily added the comment: Earlier I noted: "Somewhat surprisingly, the segfault doesn't seem to happen under the same conditions with 2.7". I'm not sure now how I came to that conclusion then but it is incorrect: the segfault definitely also occurs under the same conditions with 2.7, at le

[issue18604] Consolidate gui available checks in test.support

2014-05-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset fef11a65a5e5 by Ned Deily in branch '2.7': Issue #18604: Skip the Tk instantiation test on OS X because it can http://hg.python.org/cpython/rev/fef11a65a5e5 -- ___ Python tracker

[issue18604] Consolidate gui available checks in test.support

2014-05-05 Thread Zachary Ware
Zachary Ware added the comment: Thanks Ned. Unfortunately, I don't have a Mac to test on, so I can't help much with figuring out what's going on. -- ___ Python tracker ___

[issue18604] Consolidate gui available checks in test.support

2014-05-03 Thread Ned Deily
Ned Deily added the comment: For some reason, the newly-added Tk instantiation check causes the OS X Cocoa Tk to segfault when tests are run under regrtest -jn option, which causes each test to be run under a separate subprocess called from a separate thread. Somewhat surprisingly, the segfau

[issue18604] Consolidate gui available checks in test.support

2014-05-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7ecb6e4b1077 by Ned Deily in branch '3.4': Issue #18604: Skip the Tk instantiation test on OS X because it can http://hg.python.org/cpython/rev/7ecb6e4b1077 New changeset 7f6d9990a9b1 by Ned Deily in branch 'default': Issue #18604: merge from 3.4 ht

[issue18604] Consolidate gui available checks in test.support

2014-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Zach. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue18604] Consolidate gui available checks in test.support

2014-05-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5f75eadecff1 by Zachary Ware in branch '2.7': Issue #18604: Consolidated checks for GUI availability. http://hg.python.org/cpython/rev/5f75eadecff1 New changeset eb361f69ddd1 by Zachary Ware in branch '3.4': Issue #18604: Consolidated checks for GUI

[issue18604] Consolidate gui available checks in test.support

2014-04-30 Thread Zachary Ware
Zachary Ware added the comment: If there are no objections forthcoming, I'll try to get this applied to 3.4/3.5 later this week, then look into backporting to 2.7. -- assignee: -> zach.ware components: +Tests, Tkinter versions: +Python 3.5 Added file: http://bugs.python.org/file35121/i

[issue18604] Consolidate gui available checks in test.support

2014-01-02 Thread Zachary Ware
Changes by Zachary Ware : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18604] Consolidate gui available checks in test.support

2013-12-30 Thread Zachary Ware
Zachary Ware added the comment: Here's a patch for 3.4, and some sample verbose output[1] from the AMD64 Win7 buildbot (which runs buildbot as a service, and thus has no gui available). [1] http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%20custom/builds/40/steps/test/logs/stdio

[issue18604] Consolidate gui available checks in test.support

2013-08-08 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18604] Consolidate gui available checks in test.support

2013-07-31 Thread R. David Murray
R. David Murray added the comment: I think it is fine to backport this, since it only affects tests, and allows the backported idle tests to be consistent. For 3/4, I agree that requires should skip always if the GUI infrastructure is not available. The "don't skip if main" logic is appropria

[issue18604] Consolidate gui available checks in test.support

2013-07-30 Thread Terry J. Reedy
New submission from Terry J. Reedy: Current situation: test.support.requires starts with if resource == 'gui' and not _is_gui_available(): On windows, _is_gui_available() uses ctypes to determine that there really is a graphics screen. On other systems, it just returns True, even when it